mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 14:17:06 -04:00
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
fa52394878
commit
5178bd8bde
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue