Re: usb: add missing autoconf activate functions

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jacob Meuser
Date: Saturday, December 18, 2010 - 10:11 pm

On Sun, Dec 19, 2010 at 05:02:54AM +0200, Paul Irofti wrote:

yes, it's used to set the driver's dying flag.  those are the most common
places a driver would be marked as dying.  maybe also in an interrupt
handler.


hmm.  perhaps usbd_deactivate() is not the best name.


currently it is just a wrapper for setting the dying flag in the driver's
usbd_device.  maybe it will do other things, but probably not.  the pupose
of setting the dying flag in the usbd_device is so that this flag can be
checked in generic stack functions, because the almost always have access
to the usbd_device.  if there were just the dying flag in the softc, that
isn't available outside the driver.


I don't get what you're saying here.


-- 
jakemsr@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
usb: add missing autoconf activate functions, Jacob Meuser, (Sat Dec 18, 4:11 pm)
Re: usb: add missing autoconf activate functions, Paul Irofti, (Sat Dec 18, 8:02 pm)
Re: usb: add missing autoconf activate functions, Paul Irofti, (Sat Dec 18, 8:06 pm)
Re: usb: add missing autoconf activate functions, Jacob Meuser, (Sat Dec 18, 10:11 pm)