]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/net/tsi108_eth.c
net: Conditional COBJS inclusion of network drivers
[karo-tx-uboot.git] / drivers / net / tsi108_eth.c
index a09115e6ddd01156abd394ff3896f1113e1d5f58..57c0dc3ceac7ccd62e553f95e04de8f1fd6e033a 100644 (file)
@@ -27,9 +27,6 @@
 
 #include <config.h>
 
-#if defined(CONFIG_CMD_NET) && defined(CONFIG_NET_MULTI) \
-       && defined(CONFIG_TSI108_ETH)
-
 #if !defined(CONFIG_TSI108_ETH_NUM_PORTS) || (CONFIG_TSI108_ETH_NUM_PORTS > 2)
 #error "CONFIG_TSI108_ETH_NUM_PORTS must be defined as 1 or 2"
 #endif
@@ -1032,5 +1029,3 @@ static void tsi108_eth_halt (struct eth_device *dev)
        /* Put MAC into reset state. */
        reg_MAC_CONFIG_1(base) = MAC_CONFIG_1_SOFT_RESET;
 }
-
-#endif