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
{
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
UMAP # 14
IRQCTL # 19
DEVIO # 21
#SDEVIO # 22
TIMES # 25
GETINFO # 26
SAFECOPYFROM # 31
SAFECOPYTO # 32
SETGRANT # 34
;
uid 0;
pci device 1022/2000;
uid 0;
};

View File

@ -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