1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

ramips: raeth: add PHYLIB support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30547 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2012-02-15 06:47:12 +00:00
parent f166258123
commit d214321c8c
5 changed files with 229 additions and 10 deletions

View File

@@ -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 */