On Mon, Jul 01, 2019 at 03:32:33PM +0200, Johan Hovold wrote: > On Mon, Jul 01, 2019 at 08:21:14PM +0800, Charles Yeh wrote: > > #define PL2303_FLOWCTRL_MASK 0xf0 > > +#define PL2303_HXN_FLOWCTRL_MASK 0x1C > > Move after PL2303_HXN_RESET_CONTROL as I suggested. Sorry, I meant PL2303_HXN_FLOWCTRL here. > > +#define PL2303_READ_TYPE_HX_STATUS 0x8080 > > + > > +#define PL2303_HXN_RESET_CONTROL 0x07 > > +#define PL2303_HXN_FLOWCTRL 0x0A > > +#define PL2303_HXN_CTRL_XON_XOFF 0x0C > > +#define PL2303_HXN_CTRL_RTS_CTS 0x18 > > +#define PL2303_HXN_CTRL_NONE 0x1C Johan