X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fnet%2Frtl8139.c;h=db8a727c89987c93376bc1f5526c956726d0c56a;hb=f81ecb5d3300bf92d17302d3712f30585c182da9;hp=097f6841aeeeaa6d018ed737f55a7f7d9283a5f8;hpb=2468592d79891fea4f39d0a414c7316f3af03f4c;p=u-boot diff --git a/drivers/net/rtl8139.c b/drivers/net/rtl8139.c index 097f6841ae..db8a727c89 100644 --- a/drivers/net/rtl8139.c +++ b/drivers/net/rtl8139.c @@ -74,12 +74,10 @@ #include #include #include +#include #include #include -#if defined(CONFIG_CMD_NET) && defined(CONFIG_NET_MULTI) && \ - defined(CONFIG_RTL8139) - #define RTL_TIMEOUT 100000 #define ETH_FRAME_LEN 1514 @@ -289,7 +287,7 @@ static int rtl8139_probe(struct eth_device *dev, bd_t *bis) /* Delay between EEPROM clock transitions. - No extra delay is needed with 33Mhz PCI, but 66Mhz may change this. + No extra delay is needed with 33MHz PCI, but 66MHz may change this. */ #define eeprom_delay() inl(ee_addr) @@ -545,4 +543,3 @@ static void rtl_disable(struct eth_device *dev) udelay (100); /* wait 100us */ } } -#endif