diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-01-31 18:13:55 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-06 14:53:11 -0500 |
commit | bedb2a18af0a4e7565182c07fadd854e3ae8c9bc (patch) | |
tree | 5ca32095ca5b6c546488d6aeb5839e69fd5c29d0 /drivers/ssb/scan.c | |
parent | f0d4724b2a663089d21e19933ca591d842b63230 (diff) |
ssb: log the id, rev and pkg of the chip found
This makes us see what type of hardware someone uses by the dmesg
output.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/ssb/scan.c')
-rw-r--r-- | drivers/ssb/scan.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ssb/scan.c b/drivers/ssb/scan.c index 3e844874631f..266c7c5c86dc 100644 --- a/drivers/ssb/scan.c +++ b/drivers/ssb/scan.c | |||
@@ -318,6 +318,9 @@ int ssb_bus_scan(struct ssb_bus *bus, | |||
318 | bus->chip_package = 0; | 318 | bus->chip_package = 0; |
319 | } | 319 | } |
320 | } | 320 | } |
321 | ssb_printk(KERN_INFO PFX "Found chip with id 0x%04X, rev 0x%02X and " | ||
322 | "package 0x%02X\n", bus->chip_id, bus->chip_rev, | ||
323 | bus->chip_package); | ||
321 | if (!bus->nr_devices) | 324 | if (!bus->nr_devices) |
322 | bus->nr_devices = chipid_to_nrcores(bus->chip_id); | 325 | bus->nr_devices = chipid_to_nrcores(bus->chip_id); |
323 | if (bus->nr_devices > ARRAY_SIZE(bus->devices)) { | 326 | if (bus->nr_devices > ARRAY_SIZE(bus->devices)) { |