diff options
Diffstat (limited to 'drivers/net/bmac.c')
-rw-r--r-- | drivers/net/bmac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bmac.c b/drivers/net/bmac.c index 406f06424251..9b587c344194 100644 --- a/drivers/net/bmac.c +++ b/drivers/net/bmac.c | |||
@@ -438,8 +438,8 @@ bmac_init_phy(struct net_device *dev) | |||
438 | 438 | ||
439 | ctrl = bmac_mif_read(dev, 0); | 439 | ctrl = bmac_mif_read(dev, 0); |
440 | capable = ((bmac_mif_read(dev, 1) & 0xf800) >> 6) | 1; | 440 | capable = ((bmac_mif_read(dev, 1) & 0xf800) >> 6) | 1; |
441 | if (bmac_mif_read(dev, 4) != capable | 441 | if (bmac_mif_read(dev, 4) != capable || |
442 | || (ctrl & 0x1000) == 0) { | 442 | (ctrl & 0x1000) == 0) { |
443 | bmac_mif_write(dev, 4, capable); | 443 | bmac_mif_write(dev, 4, capable); |
444 | bmac_mif_write(dev, 0, 0x1200); | 444 | bmac_mif_write(dev, 0, 0x1200); |
445 | } else | 445 | } else |