diff options
author | mdodd <mdodd@FreeBSD.org> | 1999-11-03 15:45:14 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 1999-11-03 15:45:14 +0000 |
commit | d16bedd42a4958ed282a87fa1df7b1271937a0bf (patch) | |
tree | b92d752dac2b69af88cd3d013b184d402dfb9853 /sys | |
parent | aa6c0121388c39f105b9b3b51279313b47ad4af7 (diff) | |
download | FreeBSD-src-d16bedd42a4958ed282a87fa1df7b1271937a0bf.zip FreeBSD-src-d16bedd42a4958ed282a87fa1df7b1271937a0bf.tar.gz |
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>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ex/if_ex.c | 2 | ||||
-rw-r--r-- | sys/i386/isa/if_ex.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ex/if_ex.c b/sys/dev/ex/if_ex.c index 8de6293..2472301 100644 --- a/sys/dev/ex/if_ex.c +++ b/sys/dev/ex/if_ex.c @@ -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"); diff --git a/sys/i386/isa/if_ex.c b/sys/i386/isa/if_ex.c index 8de6293..2472301 100644 --- a/sys/i386/isa/if_ex.c +++ b/sys/i386/isa/if_ex.c @@ -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"); |