cvs commit: src/sys/dev/usb if_aue.c if_auereg.h
Alfred Perlstein
alfred at FreeBSD.org
Wed Nov 29 11:19:45 PST 2006
alfred 2006-11-29 19:19:44 UTC
FreeBSD src repository
Modified files:
sys/dev/usb if_aue.c if_auereg.h
Log:
Stop INVARIANTS panics in if_aue with a stopgap.
aue_tick calls several synchronous usb functions from a timeout(9),
this is very broken since a timeout(9) is run as an interrupt
and the usb functions tsleep.
A stopgap fix is to schedule a taskqueue task from the timeout
and defer work to that taskqueue task.
Revision Changes Path
1.101 +31 -7 src/sys/dev/usb/if_aue.c
1.23 +1 -0 src/sys/dev/usb/if_auereg.h
More information about the cvs-src
mailing list