|
@@ -909,7 +909,7 @@ static void check_duplex(struct net_device *dev)
|
|
|
printk(KERN_INFO "%s: Setting %s-duplex based on MII #%d "
|
|
|
"negotiated capability %4.4x.\n", dev->name,
|
|
|
duplex ? "full" : "half", np->phys[0], negotiated);
|
|
|
- iowrite16(ioread16(ioaddr + MACCtrl0) | duplex ? 0x20 : 0, ioaddr + MACCtrl0);
|
|
|
+ iowrite16(ioread16(ioaddr + MACCtrl0) | (duplex ? 0x20 : 0), ioaddr + MACCtrl0);
|
|
|
}
|
|
|
}
|
|
|
|