X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fnet.h;h=d17173d818a4fb9160aa8fed65a6f56ab263c457;hb=dc9cdf859e11de775e75cc233b09d6b6d257a818;hp=4a63b328391f66f1ae69365df2fe486f4f09ff76;hpb=717234e00249960df3a252c9188fc0abe9d8f4e3;p=u-boot diff --git a/include/net.h b/include/net.h index 4a63b32839..d17173d818 100644 --- a/include/net.h +++ b/include/net.h @@ -85,10 +85,12 @@ enum eth_state_t { * * @iobase: The base address of the hardware registers * @enetaddr: The Ethernet MAC address that is loaded from EEPROM or env + * @phy_interface: PHY interface to use - see PHY_INTERFACE_MODE_... */ struct eth_pdata { phys_addr_t iobase; unsigned char enetaddr[6]; + int phy_interface; }; /**