From 3f088046680665cdb38ad3e1945d38b02fcd09ca Mon Sep 17 00:00:00 2001 From: augustss Date: Fri, 21 Apr 2000 15:40:01 +0000 Subject: [PATCH] Pretend we know how to turn on port power (it's always on). --- sys/dev/usb/uhci.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index fba63fb953c6..69bc780ddb81 100644 --- a/sys/dev/usb/uhci.c +++ b/sys/dev/usb/uhci.c @@ -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 @@ uhci_root_ctrl_start(xfer) 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: