Re: [linux-usb-devel] Re: [BK PATCH] USB device support for

George J Karabin (gkarabin@pobox.com)
18 Apr 2002 23:11:22 -0700


On Thu, 2002-04-18 at 22:46, Oliver Neukum wrote:
> Too short a difference. You easily skip it reading and there's a chance of typos.
> Furthermore the first latter should differ for tab completion.
> Target is actually quite good a name. It makes clear that there's only
> one initiator of transactions on USB.

Those are good points. The shortcomings you mentioned are solved easily
enough, although the solutions that come to mind may not sound much
better either.

Easy tab completion could be provided using prefixes instead of
suffixes, like l and lh for lhusb and husb. Alternately, you could use
the long forms localusb, local-usb, or local_usb, or hostusb, host-usb,
or host_usb, taking care of the "too short a difference" concern. I'm
not sure these solutions are any better.

That said, target or client or anything else distinctive sounds fine
too. I'm just partial to the spec-derived-naming idea. (Although I
really wish the USB spec folks could have come up with two names that
were more descriptively different...)

- George

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