]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/ne2000.c
ne2000 driver: change #ifdef to Makefile conditional compilation
[u-boot] / drivers / net / ne2000.c
index 49280148d2c6668b6e775a5ed4cb38712da7dc6b..36ea35b2c217df51d85406f692c15e80782f9497 100644 (file)
@@ -80,8 +80,6 @@ Add SNMP
 #include <net.h>
 #include <malloc.h>
 
-#ifdef CONFIG_DRIVER_NE2000
-
 #define mdelay(n)       udelay((n)*1000)
 /* forward definition of function used for the uboot interface */
 void uboot_push_packet_len(int len);
@@ -851,4 +849,3 @@ int eth_send(volatile void *packet, int length) {
        }
        return 0;
 }
-#endif