From: Ben Gras Date: Thu, 26 Mar 2009 15:22:08 +0000 (+0000) Subject: ignore linmem. X-Git-Tag: v3.1.4~91 X-Git-Url: http://zhaoyanbai.com/repos/zlib_tech.html?a=commitdiff_plain;h=cf8c4cc851ef95decd55ee25503f5e5f92e87e40;p=minix.git ignore linmem. don't disable the driver by default. --- 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;