| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH 2/4] WGT634U: Add machine detection message |
| From: | Aurelien Jarno <aurelien@aurel32.net> |
| Date: | Mon, 21 Apr 2008 00:31:59 +0200 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <20080420223115.GA9783@hall2.aurel32.net> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20080420223028.GA9282@hall2.aurel32.net> <20080420223115.GA9783@hall2.aurel32.net> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.13 (2006-08-11) |
This adds a printk message when a WGT634U machine is detected.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
---
arch/mips/bcm47xx/wgt634u.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/mips/bcm47xx/wgt634u.c b/arch/mips/bcm47xx/wgt634u.c
index d1d90c9..f9e309a 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
--
1.5.5
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 1/4] Scan PCI busses when they are registered, Aurelien Jarno |
|---|---|
| Next by Date: | [PATCH 3/4] BCM47xx: Use the new SSB GPIO API, Aurelien Jarno |
| Previous by Thread: | [PATCH 1/4] Scan PCI busses when they are registered, Aurelien Jarno |
| Next by Thread: | [PATCH 3/4] BCM47xx: Use the new SSB GPIO API, Aurelien Jarno |
| Indexes: | [Date] [Thread] [Top] [All Lists] |