Re: device model documentation 1/3

Martin Dalecki (dalecki@evision-ventures.com)
Tue, 04 Jun 2002 18:00:26 +0200


Greg KH wrote:
> On Tue, Jun 04, 2002 at 05:45:31PM +0200, Martin Dalecki wrote:
>
>>Patrick Mochel wrote:
>>
>>
>>>Bus Types
>>>
>>>struct bus_type {
>>
>>...
>>
>>
>>
>>> int (*bind) (struct device * dev, struct device_driver *
>>> drv);
>>>};
>>>
>>
>>Please - Why do you call it bind? Does it have something with
>>netowrking to do? Please just name it attach. This way the old UNIX
>>guys among us won't have to drag a too big
>>"UNIX to Linux translation dictionary" around with them.
>>As an "added bonus" you will stay consistent with -
>>
>>USB code base in kernel
>
>
> Huh? The usb code base doesn't use either "bind" or "attach" in it's
> api.
>
> And who cares? You knew what he ment by this, and it's a pretty
> standard term.

I care. And I had to thing long and hard before guessing what it could
be. (I noticed this nomenclature error already in the kernel patch.)

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