]> Zhao Yanbai Git Server - minix.git/commitdiff
Solution/workaround for lance driver under vmware
authorBen Gras <ben@minix3.org>
Fri, 25 Jul 2008 15:08:40 +0000 (15:08 +0000)
committerBen Gras <ben@minix3.org>
Fri, 25 Jul 2008 15:08:40 +0000 (15:08 +0000)
etc/drivers.conf
include/minix/config.h

index 33b1a7f17c835c7767da773e374fdba66166bf3c..f80ab14db771ae27f801b8a56f7dfb4822392126 100644 (file)
@@ -159,38 +159,40 @@ driver mfs
 
 driver printer
 {
-       io      378:4           # LPT1
-               278:4           # LPT2
+       io      408:2           # LPT1
+               40a:2           # LPT2
+               40c:2           # LPT3
+               40e:2           # LPT4
        ;
        irq
-               7               # PRINTER_IRQ
+               7               # PRINTER_IRQ
        ;
        system
-               KILL            #  6
-               SETGRANT        # 34
-               UMAP            # 14
-               VIRCOPY         # 15
-                       IRQCTL          # 19
-               DEVIO           # 21
-               VDEVIO          # 23
-               SAFECOPYFROM    # 31
-               SAFECOPYTO      # 32
+               KILL            #  6
+               SETGRANT        # 34
+               UMAP            # 14
+               VIRCOPY         # 15
+               IRQCTL          # 19
+               DEVIO           # 21
+               VDEVIO          # 23
+               SAFECOPYFROM    # 31
+               SAFECOPYTO      # 32
        ;
 };
 
-driver dpeth
+driver lance
 {
        system
-               IRQCTL          # 19
-               DEVIO           # 21
-               SDEVIO          # 22
-               SETALARM        # 24
-               GETINFO         # 26
-               SAFECOPYFROM    # 31
-               SAFECOPYTO      # 32
-               SETGRANT        # 34
-       ;
-       uid     0;
+               UMAP            # 14
+               IRQCTL          # 19
+               DEVIO           # 21
+               #SDEVIO         # 22
+               TIMES           # 25
+               GETINFO         # 26
+               SAFECOPYFROM    # 31
+               SAFECOPYTO      # 32
+               SETGRANT        # 34
+       ;
+       pci device      1022/2000;
+       uid     0;
 };
-
-
index fa9939eba25d2f39ad16092a1ef4fbe65419b840..0ab3e1c5b568954f728c06e9766c8c15d283d4fb 100755 (executable)
@@ -3,7 +3,7 @@
 
 /* Minix release and version numbers. */
 #define OS_RELEASE "3"
-#define OS_VERSION "1.3b"
+#define OS_VERSION "1.3c"
 
 /* This file sets configuration parameters for the MINIX kernel, FS, and PM.
  * It is divided up into two main sections.  The first section contains
@@ -53,7 +53,7 @@
 #endif
 
 #if (MACHINE == IBM_PC && _WORD_SIZE == 4)
-#define NR_BUFS         1200   /* # blocks in the buffer cache */
+#define NR_BUFS          500   /* # blocks in the buffer cache */
 #define NR_BUF_HASH     2048   /* size of buf hash table; MUST BE POWER OF 2*/
 #endif