ar71xx: fix a typo in the db120 mach file

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

SVN-Revision: 31601
master
Gabor Juhos 13 years ago
parent 7591ffded8
commit 8fffc6d6df
  1. 2
      target/linux/ar71xx/patches-3.3/605-MIPS-ath79-db120-fixes.patch

@ -130,7 +130,7 @@
- sizeof(db120_ath9k_data.eeprom_data));
+ t = __raw_readl(base + AR934X_GMAC_REG_ETH_CFG);
+ 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;
+
+ __raw_writel(t, base + AR934X_GMAC_REG_ETH_CFG);

Loading…
Cancel
Save