Re: [BKPATCH] bus notifiers for the generic device model

From: Greg KH (greg@kroah.com)
Date: Wed Dec 04 2002 - 13:52:25 EST


On Wed, Dec 04, 2002 at 10:10:16AM -0800, Mike Anderson wrote:
> Greg KH [greg@kroah.com] wrote:
> > On Wed, Dec 04, 2002 at 11:09:21AM -0600, James Bottomley wrote:
> > > There are certain bus types (notably MCA and parisc internal ones) that like
> > > to do generic houskeeping operations (claim slots, claim uniform resources
> > > etc.) when drivers are attached to devices.
> >
> > But doesn't the bus specific core know when drivers are attached, as it
> > was told to register or unregister a specific driver? So I don't see
> > why this is really needed.
>
> The change is when a device is bound to a driver (i.e. when attach /
> detach is called bus.c ).

Whis is called after probe / remove is called for the driver, which can
point to the bus specific functions, like PCI and USB cores do.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 07 2002 - 22:00:19 EST