DragonFly commits List (threaded) for 2007-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/dev/usbmisc/uftdi uftdi.c
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]