o break newbus api: add a new argument of type driver_filter_t to

bus_setup_intr()

  o add an int return code to all fast handlers

  o retire INTR_FAST/IH_FAST

  For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current

  Approved by: re (implicit?)
This commit is contained in:
piso 2007-02-23 15:55:37 +00:00
parent a29076f446
commit 817755e26a
2 changed files with 2 additions and 2 deletions

View File

@ -194,7 +194,7 @@ aha_mca_attach (device_t dev)
}
error = bus_setup_intr(dev, sc->irq, INTR_TYPE_CAM | INTR_ENTROPY,
aha_intr, sc, &ih);
NULL, aha_intr, sc, &ih);
if (error) {
device_printf(dev, "Unable to register interrupt handler\n");
goto bad;

View File

@ -128,7 +128,7 @@ ep_mca_attach(device_t dev)
if ((error = ep_attach(sc)))
goto bad;
if ((error = bus_setup_intr(dev, sc->irq, INTR_TYPE_NET | INTR_MPSAFE, ep_intr,
if ((error = bus_setup_intr(dev, sc->irq, INTR_TYPE_NET | INTR_MPSAFE, NULL, ep_intr,
sc, &sc->ep_intrhand))) {
device_printf(dev, "bus_setup_intr() failed! (%d)\n", error);
goto bad;