From: Hauke Mehrtens Date: Tue, 31 Jan 2012 23:13:55 +0000 (+0100) Subject: ssb: log the id, rev and pkg of the chip found X-Git-Tag: v3.12-rc1~3664^2~112^2~326 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bedb2a18af0a4e7565182c07fadd854e3ae8c9bc;p=kernel%2Fkernel-generic.git 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 Signed-off-by: John W. Linville --- diff --git a/drivers/ssb/scan.c b/drivers/ssb/scan.c index 3e84487..266c7c5 100644 --- a/drivers/ssb/scan.c +++ b/drivers/ssb/scan.c @@ -318,6 +318,9 @@ int ssb_bus_scan(struct ssb_bus *bus, bus->chip_package = 0; } } + ssb_printk(KERN_INFO PFX "Found chip with id 0x%04X, rev 0x%02X and " + "package 0x%02X\n", bus->chip_id, bus->chip_rev, + bus->chip_package); if (!bus->nr_devices) bus->nr_devices = chipid_to_nrcores(bus->chip_id); if (bus->nr_devices > ARRAY_SIZE(bus->devices)) {