Subject: Re: if_detach handling styles
To: None <itojun@iijlab.net>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: source-changes
Date: 02/02/2000 08:06:43
On Wed, 02 Feb 2000 19:55:03 +0900 
 itojun@iijlab.net wrote:

 > 	Thanks, I looked tlp and now ne can be detached without trouble.

Cool.

 > 	Is it okay to assume that the user bring interface down (!IFF_UP)
 > 	before removal?  ne2000 will lock up solid in interrupt handler.

In the interrupt handler, make sure DVF_ACTIVE is set before you proceed,
or call the disable routine in in the "activate" entry point (I checked
this morning, and the "com" driver does that, so I guess it's safe :-)

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>