Re: [CFT 1/29] Add bus_type probe, remove, shutdown methods.
From: Greg KH
Date: Thu Jan 05 2006 - 21:49:19 EST
On Thu, Jan 05, 2006 at 11:24:10PM +0000, Russell King wrote:
> On Thu, Jan 05, 2006 at 03:07:39PM -0800, Greg KH wrote:
> > On Thu, Jan 05, 2006 at 02:29:51PM +0000, Russell King wrote:
> > > Add bus_type probe, remove and shutdown methods to replace the
> > > corresponding methods in struct device_driver. This matches
> > > the way we handle the suspend/resume methods.
> > >
> > > Since the bus methods override the device_driver methods, warn
> > > if a device driver is registered whose methods will not be
> > > called.
> > >
> > > The long-term idea is to remove the device_driver methods entirely.
> > >
> > > Signed-off-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>
> >
> > All of this looks good to me, want me to add them to my tree and forward
> > it on to Linus?
>
> As far as forwarding to Linus, not sure about that yet - I suspect
> these patches may cause akpm some reject grief since they're fairly
> wide-spread over the kernel. If akpm prefers the small patches
> instead of one large one, it may make sense for it to go via akpm.
Bah, rejects are something that akpm eats for lunch, we have good tools
to handle this now :)
> I don't have a preference myself - it's whatever's easiest for others.
I'll add this to my tree, which will end up in -mm and forward to Linus
in a bit, after some sanity build tests.
> > thanks for doing this work, I really appreciate it.
>
> Obviously, there's still more to come when I get a round tuit, but
> this should provide sufficient infrastructure to allow folk to
> move over the remaining areas if I don't get there first. ISTR
> SCSI requires a bit of work.
I'll poke at the remainders when I get a chance, the kernel log messages
should cause others to perk up and notice and possibly help out too :)
thanks,
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/