summaryrefslogtreecommitdiffstats
path: root/sys/pci/uhci_pci.c
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1999-05-08 21:59:43 +0000
committerdfr <dfr@FreeBSD.org>1999-05-08 21:59:43 +0000
commite4989c23fe81c5060ef3a4e0e3bb1bb4430d1a76 (patch)
treeba748fea961d917292e2b4a959796c7415efbf31 /sys/pci/uhci_pci.c
parentd1098a6692d3c3b23bc870a491d680451c3356a7 (diff)
downloadFreeBSD-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/uhci_pci.c')
-rw-r--r--sys/pci/uhci_pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/uhci_pci.c b/sys/pci/uhci_pci.c
index c00a6bf..775ca44 100644
--- a/sys/pci/uhci_pci.c
+++ b/sys/pci/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),
};
OpenPOWER on IntegriCloud