sundance: missing parentheses?
Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
9df8f4e3ee
commit
62660e2808
@@ -909,7 +909,7 @@ static void check_duplex(struct net_device *dev)
|
|||||||
printk(KERN_INFO "%s: Setting %s-duplex based on MII #%d "
|
printk(KERN_INFO "%s: Setting %s-duplex based on MII #%d "
|
||||||
"negotiated capability %4.4x.\n", dev->name,
|
"negotiated capability %4.4x.\n", dev->name,
|
||||||
duplex ? "full" : "half", np->phys[0], negotiated);
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user