From 152844f11645837cb5948c638f34c527438267ab Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Sun, 19 Apr 2009 16:10:41 +0000 Subject: Use correct device index for Ethernet interrupt handler. --- sys/arch/sgi/pci/ioc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch') diff --git a/sys/arch/sgi/pci/ioc.c b/sys/arch/sgi/pci/ioc.c index ee0ce4a604e..db24859d6ad 100644 --- a/sys/arch/sgi/pci/ioc.c +++ b/sys/arch/sgi/pci/ioc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ioc.c,v 1.7 2009/04/19 12:51:44 miod Exp $ */ +/* $OpenBSD: ioc.c,v 1.8 2009/04/19 16:10:40 jsing Exp $ */ /* * Copyright (c) 2008 Joel Sing. @@ -556,8 +556,8 @@ ioc_intr_ethernet(void *v) { struct ioc_softc *sc = (struct ioc_softc *)v; - /* this interrupt source is not shared between several devices. */ - return ioc_intr_dispatch(sc, IOCDEV_EF); + /* This interrupt source is not shared between several devices. */ + return ioc_intr_dispatch(sc, IOCDEV_EF - 1); } int -- cgit v1.2.3