Date: Wed, 29 Nov 2006 19:19:44 +0000 (UTC) From: Alfred Perlstein <alfred@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb if_aue.c if_auereg.h Message-ID: <200611291919.kATJJiAN065401@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611291919.kATJJiAN065401>
