Am Mittwoch 22 Juni 2011, 05:40:59 schrieb Mike Frysinger: > i was looking at the ft2232 driver and the amount of duplicated code > annoyed me enough to rewrite it. the diffstat speaks for itself: > ft2232.c | 1663 > +++++++++++++++++---------------------------------------------- 1 file > changed, 465 insertions(+), 1198 deletions(-) > > basically, i observed that every sub device has pins that fall into two > categories: > - driven as outputs when the cable is active (jtag pins) > - driver as outputs all the time (LEDs) > otherwise, the ftdi programming is pretty much the same between all the > devices. so i extended the params structure to let devices declare this > before calling a common init func. and then the common close func was > extended slightly to the point where all the cables can use it. > > i did notice a little deviation with some of the cables, but i think it's > more of a bug than intended behavior. however, i dont have any of these > cables (except for the gnICE/gnICE+) to test with. so if people have ftdi > cables that they can test with, that'd be great. > -mike
Hi Mike, i would like to test this patch, but the inline patch seems to be broken and can't be processed by git-am. It's send quoted-printable. -- Michael ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ UrJTAG-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/urjtag-development
