aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/pcnet.c
diff options
context:
space:
mode:
authorShinya Kuribayashi2008-06-09 23:37:44 +0900
committerBen Warren2008-06-09 23:21:05 -0700
commit3b904ccb93c3196727e2e9870cb1df903cab19ad (patch)
treecdba708c7c336b6a20c22a392a7160e21cd538e4 /drivers/net/pcnet.c
parente44f3ea4e801d37ef293284cb57b9637382f211a (diff)
net: Conditional COBJS inclusion of network drivers
Replace COBJS-y with appropriate driver config names. Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/net/pcnet.c')
-rw-r--r--drivers/net/pcnet.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/pcnet.c b/drivers/net/pcnet.c
index aa04e8f1859..a4f02141063 100644
--- a/drivers/net/pcnet.c
+++ b/drivers/net/pcnet.c
@@ -45,9 +45,6 @@
#define PCNET_DEBUG2(fmt,args...)
#endif
-#if defined(CONFIG_CMD_NET) \
- && defined(CONFIG_NET_MULTI) && defined(CONFIG_PCNET)
-
#if !defined(CONF_PCNET_79C973) && defined(CONF_PCNET_79C975)
#error "Macro for PCnet chip version is not defined!"
#endif
@@ -537,4 +534,3 @@ static void pcnet_halt (struct eth_device *dev)
printf ("%s: TIMEOUT: controller reset failed\n", dev->name);
}
}
-#endif