Re: Driver core change request

From: Greg KH
Date: Thu Oct 21 2004 - 10:11:50 EST


On Thu, Oct 21, 2004 at 02:05:40AM -0500, Dmitry Torokhov wrote:
> On Tuesday 12 October 2004 01:29 am, Dmitry Torokhov wrote:
> > For now I added:
> >
> > - "driver" default device attribute that produces name of currently bound
> > driver uppon read.
> > - bus->rebind_handler method that is called when someone writes to "driver"
> > attribute and allows to perform bunctions like disconnecting device or
> > rebinding it to alternative driver in bus-specific way.
> > - "bind_mode" default device and driver attributes that can be "auto" or
> > "manual". When device or driver marked as manual bind device_attach()
> > and driver_attach() will ignore them. They are expected to be bound by
> > bus->rebind_handler (via driver_probe_device()).
> >
> > I also renamed bus_match to driver_probe_device() and exported it, along
> > with device_attach and driver_attach.
> >
> > Please let me know if its acceptable.
> >
>
> Greg,
>
> Sorry for bothering you but cold you tell me if you are staisfied with the
> patches or I need to look for some alternative. As an example of usage
> please find my working copy of serio.c below.

I like part of them :)

But I'm still swamped with syncing up with Linus's tree, but should be
able to get to these later this afternoon. I haven't forgotten about
these, they are still in my todo queue.

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/