Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: if_detach handling styles



On Wed, 02 Feb 2000 19:55:03 +0900 
 itojun%iijlab.net@localhost 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@localhost>




Home | Main Index | Thread Index | Old Index