Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91a385b8 authored by Aurelien Jarno's avatar Aurelien Jarno Committed by Ralf Baechle
Browse files

MIPS: WGT634U: Add machine detection message



This adds a printk message when a WGT634U machine is detected.

Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 2dbac102
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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