summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/usb/uhci_pci.c4
-rw-r--r--sys/pci/uhci_pci.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/uhci_pci.c b/sys/dev/usb/uhci_pci.c
index c05d48b..779eb56 100644
--- a/sys/dev/usb/uhci_pci.c
+++ b/sys/dev/usb/uhci_pci.c
@@ -93,7 +93,7 @@ static const char *uhci_device_generic = "UHCI (generic) USB controller";
static int
uhci_pci_suspend(device_t self)
{
- uhci_softc_t *sc = device_get_softc(self);
+
bus_generic_suspend(self);
return 0;
@@ -102,9 +102,9 @@ uhci_pci_suspend(device_t self)
static int
uhci_pci_resume(device_t self)
{
+#if 0
uhci_softc_t *sc = device_get_softc(self);
-#if 0
uhci_reset(sc);
#endif
bus_generic_resume(self);
diff --git a/sys/pci/uhci_pci.c b/sys/pci/uhci_pci.c
index c05d48b..779eb56 100644
--- a/sys/pci/uhci_pci.c
+++ b/sys/pci/uhci_pci.c
@@ -93,7 +93,7 @@ static const char *uhci_device_generic = "UHCI (generic) USB controller";
static int
uhci_pci_suspend(device_t self)
{
- uhci_softc_t *sc = device_get_softc(self);
+
bus_generic_suspend(self);
return 0;
@@ -102,9 +102,9 @@ uhci_pci_suspend(device_t self)
static int
uhci_pci_resume(device_t self)
{
+#if 0
uhci_softc_t *sc = device_get_softc(self);
-#if 0
uhci_reset(sc);
#endif
bus_generic_resume(self);
OpenPOWER on IntegriCloud