summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ohci_pci.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2007-06-21 14:42:34 +0000
committerimp <imp@FreeBSD.org>2007-06-21 14:42:34 +0000
commitd4fd7053d478e89ca3be425ced1a36ebf68d553e (patch)
treeed0dd4914af2fd4bc48d4d26d7e7b701359acf47 /sys/dev/usb/ohci_pci.c
parentac6798a72c8fe23cdd0de3feb6488518edba738c (diff)
downloadFreeBSD-src-d4fd7053d478e89ca3be425ced1a36ebf68d553e.zip
FreeBSD-src-d4fd7053d478e89ca3be425ced1a36ebf68d553e.tar.gz
Latest round of usb cleanups:
o Consistently use device_foo_t and bus_foo_t for functions implementing device_foo and bus_foo respectively. Adjust those routines that were wrong (we should do this throughout the tree). o make all the modules depend on usb. Otherwise these modules won't load. o ucycom doesn't need usb_port.h o Minor unifdefing o uhub, umass, ums, urio, uscanner conversion complete. o ukbd: Remove the NO_SET_PROTO quirk (fixes a PR 77940). NetBSD removed their check and setting the proto a long time ago. o umodem panic fixed. UQ_ASSUME_CM_OVER_DATA quirk removed because I've never seen a umodem that needed this rejection for proection (this gets rid of ~20% of the quirks). Approved by: re@ (kensmith) PR: 77940
Diffstat (limited to 'sys/dev/usb/ohci_pci.c')
-rw-r--r--sys/dev/usb/ohci_pci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/ohci_pci.c b/sys/dev/usb/ohci_pci.c
index 914342d..05d4cb9 100644
--- a/sys/dev/usb/ohci_pci.c
+++ b/sys/dev/usb/ohci_pci.c
@@ -128,10 +128,10 @@ static const char *ohci_device_generic = "OHCI (generic) USB controller";
#define PCI_OHCI_BASE_REG 0x10
-static int ohci_pci_attach(device_t self);
-static int ohci_pci_detach(device_t self);
-static int ohci_pci_suspend(device_t self);
-static int ohci_pci_resume(device_t self);
+static device_attach_t ohci_pci_attach;
+static device_detach_t ohci_pci_detach;
+static device_suspend_t ohci_pci_suspend;
+static device_resume_t ohci_pci_resume;
static int
ohci_pci_suspend(device_t self)
OpenPOWER on IntegriCloud