Use bus_setup_intr in preference to BUS_SETUP_INTR.

This commit is contained in:
Warner Losh 2004-09-14 17:28:51 +00:00
parent 29394b9b5c
commit b593dd82f7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135238

View File

@ -1686,7 +1686,7 @@ fdc_attach(device_t dev)
device_printf(dev, "does not respond\n");
return (error);
}
error = BUS_SETUP_INTR(device_get_parent(dev), dev, fdc->res_irq,
error = bus_setup_intr(dev, fdc->res_irq,
INTR_TYPE_BIO | INTR_ENTROPY | INTR_FAST | INTR_MPSAFE,
fdc_intr, fdc, &fdc->fdc_intr);
if (error) {