Solution/workaround for lance driver under vmware

This commit is contained in:
Ben Gras 2008-07-25 15:08:40 +00:00
parent cbe9454704
commit 95aa8cf5a5
2 changed files with 28 additions and 26 deletions

View File

@ -159,38 +159,40 @@ driver mfs
driver printer driver printer
{ {
io 378:4 # LPT1 io 408:2 # LPT1
278:4 # LPT2 40a:2 # LPT2
40c:2 # LPT3
40e:2 # LPT4
; ;
irq irq
7 # PRINTER_IRQ 7 # PRINTER_IRQ
; ;
system system
KILL # 6 KILL # 6
SETGRANT # 34 SETGRANT # 34
UMAP # 14 UMAP # 14
VIRCOPY # 15 VIRCOPY # 15
IRQCTL # 19 IRQCTL # 19
DEVIO # 21 DEVIO # 21
VDEVIO # 23 VDEVIO # 23
SAFECOPYFROM # 31 SAFECOPYFROM # 31
SAFECOPYTO # 32 SAFECOPYTO # 32
; ;
}; };
driver dpeth driver lance
{ {
system system
IRQCTL # 19 UMAP # 14
DEVIO # 21 IRQCTL # 19
SDEVIO # 22 DEVIO # 21
SETALARM # 24 #SDEVIO # 22
GETINFO # 26 TIMES # 25
SAFECOPYFROM # 31 GETINFO # 26
SAFECOPYTO # 32 SAFECOPYFROM # 31
SETGRANT # 34 SAFECOPYTO # 32
SETGRANT # 34
; ;
uid 0; pci device 1022/2000;
uid 0;
}; };

View File

@ -3,7 +3,7 @@
/* Minix release and version numbers. */ /* Minix release and version numbers. */
#define OS_RELEASE "3" #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. /* This file sets configuration parameters for the MINIX kernel, FS, and PM.
* It is divided up into two main sections. The first section contains * It is divided up into two main sections. The first section contains
@ -53,7 +53,7 @@
#endif #endif
#if (MACHINE == IBM_PC && _WORD_SIZE == 4) #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*/ #define NR_BUF_HASH 2048 /* size of buf hash table; MUST BE POWER OF 2*/
#endif #endif