diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2000-01-20 22:24:35 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2000-01-20 22:24:35 +0000 |
commit | ac7818da203e78d3ce5712161676189545230d9b (patch) | |
tree | 0ac6312f6de5fa613a895428606b3f6dad59cb21 /sys/dev/usb/uhci.c | |
parent | c5a17a034f1da1b9574226a95740c0b74196639f (diff) | |
download | FreeBSD-src-ac7818da203e78d3ce5712161676189545230d9b.zip FreeBSD-src-ac7818da203e78d3ce5712161676189545230d9b.tar.gz |
Add support for DEVICE_SUSPEND, DEVICE_RESUME and DEVICE_SHUTDOWN
methods for USB devices.
However: with none of the devices I have here suspend seems to work
properly. This is probably a bug in uhci_power which I still have to
look at.
Prodded and pushed by: Christopher Masto <chris@netmonger.net>
Diffstat (limited to 'sys/dev/usb/uhci.c')
-rw-r--r-- | sys/dev/usb/uhci.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index 3e907d8..8d754b8 100644 --- a/sys/dev/usb/uhci.c +++ b/sys/dev/usb/uhci.c @@ -150,10 +150,6 @@ struct uhci_pipe { LIST_HEAD(, uhci_intr_info) uhci_ii_free; static void uhci_busreset __P((uhci_softc_t *)); -#if defined(__NetBSD__) || defined(__OpenBSD__) -static void uhci_shutdown __P((void *v)); -static void uhci_power __P((int, void *)); -#endif static usbd_status uhci_run __P((uhci_softc_t *, int run)); static uhci_soft_td_t *uhci_alloc_std __P((uhci_softc_t *)); static void uhci_free_std __P((uhci_softc_t *, uhci_soft_td_t *)); @@ -543,7 +539,6 @@ uhci_freex(bus, xfer) SIMPLEQ_INSERT_HEAD(&sc->sc_free_xfers, xfer, next); } -#if defined(__NetBSD__) || defined(__OpenBSD__) /* * Shut down the controller when the system is going down. */ @@ -626,7 +621,6 @@ uhci_power(why, v) } splx(s); } -#endif #ifdef UHCI_DEBUG static void |