Subject: Network device drivers
To: None <netbsd-bugs@sun-lamp.cs.berkeley.edu>
From: Minamide Yasuhiko <nan@kurims.kyoto-u.ac.jp>
List: netbsd-bugs
Date: 03/24/1994 20:16:27
I am using NetBSD-current and ep driver. The ep driver seems to work,
but if I use NFS, then the performance is intolerable and the system
often hangs. So I read the sources and found the following line in a
config file causes that the 'netmask' is used as mask for ep in
vector.h and ioconfig.c. This mask is used for 'splnet' in isa/icu.s.
>
>device ep0 at isa? port 0x300 net irq 10 vector epintr
>
I think that it means network protocol processing blocks network
device drivers. So, I hacked vector.h ioconfig.c by hand so that
impmask is used as the mask of the ep driver and isa.c as the
following.
isa.c line 123:
/*netmask |= astmask;
impmask = netmask | ttymask; */
netmask = astmask;
impmask |= ttymask | biomask ;
Then, the performance become better. Is this story correct?
Yasuhiko Minamide
Kyoto Univ. Japan
------------------------------------------------------------------------------