ar71xx: fix a typo in the db120 mach file
authorGabor Juhos <juhosg@openwrt.org>
Sat, 5 May 2012 13:56:30 +0000 (13:56 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 5 May 2012 13:56:30 +0000 (13:56 +0000)
Reported-by: Sven Eckelmann <sven@narfation.org>
SVN-Revision: 31601

target/linux/ar71xx/patches-3.3/605-MIPS-ath79-db120-fixes.patch

index a7f1afc63aafae52a7600125bafd4e8071f97f31..c0416ed6f0c10b761cfe1832dc135b0c2a37d88b 100644 (file)
 -             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);