Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2008 09:01:41 -0700
From:      Sam Leffler <sam@freebsd.org>
To:        Weongyo Jeong <weongyo@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/dev/usb if_zyd.c if_zydreg.h
Message-ID:  <48C7EF65.3050204@freebsd.org>
In-Reply-To: <200809100341.m8A3f5n4001038@repoman.freebsd.org>
References:  <200809100341.m8A3f5n4001038@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48C7EF65.3050204>