summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/gsc
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-05-21 02:14:19 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-05-21 02:14:19 +0000
commita1c9a632f08f9b43a033cf866a686dd8dca967eb (patch)
tree83cff67d00fc5757931d74d4a4091ba7f2adfcc7 /sys/arch/hppa/gsc
parentd768829838b46919e1b460e42c115a0d0415012d (diff)
when looping for more work in the interrupt handler also flush the cache
Diffstat (limited to 'sys/arch/hppa/gsc')
-rw-r--r--sys/arch/hppa/gsc/if_ie_gsc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/hppa/gsc/if_ie_gsc.c b/sys/arch/hppa/gsc/if_ie_gsc.c
index 835add4b813..2e18013bbda 100644
--- a/sys/arch/hppa/gsc/if_ie_gsc.c
+++ b/sys/arch/hppa/gsc/if_ie_gsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ie_gsc.c,v 1.17 2003/01/25 07:22:01 jason Exp $ */
+/* $OpenBSD: if_ie_gsc.c,v 1.18 2003/05/21 02:14:18 mickey Exp $ */
/*
* Copyright (c) 1998,1999 Michael Shalayeff
@@ -214,6 +214,7 @@ ie_gsc_intrhook(sc, where)
break;
case IE_INTR_EXIT:
case IE_INTR_LOOP:
+ fdcache(0, (vaddr_t)ie_mem, IE_SIZE);
break;
}
return 0;
@@ -387,5 +388,5 @@ ie_gsc_attach(parent, self, aux)
ie_gsc_media, IE_NMEDIA, ie_gsc_media[0]);
sc->sc_ih = gsc_intr_establish((struct gsc_softc *)parent, IPL_NET,
- ga->ga_irq, i82596_intr,sc,&sc->sc_dev);
+ ga->ga_irq, i82596_intr, sc, &sc->sc_dev);
}