diff options
author | 2009-04-19 16:10:40 +0000 | |
---|---|---|
committer | 2009-04-19 16:10:40 +0000 | |
commit | 346b0921528d2f7ee9bda349ec9c2c2cda52a3e1 (patch) | |
tree | 0344a860b496ea33c67ccd4de79c449b6c503774 | |
parent | Add a new EX_FILLED flag to make extent_create() create an extent map that (diff) | |
download | wireguard-openbsd-346b0921528d2f7ee9bda349ec9c2c2cda52a3e1.tar.xz wireguard-openbsd-346b0921528d2f7ee9bda349ec9c2c2cda52a3e1.zip |
Use correct device index for Ethernet interrupt handler.
-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 |