Module Name: src
Committed By: jakllsch
Date: Tue Dec 6 19:05:43 UTC 2011
Modified Files:
src/sys/dev/usb: uslsa.c
Log Message:
Make break handling (where supported by the hardware/firmware) actually work.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/usb/uslsa.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/uslsa.c
diff -u src/sys/dev/usb/uslsa.c:1.12 src/sys/dev/usb/uslsa.c:1.13
--- src/sys/dev/usb/uslsa.c:1.12 Wed Nov 3 22:34:24 2010
+++ src/sys/dev/usb/uslsa.c Tue Dec 6 19:05:43 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: uslsa.c,v 1.12 2010/11/03 22:34:24 dyoung Exp $ */
+/* $NetBSD: uslsa.c,v 1.13 2011/12/06 19:05:43 jakllsch Exp $ */
/* from ugensa.c */
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uslsa.c,v 1.12 2010/11/03 22:34:24 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uslsa.c,v 1.13 2011/12/06 19:05:43 jakllsch Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -101,7 +101,6 @@ int uslsadebug = 0;
#define USLSA_REQ_GET_DPS 0x04
#define USLSA_REQ_SET_BREAK 0x05
-#define USLSA_REQ_GET_BREAK 0x06
#define USLSA_REQ_SET_FLOW 0x07
#define USLSA_REQ_GET_FLOW 0x08
@@ -136,8 +135,8 @@ int uslsadebug = 0;
#define USLSA_DPS_STOP_ONE_FIVE 0x0001
#define USLSA_DPS_STOP_ONE 0x0000
-#define USLSA_BREAK_DISABLE 0x0001
-#define USLSA_BREAK_ENABLE 0x0000
+#define USLSA_BREAK_DISABLE 0x0000
+#define USLSA_BREAK_ENABLE 0x0001
#define USLSA_FLOW_SET_RTS 0x0200
#define USLSA_FLOW_SET_DTR 0x0100