mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:16:16 +02:00
ar71xx: fix a typo in the db120 mach file
Reported-by: Sven Eckelmann <sven@narfation.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31601 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
5b987c43d3
commit
c39d550e2f
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user