提交 3c6add98 编写于 作者: F Faiz Abbas 提交者: Tom Rini

net: Add priv_pdata to eth_pdata

Add a priv member for eth_pdata for platform specific platform data.
Signed-off-by: NFaiz Abbas <faiz_abbas@ti.com>
上级 3e9b9c1c
......@@ -92,12 +92,14 @@ enum eth_state_t {
* @enetaddr: The Ethernet MAC address that is loaded from EEPROM or env
* @phy_interface: PHY interface to use - see PHY_INTERFACE_MODE_...
* @max_speed: Maximum speed of Ethernet connection supported by MAC
* @priv_pdata: device specific platdata
*/
struct eth_pdata {
phys_addr_t iobase;
unsigned char enetaddr[ARP_HLEN];
int phy_interface;
int max_speed;
void *priv_pdata;
};
enum eth_recv_flags {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册