diff options
author | dfr <dfr@FreeBSD.org> | 1999-05-08 21:59:43 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1999-05-08 21:59:43 +0000 |
commit | e4989c23fe81c5060ef3a4e0e3bb1bb4430d1a76 (patch) | |
tree | ba748fea961d917292e2b4a959796c7415efbf31 /sys/pci/ohci_pci.c | |
parent | d1098a6692d3c3b23bc870a491d680451c3356a7 (diff) | |
download | FreeBSD-src-e4989c23fe81c5060ef3a4e0e3bb1bb4430d1a76.zip FreeBSD-src-e4989c23fe81c5060ef3a4e0e3bb1bb4430d1a76.tar.gz |
Move the declaration of the interrupt type from the driver structure
to the BUS_SETUP_INTR call.
Diffstat (limited to 'sys/pci/ohci_pci.c')
-rw-r--r-- | sys/pci/ohci_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/ohci_pci.c b/sys/pci/ohci_pci.c index 1aea5f1..45add26 100644 --- a/sys/pci/ohci_pci.c +++ b/sys/pci/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), }; |