linux/drivers/usb/serial/kl5kusb105.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Definitions for the KLSI KL5KUSB105 serial port adapter
 */

/* vendor/product pairs that are known to contain this chipset */
#define PALMCONNECT_VID
#define PALMCONNECT_PID

/* Vendor commands: */


/* port table -- the chip supports up to 4 channels */

/* baud rates */

enum {};

/* data bits */
#define kl5kusb105a_dtb_7
#define kl5kusb105a_dtb_8



/* requests: */
#define KL5KUSB105A_SIO_SET_DATA
#define KL5KUSB105A_SIO_POLL
#define KL5KUSB105A_SIO_CONFIGURE
/* values used for request KL5KUSB105A_SIO_CONFIGURE */
#define KL5KUSB105A_SIO_CONFIGURE_READ_ON
#define KL5KUSB105A_SIO_CONFIGURE_READ_OFF

/* Interpretation of modem status lines */
/* These need sorting out by individually connecting pins and checking
 * results. FIXME!
 * When data is being sent we see 0x30 in the lower byte; this must
 * contain DSR and CTS ...
 */
#define KL5KUSB105A_DSR
#define KL5KUSB105A_CTS

#define KL5KUSB105A_WANTS_TO_SEND
#if 0
#define KL5KUSB105A_DTR
#define KL5KUSB105A_CTS
#define KL5KUSB105A_CD
#define KL5KUSB105A_DSR
#define KL5KUSB105A_RxD

#define KL5KUSB105A_LE
#define KL5KUSB105A_RTS
#define KL5KUSB105A_ST
#define KL5KUSB105A_SR
#define KL5KUSB105A_RI
#endif