ar71xx: fix a typo in the db120 mach file

Reported-by: Sven Eckelmann <sven@narfation.org>

SVN-Revision: 31601
This commit is contained in:
Gabor Juhos 2012-05-05 13:56:30 +00:00
parent 7591ffded8
commit 8fffc6d6df

View file

@ -130,7 +130,7 @@
- sizeof(db120_ath9k_data.eeprom_data)); - sizeof(db120_ath9k_data.eeprom_data));
+ t = __raw_readl(base + AR934X_GMAC_REG_ETH_CFG); + t = __raw_readl(base + AR934X_GMAC_REG_ETH_CFG);
+ t &= ~(AR934X_ETH_CFG_RGMII_GMAC0 | AR934X_ETH_CFG_MII_GMAC0 | + t &= ~(AR934X_ETH_CFG_RGMII_GMAC0 | AR934X_ETH_CFG_MII_GMAC0 |
+ AR934X_ETH_CFG_MII_GMAC0 | AR934X_ETH_CFG_SW_ONLY_MODE); + AR934X_ETH_CFG_GMII_GMAC0 | AR934X_ETH_CFG_SW_ONLY_MODE);
+ t |= AR934X_ETH_CFG_RGMII_GMAC0 | AR934X_ETH_CFG_SW_ONLY_MODE; + t |= AR934X_ETH_CFG_RGMII_GMAC0 | AR934X_ETH_CFG_SW_ONLY_MODE;
+ +
+ __raw_writel(t, base + AR934X_GMAC_REG_ETH_CFG); + __raw_writel(t, base + AR934X_GMAC_REG_ETH_CFG);