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:
parent
aa6c012138
commit
d16bedd42a
@ -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");
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user