Simplify the way how chip type is determined. Instead of managing insane
authorHasso Tepper <hasso@dragonflybsd.org>
Fri, 31 Aug 2007 13:25:32 +0000 (13:25 +0000)
committerHasso Tepper <hasso@dragonflybsd.org>
Fri, 31 Aug 2007 13:25:32 +0000 (13:25 +0000)
commit8178754165d0a430621ec816b13b4c7b442df390
treee9d782127307117d81c601821ff7431da4c539e5
parent36d1bf946ab852910173c3858a437fc8119db7ac
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.
sys/dev/usbmisc/uftdi/uftdi.c