]> Zhao Yanbai Git Server - minix.git/commitdiff
ignore linmem.
authorBen Gras <ben@minix3.org>
Thu, 26 Mar 2009 15:22:08 +0000 (15:22 +0000)
committerBen Gras <ben@minix3.org>
Thu, 26 Mar 2009 15:22:08 +0000 (15:22 +0000)
don't disable the driver by default.

drivers/lance/lance.c

index c1aaf40b8a41ebb569a741a73b5398b659ce5f99..d5af0b7f723d490965409c74f9328c01693d0fa5 100644 (file)
@@ -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;