summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorNick Hibma <n_hibma@FreeBSD.org>1999-10-07 18:56:10 +0000
committerNick Hibma <n_hibma@FreeBSD.org>1999-10-07 18:56:10 +0000
commit82799545e3cc47deede202bebb3413cdc327b52c (patch)
treebf6854ef3dc903a63d5b1b5026cac2b5475513c6 /sys/dev/usb
parent271ef6615e26a76128e97c9896d690d7a33ba5db (diff)
Notes
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/uhci_pci.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/dev/usb/uhci_pci.c b/sys/dev/usb/uhci_pci.c
index 1f40ebe7b4e3..7dffa15f6db5 100644
--- a/sys/dev/usb/uhci_pci.c
+++ b/sys/dev/usb/uhci_pci.c
@@ -93,9 +93,7 @@ static const char *uhci_device_generic = "UHCI (generic) USB controller";
static int
uhci_pci_suspend(device_t self)
{
- uhci_softc_t *sc;
-
- sc = device_get_softc(self);
+ uhci_softc_t *sc = device_get_softc(self);
bus_generic_suspend(self);
return 0;
@@ -104,10 +102,11 @@ uhci_pci_suspend(device_t self)
static int
uhci_pci_resume(device_t self)
{
- uhci_softc_t *sc;
+ uhci_softc_t *sc = device_get_softc(self);
- sc = device_get_softc(self);
+#if 0
uhci_reset(sc);
+#endif
bus_generic_resume(self);
return 0;