On Monday, 23. March 2009 16:55:47 David Challis wrote:
> The line in the patch:
>
>       else if (dev->descriptor.bcdDevice == 0x800)
>               ftdi->type = TYPE_2232H;
>
> for the FT2232H should be:
>
>       else if (dev->descriptor.bcdDevice == 0x700)
>               ftdi->type = TYPE_2232H;

Ah ok. I did this by looking at the output provided from George Boudreau.
If I understood Uwe Bonnes correctly, this could read:

if (dev->descriptor.bcdDevice == 0x700 || dev->descriptor.bcdDevice == 0x800)

Right?


> With your patch applied, my proposed new ftdi_read_data() is:

Please resend as a patch, the line endings got mangled.
Also this will make review of the changes easier. Thanks.

Thomas


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [email protected]   

Reply via email to