cvs commit: src/sys/dev/usb if_zyd.c if_zydreg.h
Sam Leffler
sam at freebsd.org
Wed Sep 10 16:01:42 UTC 2008
Weongyo Jeong wrote:
> weongyo 2008-09-10 03:40:51 UTC
>
> FreeBSD src repository
>
> Modified files:
> sys/dev/usb if_zyd.c if_zydreg.h
> Log:
> SVN rev 182900 on 2008-09-10 03:40:51Z by weongyo
>
> rename flags and add a ZYD_FLAG_DETACHING flag to indicate we're
> detaching that when the USB is pulled out forcibly during the driver is
> running background scan, a page fault can be occurred even if we called
> usb_rem_task() when detaching. It looks like a kind of races.
>
>
If I understand the issue, it should be handled in the 802.11 state
machine. The device should be clocked to the INIT state and as a result
clear any outstanding tasks, timers, etc. The only reason you need to
do something special is if the h/w is gone and you need to guard against
accessing it.
Sam
More information about the cvs-src
mailing list