Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Pretend we know how to turn on port power (it's ...
details: https://anonhg.NetBSD.org/src/rev/8efc0253f2cd
branches: trunk
changeset: 485172:8efc0253f2cd
user: augustss <augustss%NetBSD.org@localhost>
date: Fri Apr 21 15:40:01 2000 +0000
description:
Pretend we know how to turn on port power (it's always on).
diffstat:
sys/dev/usb/uhci.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r a3bc1f912476 -r 8efc0253f2cd sys/dev/usb/uhci.c
--- a/sys/dev/usb/uhci.c Fri Apr 21 15:38:55 2000 +0000
+++ b/sys/dev/usb/uhci.c Fri Apr 21 15:40:01 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uhci.c,v 1.110 2000/04/14 14:11:36 augustss Exp $ */
+/* $NetBSD: uhci.c,v 1.111 2000/04/21 15:40:01 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/uhci.c,v 1.33 1999/11/17 22:33:41 n_hibma Exp $ */
/*
@@ -3111,12 +3111,14 @@
index, UREAD2(sc, port)));
sc->sc_isreset = 1;
break;
+ case UHF_PORT_POWER:
+ /* Pretend we turned on power */
+ goto ret;
case UHF_C_PORT_CONNECTION:
case UHF_C_PORT_ENABLE:
case UHF_C_PORT_OVER_CURRENT:
case UHF_PORT_CONNECTION:
case UHF_PORT_OVER_CURRENT:
- case UHF_PORT_POWER:
case UHF_PORT_LOW_SPEED:
case UHF_C_PORT_SUSPEND:
case UHF_C_PORT_RESET:
Home |
Main Index |
Thread Index |
Old Index