Skip to content

Commit

Permalink
MIPS: WGT634U: Add machine detection message
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Aurelien Jarno authored and Ralf Baechle committed Oct 15, 2008
1 parent 2dbac10 commit 91a385b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/mips/bcm47xx/wgt634u.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 91a385b

Please sign in to comment.