diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-02-15 06:47:12 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-02-15 06:47:12 +0000 |
commit | d214321c8c7b01a9a5b58eaa1e75e06004dbf364 (patch) | |
tree | e81cc6ac42f1aec2110d84be29eceb31354f6235 /target/linux/ramips/files/arch | |
parent | f1662581234a4d890c56210d3415e28492aa0f63 (diff) |
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')
-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 25e91fec6..57c0556b9 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 */ |