Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb correct MUX-MIDI state machine. (EXCL_2 state)



details:   https://anonhg.NetBSD.org/src/rev/bf9b2c905e1f
branches:  trunk
changeset: 503100:bf9b2c905e1f
user:      tshiozak <tshiozak%NetBSD.org@localhost>
date:      Wed Jan 31 16:02:38 2001 +0000

description:
correct MUX-MIDI state machine. (EXCL_2 state)

diffstat:

 sys/dev/usb/umidi.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 54fa5d47755d -r bf9b2c905e1f sys/dev/usb/umidi.c
--- a/sys/dev/usb/umidi.c       Wed Jan 31 15:26:42 2001 +0000
+++ b/sys/dev/usb/umidi.c       Wed Jan 31 16:02:38 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umidi.c,v 1.1 2001/01/30 23:26:47 tshiozak Exp $       */
+/*     $NetBSD: umidi.c,v 1.2 2001/01/31 16:02:38 tshiozak Exp $       */
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -1266,6 +1266,7 @@
                        break;
                }
                if (in>=0x80) { /* ??? */ packet->state = PS_END; break; }
+               packet->buffer[0] = MIX_CN_CIN(cable_number, 0x04);
                packet->buffer[3] = in;
                packet->state = PS_EXCL_0;
                break;



Home | Main Index | Thread Index | Old Index