From a1c9a632f08f9b43a033cf866a686dd8dca967eb Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Wed, 21 May 2003 02:14:19 +0000 Subject: when looping for more work in the interrupt handler also flush the cache --- sys/arch/hppa/gsc/if_ie_gsc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys') 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); } -- cgit v1.2.3