diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-07-29 18:22:38 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-07-29 18:22:38 +0000 |
commit | 970f41ad18474ff7b4e84935356f3f546085dec7 (patch) | |
tree | 75fecd2b35e07b64897d1c0d0597cf4499db115a /target/linux/ar71xx/files/include | |
parent | a4dbc3ddb3d275aad5a71662e9be94c9b66e0c29 (diff) | |
download | mtk-20170518-970f41ad18474ff7b4e84935356f3f546085dec7.zip mtk-20170518-970f41ad18474ff7b4e84935356f3f546085dec7.tar.gz mtk-20170518-970f41ad18474ff7b4e84935356f3f546085dec7.tar.bz2 |
ethernet driver updates * new mii bus code, mac0 and mac1 can use the mac0's miii bus from now on * swap eth0 & eth1 on RB433/450
SVN-Revision: 11995
Diffstat (limited to 'target/linux/ar71xx/files/include')
-rw-r--r-- | target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h b/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h index f24ff80..820a1cb 100644 --- a/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h +++ b/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h @@ -26,6 +26,10 @@ struct ag71xx_platform_data { u8 mac_addr[ETH_ALEN]; }; +struct ag71xx_mdio_platform_data { + u32 phy_mask; +}; + struct ar71xx_spi_platform_data { unsigned bus_num; unsigned num_chipselect; @@ -43,4 +47,6 @@ extern void ar71xx_set_mac_base(char *mac_str) __init; extern void ar71xx_add_device_eth(unsigned int id, phy_interface_t phy_if_mode, u32 phy_mask) __init; +extern void ar71xx_add_device_mdio(u32 phy_mask) __init; + #endif /* __ASM_MACH_AR71XX_PLATFORM_H */ |