aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fdc
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1999-05-08 21:59:43 +0000
committerDoug Rabson <dfr@FreeBSD.org>1999-05-08 21:59:43 +0000
commit566643e39ed0d4d3251a7212073c1e3f79ca95a2 (patch)
tree46d3248879e7658fc2fdcb97949d5ad174921b97 /sys/dev/fdc
parentc85c3a74520d8aa6e5f8cb774a2ab101f5f2698d (diff)
Notes
Diffstat (limited to 'sys/dev/fdc')
-rw-r--r--sys/dev/fdc/fdc.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index f0a082f4c13da..197975b4807f6 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.c
@@ -47,7 +47,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.140 1999/05/07 10:10:30 phk Exp $
+ * $Id: fd.c,v 1.141 1999/05/08 18:13:14 peter Exp $
*
*/
@@ -606,8 +606,8 @@ fdc_probe(device_t dev)
goto out;
}
fdc->dmachan = fdc->res_drq->r_start;
- error = BUS_SETUP_INTR(device_get_parent(dev), dev,
- fdc->res_irq, fdc_intr, fdc, &fdc->fdc_intr);
+ error = BUS_SETUP_INTR(device_get_parent(dev), dev, fdc->res_irq,
+ INTR_TYPE_BIO, fdc_intr, fdc, &fdc->fdc_intr);
/* First - lets reset the floppy controller */
outb(fdc->baseport + FDOUT, 0);
@@ -2333,7 +2333,6 @@ static device_method_t fdc_methods[] = {
static driver_t fdc_driver = {
"fdc",
fdc_methods,
- DRIVER_TYPE_BIO,
sizeof(struct fdc_data)
};
@@ -2354,7 +2353,6 @@ static device_method_t fd_methods[] = {
static driver_t fd_driver = {
"fd",
fd_methods,
- DRIVER_TYPE_BIO,
sizeof(struct fd_data)
};