* [PATCH] Cosmetic fix of BMAC boot messages
@ 2004-03-24 0:30 Benjamin Herrenschmidt
0 siblings, 0 replies; only message in thread
From: Benjamin Herrenschmidt @ 2004-03-24 0:30 UTC (permalink / raw)
To: Andrew Morton; +Cc: Linus Torvalds, Linux Kernel list, Jeff Garzik
Hi !
This patch fixes display of the boot messages on the BMAC
driver (pmac only). It used to be messed up in 2.6
Please, apply,
===== drivers/net/bmac.c 1.31 vs edited =====
--- 1.31/drivers/net/bmac.c Tue Mar 23 12:47:11 2004
+++ edited/drivers/net/bmac.c Wed Mar 24 10:05:20 2004
@@ -1312,10 +1312,8 @@
bmwrite(dev, INTDISABLE, DisableAll);
rev = addr[0] == 0 && addr[1] == 0xA0;
- for (j = 0; j < 6; ++j) {
+ for (j = 0; j < 6; ++j)
dev->dev_addr[j] = rev? bitrev(addr[j]): addr[j];
- printk("%c%.2x", (j? ':': ' '), dev->dev_addr[j]);
- }
/* Enable chip without interrupts for now */
bmac_enable_and_reset_chip(dev);
@@ -1380,6 +1378,8 @@
}
printk(KERN_INFO "%s: BMAC%s at", dev->name, (is_bmac_plus? "+": ""));
+ for (j = 0; j < 6; ++j)
+ printk("%c%.2x", (j? ':': ' '), dev->dev_addr[j]);
XXDEBUG((", base_addr=%#0lx", dev->base_addr));
printk("\n");
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-03-24 0:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-24 0:30 [PATCH] Cosmetic fix of BMAC boot messages Benjamin Herrenschmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®