]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/designware.h
net: phy: Set ANRESTART in setup_forced
[u-boot] / drivers / net / designware.h
index 49d900cb3f98a684d794d98e45b86a4ed8b26874..ed6344cc28f3cfdde713d27476be8abf2f8fb30b 100644 (file)
@@ -223,13 +223,15 @@ struct dw_eth_dev {
        char rxbuffs[RX_TOTAL_BUFSIZE] __aligned(ARCH_DMA_MINALIGN);
 
        u32 interface;
+       u32 max_speed;
        u32 tx_currdescnum;
        u32 rx_currdescnum;
 
        struct eth_mac_regs *mac_regs_p;
        struct eth_dma_regs *dma_regs_p;
-
+#ifndef CONFIG_DM_ETH
        struct eth_device *dev;
+#endif
        struct phy_device *phydev;
        struct mii_dev *bus;
 };