Revert "ar71xx: Allow to set the RXDV, RXD, TXD, TXE delays for QCA955x"
[openwrt.git] / target / linux / ar71xx / files / arch / mips / ath79 / dev-eth.h
index d4f27d9..5a226e4 100644 (file)
@@ -17,7 +17,7 @@
 struct platform_device;
 
 extern unsigned char ath79_mac_base[] __initdata;
 struct platform_device;
 
 extern unsigned char ath79_mac_base[] __initdata;
-void ath79_parse_mac_addr(char *mac_str);
+void ath79_parse_ascii_mac(char *mac_str, u8 *mac);
 void ath79_init_mac(unsigned char *dst, const unsigned char *src,
                    int offset);
 void ath79_init_local_mac(unsigned char *dst, const unsigned char *src);
 void ath79_init_mac(unsigned char *dst, const unsigned char *src,
                    int offset);
 void ath79_init_local_mac(unsigned char *dst, const unsigned char *src);
@@ -39,10 +39,15 @@ void ath79_register_eth(unsigned int id);
 
 extern struct ag71xx_switch_platform_data ath79_switch_data;
 
 
 extern struct ag71xx_switch_platform_data ath79_switch_data;
 
+extern struct ag71xx_mdio_platform_data ath79_mdio0_data;
+extern struct ag71xx_mdio_platform_data ath79_mdio1_data;
 extern struct platform_device ath79_mdio0_device;
 extern struct platform_device ath79_mdio1_device;
 void ath79_register_mdio(unsigned int id, u32 phy_mask);
 
 void ath79_setup_ar933x_phy4_switch(bool mac, bool mdio);
 extern struct platform_device ath79_mdio0_device;
 extern struct platform_device ath79_mdio1_device;
 void ath79_register_mdio(unsigned int id, u32 phy_mask);
 
 void ath79_setup_ar933x_phy4_switch(bool mac, bool mdio);
+void ath79_setup_ar934x_eth_cfg(u32 mask);
+void ath79_setup_ar934x_eth_rx_delay(unsigned int rxd, unsigned int rxdv);
+void ath79_setup_qca955x_eth_cfg(u32 mask);
 
 #endif /* _ATH79_DEV_ETH_H */
 
 #endif /* _ATH79_DEV_ETH_H */