[kernel/2.6.32] MIPS: mark unused variables
[openwrt.git] / target / linux / brcm47xx / patches-3.2 / 0048-ssb-log-the-id-rev-and-pkg-of-the-chip-found.patch
1 From 7ddcc963030bbc82add2efbd49e696ae8aff3ae6 Mon Sep 17 00:00:00 2001
2 From: Hauke Mehrtens <hauke@hauke-m.de>
3 Date: Tue, 31 Jan 2012 23:38:36 +0100
4 Subject: [PATCH 3/4] ssb: log the id, rev and pkg of the chip found
5
6 This makes us see what type of hardware someone uses by the dmesg
7 output.
8
9 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
10 ---
11 drivers/ssb/scan.c | 3 +++
12 1 files changed, 3 insertions(+), 0 deletions(-)
13
14 --- a/drivers/ssb/scan.c
15 +++ b/drivers/ssb/scan.c
16 @@ -318,6 +318,9 @@ int ssb_bus_scan(struct ssb_bus *bus,
17 bus->chip_package = 0;
18 }
19 }
20 + ssb_printk(KERN_INFO PFX "Found chip with id 0x%04X, rev 0x%02X and "
21 + "package 0x%02X\n", bus->chip_id, bus->chip_rev,
22 + bus->chip_package);
23 if (!bus->nr_devices)
24 bus->nr_devices = chipid_to_nrcores(bus->chip_id);
25 if (bus->nr_devices > ARRAY_SIZE(bus->devices)) {
This page took 0.049611 seconds and 5 git commands to generate.