diff options
author | Faiz Abbas <faiz_abbas@ti.com> | 2019-03-18 13:54:31 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-04-12 08:05:52 -0400 |
commit | 3c6add986f1cfca8651e5bfd5a8dbefa6d89ecc9 (patch) | |
tree | bfea17adfab269f283c00689384e99af7876fc7f /include | |
parent | 3e9b9c1ccd11ec899709baf99e308e51b93d976c (diff) |
net: Add priv_pdata to eth_pdata
Add a priv member for eth_pdata for platform specific platform data.
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/net.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net.h b/include/net.h index dd52ed3f47..44b32385c4 100644 --- a/include/net.h +++ b/include/net.h @@ -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 { |