Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Make break handling (where supported by the hard...



details:   https://anonhg.NetBSD.org/src/rev/9db9e94ee51a
branches:  trunk
changeset: 771890:9db9e94ee51a
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Tue Dec 06 19:05:43 2011 +0000

description:
Make break handling (where supported by the hardware/firmware) actually work.

diffstat:

 sys/dev/usb/uslsa.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r ee4d4da81314 -r 9db9e94ee51a sys/dev/usb/uslsa.c
--- a/sys/dev/usb/uslsa.c       Tue Dec 06 18:18:59 2011 +0000
+++ b/sys/dev/usb/uslsa.c       Tue Dec 06 19:05:43 2011 +0000
@@ -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 @@
 #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 @@
 #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



Home | Main Index | Thread Index | Old Index