]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/net/tsi108_eth.c
rename CFG_ macros to CONFIG_SYS
[karo-tx-uboot.git] / drivers / net / tsi108_eth.c
index 2534097df5577e01250728feb7e921b8ab5fa6aa..079354aaff361dd9f18301b3fc2a7d7e7466be98 100644 (file)
@@ -34,6 +34,7 @@
 #include <common.h>
 #include <malloc.h>
 #include <net.h>
+#include <netdev.h>
 #include <asm/cache.h>
 
 #ifdef DEBUG
@@ -53,7 +54,7 @@ printf ("%s %d: " fmt, __FUNCTION__, __LINE__, ##args)
 #define RX_PRINT_ERRORS
 #define TX_PRINT_ERRORS
 
-#define ETH_BASE       (CFG_TSI108_CSR_BASE + 0x6000)
+#define ETH_BASE       (CONFIG_SYS_TSI108_CSR_BASE + 0x6000)
 
 #define ETH_PORT_OFFSET        0x400