Date: Thu, 12 Mar 2009 02:51:55 +0000 (UTC) From: Weongyo Jeong <weongyo@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/compat/ndis hal_var.h subr_hal.c subr_usbd.c src/sys/dev/if_ndis if_ndis.c if_ndis_usb.c if_ndisvar.h Message-ID: <200903120253.n2C2rKrc096156@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
weongyo 2009-03-12 02:51:55 UTC
FreeBSD src repository
Modified files:
sys/compat/ndis hal_var.h subr_hal.c subr_usbd.c
sys/dev/if_ndis if_ndis.c if_ndis_usb.c if_ndisvar.h
Log:
SVN rev 189719 on 2009-03-12 02:51:55Z by weongyo
o change a lock model based on HAL preemption lock to a normal mtx.
Based on the HAL preemption lock there is a problem on SMP machines
and causes a panic.
o When a device detached the current tactic to detach NDIS USB driver is
to call SURPRISE_REMOVED event. So it don't need to call
ndis_halt_nic() again. This fixes some page faults when some drivers
work abnormal.
o it assumes now that URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER is in
DISPATCH_LEVEL (non-sleepable) and as further work
URB_FUNCTION_VENDOR_XXX and URB_FUNCTION_CLASS_XXX should be.
Reviewed by: Hans Petter Selasky <hselasky_at_freebsd.org>
Tested by: Paul B. Mahol <onemda_at_gmail.com>
Revision Changes Path
1.10 +0 -1 src/sys/compat/ndis/hal_var.h
1.31 +0 -7 src/sys/compat/ndis/subr_hal.c
1.8 +117 -36 src/sys/compat/ndis/subr_usbd.c
1.153 +10 -2 src/sys/dev/if_ndis/if_ndis.c
1.13 +6 -2 src/sys/dev/if_ndis/if_ndis_usb.c
1.37 +16 -0 src/sys/dev/if_ndis/if_ndisvar.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903120253.n2C2rKrc096156>
