@@ -2452,7 +2452,6 @@ static int lan78xx_reset(struct lan78xx_net *dev)/* LAN7801 only has RGMII mode */if(dev->chipid==ID_REV_CHIP_ID_7801_)buf&=~MAC_CR_GMII_EN_;-buf|=MAC_CR_AUTO_DUPLEX_|MAC_CR_AUTO_SPEED_;ret=lan78xx_write_reg(dev,MAC_CR,buf);ret=lan78xx_read_reg(dev,MAC_TX,&buf);
On Thu, Sep 07, 2017 at 07:11:50AM +0000, Nisar.Sayed@microchip.com
wrote:
quoted
From: Nisar Sayed <redacted>
Use default value loaded from EEPROM/OTP when resetting
Hi Nisar
Subject: [PATCH 3/3]
Is this a fix for net, or further development for net-next?
Why do we want the default values?
Andrew
Thanks Andrew,
Yes it is for "net", sorry missed to include it, will update in next version of submit.
These bits are "reset protected" and should not be modified and must use the
Must be configured from EEPROM only. Will update the description.
- Nisar