]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/e1000.h
net: sh_eth: Pass sh_eth_dev around
[u-boot] / drivers / net / e1000.h
index e46edcd4e1d845e17a5e07739e7166eea2353a77..fcb7df0d83fc00d20731841c7035623aa8224aeb 100644 (file)
@@ -1084,7 +1084,11 @@ struct e1000_hw {
 #endif
        unsigned int cardnum;
 
+#ifdef CONFIG_DM_ETH
+       struct udevice *pdev;
+#else
        pci_dev_t pdev;
+#endif
        uint8_t *hw_addr;
        e1000_mac_type mac_type;
        e1000_phy_type phy_type;