]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/ne2000_base.c
e1000: Rewrite EEPROM checksum error to give more information
[u-boot] / drivers / net / ne2000_base.c
index 4a0770814d2122a2f2684c05bbec1578ce447bf5..f0cd2b62eb3e8132910dbf8533846543c80756b5 100644 (file)
@@ -77,7 +77,6 @@ Add SNMP
 #include <net.h>
 #include <malloc.h>
 
-#define mdelay(n)      udelay((n)*1000)
 /* forward definition of function used for the uboot interface */
 void uboot_push_packet_len(int len);
 void uboot_push_tx_done(int key, int val);
@@ -740,7 +739,7 @@ int eth_send(volatile void *packet, int length) {
        pkey = -1;
 
        dp83902a_send((u8 *) packet, length, 666);
-       tmo = get_timer (0) + TOUT * CFG_HZ;
+       tmo = get_timer (0) + TOUT * CONFIG_SYS_HZ;
        while(1) {
                dp83902a_poll();
                if (pkey != -1) {