diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-02-15 06:47:12 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-02-15 06:47:12 +0000 |
commit | d50d8e09a47e419dc28531493a75d95630740a64 (patch) | |
tree | e81cc6ac42f1aec2110d84be29eceb31354f6235 /target/linux/ramips/files/arch/mips/include | |
parent | 711637949b4788a00a528504c7480cb0e29ad1c7 (diff) | |
download | master-187ad058-d50d8e09a47e419dc28531493a75d95630740a64.tar.gz master-187ad058-d50d8e09a47e419dc28531493a75d95630740a64.tar.bz2 master-187ad058-d50d8e09a47e419dc28531493a75d95630740a64.zip |
ramips: raeth: add PHYLIB support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30547 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips/include')
-rw-r--r-- | target/linux/ramips/files/arch/mips/include/asm/mach-ralink/ramips_eth_platform.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/ramips_eth_platform.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/ramips_eth_platform.h index 25e91fec6d..57c0556b93 100644 --- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/ramips_eth_platform.h +++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/ramips_eth_platform.h @@ -19,6 +19,8 @@ #ifndef _RAMIPS_ETH_PLATFORM_H #define _RAMIPS_ETH_PLATFORM_H +#include <linux/phy.h> + struct ramips_eth_platform_data { unsigned char mac[6]; @@ -30,6 +32,9 @@ struct ramips_eth_platform_data int duplex; int tx_fc; int rx_fc; + + u32 phy_mask; + phy_interface_t phy_if_mode; }; #endif /* _RAMIPS_ETH_PLATFORM_H */ |