summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2008-10-14 11:42:10 +0200
committerRalf Baechle <ralf@linux-mips.org>2008-10-15 13:46:50 +0200
commit91a385b8f2d0b4000fffb99b9411c1ffa926dc91 (patch)
tree75b2d870b3bf7aa3b506843d6bc6d6e2b2ce585e /arch/mips
parentMIPS: Align .data.cacheline_aligned based on CONFIG_MIPS_L1_CACHE_SHIFT (diff)
downloadlinux-91a385b8f2d0b4000fffb99b9411c1ffa926dc91.tar.xz
linux-91a385b8f2d0b4000fffb99b9411c1ffa926dc91.zip
MIPS: WGT634U: Add machine detection message
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>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/bcm47xx/wgt634u.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/bcm47xx/wgt634u.c b/arch/mips/bcm47xx/wgt634u.c
index d1d90c9ef2fa..f9e309a96576 100644
--- a/arch/mips/bcm47xx/wgt634u.c
+++ b/arch/mips/bcm47xx/wgt634u.c
@@ -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