From fe310de802ddb8e453de4e7fd7e7d6302d071905 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Thu, 22 Oct 1998 05:58:45 +0000 Subject: Initialize isa_devtab entries for interrupt handlers in individual device drivers, not in ioconf.c. Use a different hack in isa_device.h so that a new config(8) is not required yet. pc98 parts approved by: kato --- sys/dev/ed/if_ed.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/dev/ed') diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c index 0fed19a15526..530932781ea5 100644 --- a/sys/dev/ed/if_ed.c +++ b/sys/dev/ed/if_ed.c @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ed.c,v 1.144 1998/08/24 02:28:15 bde Exp $ + * $Id: if_ed.c,v 1.145 1998/09/13 22:15:44 eivind Exp $ */ /* @@ -138,6 +138,7 @@ static int ed_attach __P((struct ed_softc *, int, int)); static int ed_attach_isa __P((struct isa_device *)); static void ed_init __P((void *)); +static ointhand2_t edintr; static int ed_ioctl __P((struct ifnet *, u_long, caddr_t)); static int ed_probe __P((struct isa_device *)); static void ed_start __P((struct ifnet *)); @@ -1739,6 +1740,7 @@ ed_attach_isa(isa_dev) struct ed_softc *sc = &ed_softc[unit]; int flags = isa_dev->id_flags; + isa_dev->id_ointr = edintr; return ed_attach(sc, unit, flags); } @@ -2567,7 +2569,7 @@ edintr_sc(sc) } } -void +static void edintr(unit) int unit; { -- cgit v1.3