From cf8c4cc851ef95decd55ee25503f5e5f92e87e40 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Thu, 26 Mar 2009 15:22:08 +0000 Subject: [PATCH] ignore linmem. don't disable the driver by default. --- drivers/lance/lance.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/lance/lance.c b/drivers/lance/lance.c index c1aaf40b8..d5af0b7f7 100644 --- a/drivers/lance/lance.c +++ b/drivers/lance/lance.c @@ -635,15 +635,6 @@ ether_card_t *ec; return; } - /* Allocate a memory segment, programmed I/O should set the - * memory segment (linmem) to zero. - */ - if (ec->ec_linmem != 0) - { - assert( 0 ); - /*phys2seg(&ec->ec_memseg, &ec->ec_memoff, ec->ec_linmem);*/ - } - /* XXX */ if (ec->ec_linmem == 0) ec->ec_linmem= 0xFFFF0000; ec->flags = ECF_EMPTY; @@ -670,6 +661,7 @@ ec_conf_t *ecp; break; case EP_ON: case EP_SET: + default: ec->mode= EC_ENABLED; /* Might become disabled if * all probes fail */ break; -- 2.44.0