diff options
-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"); |