Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Use USBD_NORMAL_COMPLETION in the previous.



details:   https://anonhg.NetBSD.org/src/rev/d989bf9a3614
branches:  trunk
changeset: 485709:d989bf9a3614
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Wed May 03 18:21:36 2000 +0000

description:
Use USBD_NORMAL_COMPLETION in the previous.

diffstat:

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

diffs (18 lines):

diff -r a2c103e89a7b -r d989bf9a3614 sys/dev/usb/uhci.c
--- a/sys/dev/usb/uhci.c        Wed May 03 18:14:49 2000 +0000
+++ b/sys/dev/usb/uhci.c        Wed May 03 18:21:36 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uhci.c,v 1.114 2000/05/03 18:14:49 mycroft Exp $       */
+/*     $NetBSD: uhci.c,v 1.115 2000/05/03 18:21:36 mycroft Exp $       */
 /*     $FreeBSD: src/sys/dev/usb/uhci.c,v 1.33 1999/11/17 22:33:41 n_hibma Exp $       */
 
 /*
@@ -3118,7 +3118,7 @@
                        break;
                case UHF_PORT_POWER:
                        /* Pretend we turned on power */
-                       err = 0;
+                       err = USBD_NORMAL_COMPLETION;
                        goto ret;
                case UHF_C_PORT_CONNECTION:
                case UHF_C_PORT_ENABLE:



Home | Main Index | Thread Index | Old Index