Re: [PATCH] driver core: Add the ability to unbind drivers to devices from userspace

From: Greg KH
Date: Fri Jun 24 2005 - 22:29:18 EST


On Fri, Jun 24, 2005 at 08:57:15AM -0700, Patrick Mochel wrote:
>
> On Thu, 23 Jun 2005, Greg KH wrote:
>
> > This adds a single file, "unbind", to the sysfs directory of every
> > device that is currently bound to a driver. To unbind the driver from
> > the device, write anything to this file and they will be disconnected
> > from each other.
>
> Do you think it would be better to put the 'unbind' file in the driver's
> directory and have it accept the bus ID of a device that it's bound to?
> This would make it more similar to the complementary 'bind' functionality.

Yeah, you are right, I'll make that change. Heh, symmetry, what a
concept...

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/