libftdi Archives

Subject: Re: [PATCH] Proper initialisation of interface A.

From: Vladimir Yakovlev <nagos@xxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 30 Dec 2010 15:33:05 +0300
> Small remark about the older BM type chips: It will also set the
> ftdi->index to "1" for the old chips.
>
> According to my very ancient documentation, an index of zero (=default
> interface) will be remapped to one (=SIOA). I verified it works by modifying
> libftdi 0.x with "ftdi->index = 1" and run it on old hardware.
>
> There's also code in ftdi_usb_open_dev() to set interface A,
> maybe we can get rid of that?

This code do nothing (tested on FT2232H). Index alyaws set to 0, even
without my patch by ftdi_init()
You can remove it.

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread