mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-22 16:44:32 +01:00
Use bus_setup_intr in preference to BUS_SETUP_INTR.
This commit is contained in:
parent
29394b9b5c
commit
b593dd82f7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135238
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user