Add Proliic new chip: PL2303TB & PL2303N(G)
Quoted 10 lines · Charles Yeh
Hi Johan & Greg,
Thansk for you check the patch file..PL2303 is a general name on the market. In fact, PL2303 has the following various ICs.
A type: PL2303H,
B type: PL2303XA, PL2303HXA, PL2303HXB, PL2303HXC, PL2303HXD, PL2303EA, PL2303SA, PL2303RA, PL2303TA, PL2303TB
C type:PL2303HXN: PL2303GC, PL2303GS, PL2303GB, PL2303GT, PL2303GL, PL2303GE. <<--used different PID, differentVENDOR_REQUEST
Thanks for that summary. Much appreciated.
Does what the current driver calls TYPE_01 correspond to your "A type" above?
Quoted 10 lines
"Please split out in a separate patch and explain why it is needed. Alsoreplace the "magical" constants with descriptive defines."
I will push 3 patch file.1. Support
PL2303TB(old chip, B type), only add newVID_PID
2. SupportPL2303HXD(old chip, B type), /* only support External Pull-Up Mode on PL2303HXD chip*. /
3. SupportPL2303HXN(new chip, C type), add newVID_PID, new VENDOR_WRITE_REQUEST/VENDOR_READ_REQUEST, new H/W, S/W flow control setting.
Sounds good, but looks like your latest revision of the patch still does all of the above in one patch...
Thanks,
Johan