Cosmetic fix of BMAC boot messages
PATCH 1/1 Cosmetic fix of BMAC boot messages
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 =====
drivers/net/bmac.c +3 -3
@@ -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" );