Re: [PATCH 2.6.10-rc1 0/4] driver-model: manual device attach

From: Tejun Heo
Date: Thu Nov 04 2004 - 23:51:46 EST


Hello, Greg,

On Thu, Nov 04, 2004 at 09:53:19AM -0800, Greg KH wrote:
> How does a device know what drivers could be bound to it? It's the
> other way around, drivers know what kind of devices they can bind to.
> Let's add the ability to add more devices to a driver through sysfs,
> again, like PCI does.
>
> > Writing a driver name attaches the device to the driver.
>
> No, do it the other way, attach a driver to a device.

Well, I just happen to think that devices attach to drivers as in
"attaching pci device 0000:00:08.0 to e1000 driver". Maybe I'm just
weird. :-P

--
tejun

-
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/