ar71xx: rename QCA9558 ETH_CFG bit defines
authorGabor Juhos <juhosg@openwrt.org>
Sat, 22 Dec 2012 12:12:46 +0000 (12:12 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 22 Dec 2012 12:12:46 +0000 (12:12 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34852

target/linux/ar71xx/patches-3.6/601-MIPS-ath79-add-more-register-defines.patch
target/linux/ar71xx/patches-3.6/609-MIPS-ath79-ap136-fixes.patch

index 006217f6f21c0c02bf82a4b391dbd015f152ef94..01852482ee64ae18df2d9eb5d713b8f9640eb93b 100644 (file)
 +
 +#define QCA955X_GMAC_REG_ETH_CFG      0x00
 +
-+#define QCA955X_ETH_CFG_RGMII_GMAC0   BIT(0)
-+#define QCA955X_ETH_CFG_SGMII_GMAC0   BIT(6)
++#define QCA955X_ETH_CFG_RGMII_EN      BIT(0)
++#define QCA955X_ETH_CFG_GE0_SGMII     BIT(6)
 +
  #endif /* __ASM_MACH_AR71XX_REGS_H */
index 33d807392107b321b370e8311269b343766bebdb..8325cdbb8f59d7785551269811ecfc7b460f204f 100644 (file)
 -             sizeof(ap136_ath9k_data.eeprom_data));
 +      t = __raw_readl(base + QCA955X_GMAC_REG_ETH_CFG);
 +
-+      t &= ~(QCA955X_ETH_CFG_RGMII_GMAC0 | QCA955X_ETH_CFG_SGMII_GMAC0);
-+      t |= QCA955X_ETH_CFG_RGMII_GMAC0;
++      t &= ~(QCA955X_ETH_CFG_RGMII_EN | QCA955X_ETH_CFG_GE0_SGMII);
++      t |= QCA955X_ETH_CFG_RGMII_EN;
  
 -      ath79_pci_set_plat_dev_init(ap136_pci_plat_dev_init);
 -      ath79_register_pci();