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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user