Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Merge 'net' bug fixes into 'net-next' as we have patches that will build on top of them. This merge commit includes a change from Emil Goode (emilgoode@gmail.com) that fixes a warning that would have been introduced by this merge. Specifically it fixes the pingv6_ops method ipv6_chk_addr() to add a "const" to the "struct net_device *dev" argument and likewise update the dummy_ipv6_chk_addr() declaration. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -963,7 +963,8 @@ static int xemaclite_open(struct net_device *dev)
|
||||
phy_write(lp->phy_dev, MII_CTRL1000, 0);
|
||||
|
||||
/* Advertise only 10 and 100mbps full/half duplex speeds */
|
||||
phy_write(lp->phy_dev, MII_ADVERTISE, ADVERTISE_ALL);
|
||||
phy_write(lp->phy_dev, MII_ADVERTISE, ADVERTISE_ALL |
|
||||
ADVERTISE_CSMA);
|
||||
|
||||
/* Restart auto negotiation */
|
||||
bmcr = phy_read(lp->phy_dev, MII_BMCR);
|
||||
|
Reference in New Issue
Block a user