Messages in this thread Patch in this message | | | Subject | [PATCH] Cosmetic fix of BMAC boot messages | From | Benjamin Herrenschmidt <> | Date | Wed, 24 Mar 2004 11:30:15 +1100 |
| |
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");
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |