diff options
author | Woojung.Huh@microchip.com | 2015-09-16 23:41:19 +0000 |
---|---|---|
committer | David S. Miller | 2015-09-17 22:15:37 -0700 |
commit | 9110fe4a17743e5f416f7fbe01a2a83cffd807d6 (patch) | |
tree | 6e3346dbf306d92d45f64b60606d3b474b91a338 /drivers/net/usb/lan78xx.c | |
parent | 758c5c1174343a134031ff817c19c732b3729747 (diff) |
lan78xx: Remove not defined MAC_CR_GMII_EN_ bit from MAC_CR.
Remove not defined MAC_CR_GMII_EN_ bit from MAC_CR.
Signed-off-by: Woojung Huh <woojung.huh@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/lan78xx.c')
-rw-r--r-- | drivers/net/usb/lan78xx.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c index dce55636bc9b..6a70a72b565d 100644 --- a/drivers/net/usb/lan78xx.c +++ b/drivers/net/usb/lan78xx.c @@ -1909,10 +1909,7 @@ static int lan78xx_reset(struct lan78xx_net *dev) } while ((buf & PMT_CTL_PHY_RST_) || !(buf & PMT_CTL_READY_)); ret = lan78xx_read_reg(dev, MAC_CR, &buf); - - buf |= MAC_CR_GMII_EN_; buf |= MAC_CR_AUTO_DUPLEX_ | MAC_CR_AUTO_SPEED_; - ret = lan78xx_write_reg(dev, MAC_CR, buf); /* enable PHY interrupts */ |