mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
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>
This commit is contained in:
parent
3e9b9c1ccd
commit
3c6add986f
1 changed files with 2 additions and 0 deletions
|
@ -92,12 +92,14 @@ enum eth_state_t {
|
||||||
* @enetaddr: The Ethernet MAC address that is loaded from EEPROM or env
|
* @enetaddr: The Ethernet MAC address that is loaded from EEPROM or env
|
||||||
* @phy_interface: PHY interface to use - see PHY_INTERFACE_MODE_...
|
* @phy_interface: PHY interface to use - see PHY_INTERFACE_MODE_...
|
||||||
* @max_speed: Maximum speed of Ethernet connection supported by MAC
|
* @max_speed: Maximum speed of Ethernet connection supported by MAC
|
||||||
|
* @priv_pdata: device specific platdata
|
||||||
*/
|
*/
|
||||||
struct eth_pdata {
|
struct eth_pdata {
|
||||||
phys_addr_t iobase;
|
phys_addr_t iobase;
|
||||||
unsigned char enetaddr[ARP_HLEN];
|
unsigned char enetaddr[ARP_HLEN];
|
||||||
int phy_interface;
|
int phy_interface;
|
||||||
int max_speed;
|
int max_speed;
|
||||||
|
void *priv_pdata;
|
||||||
};
|
};
|
||||||
|
|
||||||
enum eth_recv_flags {
|
enum eth_recv_flags {
|
||||||
|
|
Loading…
Reference in a new issue