/*
 * Definitions for the KLSI KL5KUSB105 serial port adapter
 */

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

#define KLSI_VID		0x05e9
#define KLSI_KL5KUSB105D_PID	0x00c0

/* Vendor commands: */


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

/* baud rates */

enum {
	kl5kusb105a_sio_b115200 = 0,
	kl5kusb105a_sio_b57600  = 1,
	kl5kusb105a_sio_b38400  = 2,
	kl5kusb105a_sio_b19200  = 4,
	kl5kusb105a_sio_b14400  = 5,
	kl5kusb105a_sio_b9600   = 6,
	kl5kusb105a_sio_b4800   = 8,	/* unchecked */
	kl5kusb105a_sio_b2400   = 9,	/* unchecked */
	kl5kusb105a_sio_b1200   = 0xa,	/* unchecked */
	kl5kusb105a_sio_b600    = 0xb	/* unchecked */
};

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



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

/* 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			((1<<4) | (1<<5))
#define KL5KUSB105A_CTS			((1<<5) | (1<<4))

#define KL5KUSB105A_WANTS_TO_SEND	0x30
#if 0
#define KL5KUSB105A_DTR			/* Data Terminal Ready */
#define KL5KUSB105A_CTS			/* Clear To Send */
#define KL5KUSB105A_CD			/* Carrier Detect */
#define KL5KUSB105A_DSR			/* Data Set Ready */
#define KL5KUSB105A_RxD			/* Receive pin */

#define KL5KUSB105A_LE
#define KL5KUSB105A_RTS
#define KL5KUSB105A_ST
#define KL5KUSB105A_SR
#define KL5KUSB105A_RI			/* Ring Indicator */
#endif
6a8538804'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/include/dt-bindings?id=e7fe9491261ee07b0c7456df42c34ca6a8538804'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/dt-bindings?id=e7fe9491261ee07b0c7456df42c34ca6a8538804'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/dt-bindings'>
<input type='hidden' name='id' value='e7fe9491261ee07b0c7456df42c34ca6a8538804'/><input type='hidden' name='showmsg' value='1'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=e7fe9491261ee07b0c7456df42c34ca6a8538804&amp;showmsg=1'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/include?id=e7fe9491261ee07b0c7456df42c34ca6a8538804&amp;showmsg=1'>include</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/dt-bindings?id=e7fe9491261ee07b0c7456df42c34ca6a8538804&amp;showmsg=1'>dt-bindings</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/include/dt-bindings?id=e7fe9491261ee07b0c7456df42c34ca6a8538804'>Collapse</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>
div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='f3de082c12e5e9ff43c58a7561f6ec3272d03a48'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'>
<tr><th>author</th><td>Linus Torvalds &lt;torvalds@linux-foundation.org&gt;</td><td class='right'>2016-12-30 09:29:50 -0800</td></tr>
<tr><th>committer</th><td>Linus Torvalds &lt;torvalds@linux-foundation.org&gt;</td><td class='right'>2016-12-30 09:29:50 -0800</td></tr>
<tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/net/irda/irlan/irlan_provider_event.c?id=f3de082c12e5e9ff43c58a7561f6ec3272d03a48'>f3de082c12e5e9ff43c58a7561f6ec3272d03a48</a> (<a href='/cgit.cgi/linux/net-next.git/patch/net/irda/irlan/irlan_provider_event.c?id=f3de082c12e5e9ff43c58a7561f6ec3272d03a48'>patch</a>)</td></tr>
<tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=f3de082c12e5e9ff43c58a7561f6ec3272d03a48'>8aa8afa56af93cb9f72997a57ee4db6330431f14</a> /<a href='/cgit.cgi/linux/net-next.git/tree/net/irda/irlan/irlan_provider_event.c?id=f3de082c12e5e9ff43c58a7561f6ec3272d03a48'>net/irda/irlan/irlan_provider_event.c</a></td></tr>
<tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/net/irda/irlan/irlan_provider_event.c?id=98473f9f3f9bd404873cd1178c8be7d6d619f0d1'>98473f9f3f9bd404873cd1178c8be7d6d619f0d1</a> (<a href='/cgit.cgi/linux/net-next.git/diff/net/irda/irlan/irlan_provider_event.c?id=f3de082c12e5e9ff43c58a7561f6ec3272d03a48&amp;id2=98473f9f3f9bd404873cd1178c8be7d6d619f0d1'>diff</a>)</td></tr><tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/net/irda/irlan/irlan_provider_event.c?id=02608e02fbec04fccf2eb0cc8d8082f65c0a4286'>02608e02fbec04fccf2eb0cc8d8082f65c0a4286</a> (<a href='/cgit.cgi/linux/net-next.git/diff/net/irda/irlan/irlan_provider_event.c?id=f3de082c12e5e9ff43c58a7561f6ec3272d03a48&amp;id2=02608e02fbec04fccf2eb0cc8d8082f65c0a4286'>diff</a>)</td></tr></table>
<div class='commit-subject'>Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6</div><div class='commit-msg'>Pull crypto fix from Herbert Xu:
 "This fixes a boot failure on some platforms when crypto self test is
  enabled along with the new acomp interface"

* 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
  crypto: testmgr - Use heap buffer for acomp test input
</div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=f3de082c12e5e9ff43c58a7561f6ec3272d03a48'>Diffstat</a> (limited to 'net/irda/irlan/irlan_provider_event.c')</div><table summary='diffstat' class='diffstat'>