aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-06-06 17:24:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-06-06 17:24:09 +0000
commit02b7e81b786f522adf2e0b46ce335ac4dc538636 (patch)
treef2926483abf6980fc919b6e600e4b2082a07a5cc /target/linux/ar71xx/files/arch/mips/ath79/dev-eth.h
parentc1a3f3f3dbc803564951a63df7872bcb6eb476da (diff)
downloadmaster-187ad058-02b7e81b786f522adf2e0b46ce335ac4dc538636.tar.gz
master-187ad058-02b7e81b786f522adf2e0b46ce335ac4dc538636.tar.bz2
master-187ad058-02b7e81b786f522adf2e0b46ce335ac4dc538636.zip
ar71xx: add a helper function for setting up PHY4 swapping on ar933x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32092 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/dev-eth.h')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/dev-eth.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.h b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.h
index 4c010ef74e..d4f27d9cf2 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.h
+++ b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.h
@@ -43,4 +43,6 @@ 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);
+
#endif /* _ATH79_DEV_ETH_H */