]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ssb: log the id, rev and pkg of the chip found
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 31 Jan 2012 23:13:55 +0000 (00:13 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Feb 2012 19:53:11 +0000 (14:53 -0500)
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>
drivers/ssb/scan.c

index 3e844874631f84badb6faead992d6391253d9348..266c7c5c86dcba7dcb6c70965534bea331f1b153 100644 (file)
@@ -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)) {