1 --- a/drivers/net/b44.c
2 +++ b/drivers/net/b44.c
3 @@ -339,7 +339,7 @@ static int b44_phy_reset(struct b44 *bp)
11 static void __b44_set_flow_ctrl(struct b44 *bp, u32 pause_flags)
12 @@ -384,7 +384,7 @@ static void b44_set_flow_ctrl(struct b44
13 __b44_set_flow_ctrl(bp, pause_enab);
16 -#ifdef SSB_DRIVER_MIPS
17 +#ifdef CONFIG_SSB_DRIVER_MIPS
18 extern char *nvram_get(char *name);
19 static void b44_wap54g10_workaround(struct b44 *bp)
21 @@ -2211,6 +2211,10 @@ static int __devinit b44_init_one(struct
23 b44_chip_reset(bp, B44_CHIP_RESET_FULL);
25 + /* do a phy reset to test if there is an active phy */
26 + if (b44_phy_reset(bp) < 0)
27 + bp->phy_addr = B44_PHY_ADDR_NO_PHY;
29 printk(KERN_INFO "%s: Broadcom 44xx/47xx 10/100BaseT Ethernet %s\n",
30 dev->name, print_mac(mac, dev->dev_addr));