cvs commit: src/sys/dev/usbmisc/uftdi uftdi.c
Hasso Tepper
hasso at crater.dragonflybsd.org
Fri Aug 31 06:27:42 PDT 2007
hasso 2007/08/31 06:25:32 PDT
DragonFly src repository
Modified files:
sys/dev/usbmisc/uftdi uftdi.c
Log:
Simplify the way how chip type is determined. Instead of managing insane
case constructs with info what vendor/product ids combinations have which
chip, use the info device descriptors provide.
- FT2232 dual UART chips have bNumInterfaces set to 2 (obviously).
- Original SIO have bcdDevice set to 0x0100.
Revision Changes Path
1.16 +58 -131 src/sys/dev/usbmisc/uftdi/uftdi.c
http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/uftdi/uftdi.c.diff?r1=1.15&r2=1.16&f=u
More information about the Commits
mailing list