Fix bus_setup_intr(); I changed exintr() to take a pointer to ex_softc

but didn't change bus_setup_intr() to pass the softc in.

Submitted by:	Warner Losh <imp@village.org>
This commit is contained in:
mdodd 1999-11-03 15:45:14 +00:00
parent aa6c012138
commit d16bedd42a
2 changed files with 2 additions and 2 deletions

View File

@ -363,7 +363,7 @@ int ex_attach(device_t dev)
}
error = bus_setup_intr(dev, sc->irq, INTR_TYPE_NET,
exintr, (void *)unit, &ih);
exintr, (void *)sc, &ih);
if (error) {
device_printf(dev, "bus_setup_intr() failed!\n");

View File

@ -363,7 +363,7 @@ int ex_attach(device_t dev)
}
error = bus_setup_intr(dev, sc->irq, INTR_TYPE_NET,
exintr, (void *)unit, &ih);
exintr, (void *)sc, &ih);
if (error) {
device_printf(dev, "bus_setup_intr() failed!\n");