MIPS: WGT634U: Add machine detection message
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 14 Oct 2008 09:42:10 +0000 (11:42 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 15 Oct 2008 11:46:50 +0000 (12:46 +0100)
This adds a printk message when a WGT634U machine is detected.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm47xx/wgt634u.c

index d1d90c9ef2fa7382fa6b65fe3e34778ad843e3c1..f9e309a965763d5027191dfbaff60880b8919a53 100644 (file)
@@ -112,6 +112,9 @@ static int __init wgt634u_init(void)
            ((et0mac[1] == 0x09 && et0mac[2] == 0x5b) ||
             (et0mac[1] == 0x0f && et0mac[2] == 0xb5))) {
                struct ssb_mipscore *mcore = &ssb_bcm47xx.mipscore;
+
+               printk(KERN_INFO "WGT634U machine detected.\n");
+
                wgt634u_flash_data.width = mcore->flash_buswidth;
                wgt634u_flash_resource.start = mcore->flash_window;
                wgt634u_flash_resource.end = mcore->flash_window