diff options
| author | Doug Rabson <dfr@FreeBSD.org> | 1999-05-08 21:59:43 +0000 |
|---|---|---|
| committer | Doug Rabson <dfr@FreeBSD.org> | 1999-05-08 21:59:43 +0000 |
| commit | 566643e39ed0d4d3251a7212073c1e3f79ca95a2 (patch) | |
| tree | 46d3248879e7658fc2fdcb97949d5ad174921b97 /sys/dev/usb | |
| parent | c85c3a74520d8aa6e5f8cb774a2ab101f5f2698d (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/ohci_pci.c | 4 | ||||
| -rw-r--r-- | sys/dev/usb/uhci_pci.c | 6 | ||||
| -rw-r--r-- | sys/dev/usb/uhub.c | 1 | ||||
| -rw-r--r-- | sys/dev/usb/usb_port.h | 1 |
4 files changed, 5 insertions, 7 deletions
diff --git a/sys/dev/usb/ohci_pci.c b/sys/dev/usb/ohci_pci.c index 1aea5f1db15db..45add2621477f 100644 --- a/sys/dev/usb/ohci_pci.c +++ b/sys/dev/usb/ohci_pci.c @@ -161,7 +161,8 @@ ohci_pci_attach(device_t dev) return ENOMEM; } - error = bus_setup_intr(dev, res, (driver_intr_t *) ohci_intr, sc, &ih); + error = bus_setup_intr(dev, res, INTR_TYPE_BIO, + (driver_intr_t *) ohci_intr, sc, &ih); if (error) { device_printf(dev, "could not setup irq\n"); return error; @@ -231,7 +232,6 @@ static device_method_t ohci_methods[] = { static driver_t ohci_driver = { "ohci", ohci_methods, - DRIVER_TYPE_BIO, sizeof(ohci_softc_t), }; diff --git a/sys/dev/usb/uhci_pci.c b/sys/dev/usb/uhci_pci.c index c00a6bf8b727a..775ca44c82624 100644 --- a/sys/dev/usb/uhci_pci.c +++ b/sys/dev/usb/uhci_pci.c @@ -1,4 +1,4 @@ -/* FreeBSD $Id: uhci_pci.c,v 1.6 1999/04/16 21:22:53 peter Exp $ */ +/* FreeBSD $Id: uhci_pci.c,v 1.7 1999/05/01 23:30:06 n_hibma Exp $ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -158,7 +158,8 @@ uhci_pci_attach(device_t dev) return ENOMEM; } - error = bus_setup_intr(dev, res, (driver_intr_t *) uhci_intr, sc, &ih); + error = bus_setup_intr(dev, res, INTR_TYPE_BIO, + (driver_intr_t *) uhci_intr, sc, &ih); if (error) { device_printf(dev, "could not setup irq\n"); return error; @@ -245,7 +246,6 @@ static device_method_t uhci_methods[] = { static driver_t uhci_driver = { "uhci", uhci_methods, - DRIVER_TYPE_BIO, sizeof(uhci_softc_t), }; diff --git a/sys/dev/usb/uhub.c b/sys/dev/usb/uhub.c index 2b189762babb8..4863a1eaee372 100644 --- a/sys/dev/usb/uhub.c +++ b/sys/dev/usb/uhub.c @@ -99,7 +99,6 @@ static device_method_t uhubroot_methods[] = { static driver_t uhubroot_driver = { "uhub", uhubroot_methods, - DRIVER_TYPE_MISC, sizeof(struct uhub_softc) }; #endif diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h index 186695899e8ae..87ed0d3db464a 100644 --- a/sys/dev/usb/usb_port.h +++ b/sys/dev/usb/usb_port.h @@ -160,7 +160,6 @@ static device_method_t __CONCAT(dname,_methods)[] = { \ static driver_t __CONCAT(dname,_driver) = { \ #dname, \ __CONCAT(dname,_methods), \ - DRIVER_TYPE_MISC, \ sizeof(struct __CONCAT(dname,_softc)) \ } |
