diff options
author | hselasky <hselasky@FreeBSD.org> | 2012-08-05 08:56:29 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2012-08-05 08:56:29 +0000 |
commit | c00a121761a94418efab6d83840096cb961b71d1 (patch) | |
tree | 36084a6f7068274856cc4d22ec80a640c819c28b /sys/dev/ep | |
parent | 5f9688f4ffbef7ac96c49a51717e34740c42f167 (diff) | |
download | FreeBSD-src-c00a121761a94418efab6d83840096cb961b71d1.zip FreeBSD-src-c00a121761a94418efab6d83840096cb961b71d1.tar.gz |
Minor style nit:
Use the interface number from the USB interface descriptor
like in the other USB serial drivers. These numbers are not
supposed to be different, though in theory they can. Make sure
that the driver then uses the interface number given by the USB
descriptor, and not the logical index of the USB stack.
For the future:
Whenever the term "index" is used in the USB code, it refers to
a number computed by the USB stack.
Whenever the term "number" is used in the USB code, it refers to
a number in a USB descriptor.
MFC after: 2 weeks
Diffstat (limited to 'sys/dev/ep')
0 files changed, 0 insertions, 0 deletions