diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2009-04-19 16:10:41 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2009-04-19 16:10:41 +0000 |
commit | 152844f11645837cb5948c638f34c527438267ab (patch) | |
tree | 25e793fc794438cb99d886ac8c458987e1599516 /sys/arch | |
parent | 43dfa343205f93e307354f2eb9bb65eee19711ed (diff) |
Use correct device index for Ethernet interrupt handler.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sgi/pci/ioc.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 |