Module name: ndis
Committed by: rittera
Date: Thu Aug 18 22:51:44 UTC 2005
ndis/sys/compat/ndis: nbcompat.h subr_hal.c
I no longer raise processor priority level to IPL_NET while at DISPATCH_LEVEL,
instead I do this in place of getting a lock via FreeBSD's mtx_lock().
Ideally I think I need to raise the priority level, and get a lock via
lockmgr, but since I'm on a single processor system, and NetBSD kernel threads
are not preempted, just raising the priority level should be enough
Also I noticed that I can ssh from another computer to ndis0 if I force
NdisAllocatePacket() to return after it has a segmentation fault. After this
I can connect via ssh, disconect, transfer a bunch of data etc... without
any problems. I could modify NidsAllocatePacket() to check if the pool is
empty and return, but this seems sort of sloppy. I need to look into the
problem more before I decide what to do.
I tried using dhclient on ndis0, but it just hung (I could get out with
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 ndis/sys/compat/ndis/nbcompat.h
cvs rdiff -u -r1.33 -r1.34 ndis/sys/dev/if_ndis/if_ndis_pci.c
cvs rdiff -u -r1.4 -r1.5 ndis/sys/compat/ndis/subr_hal.c
cvs rdiff -u -r1.6 -r1.7 ndis/sys/modules/if_ndis/ndis_driver_data.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.