From 42ed488562952fb196e40249a96cec51a6d92d2f Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Thu, 1 Aug 2002 18:30:00 +0000 Subject: whoops, last write tracker should be updated on every write to avoid the burst write problem on 7811. --- sys/dev/pci/hifn7751.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/pci/hifn7751.c') diff --git a/sys/dev/pci/hifn7751.c b/sys/dev/pci/hifn7751.c index 5dc4aa2f104..f7ba7580adf 100644 --- a/sys/dev/pci/hifn7751.c +++ b/sys/dev/pci/hifn7751.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hifn7751.c,v 1.131 2002/07/29 05:45:28 jason Exp $ */ +/* $OpenBSD: hifn7751.c,v 1.132 2002/08/01 18:29:59 jason Exp $ */ /* * Invertex AEON / Hifn 7751 driver @@ -2317,9 +2317,9 @@ hifn_write_4(sc, reggrp, reg, val) if (sc->sc_waw_lastgroup == reggrp && sc->sc_waw_lastreg == reg - 4) { bus_space_read_4(sc->sc_st1, sc->sc_sh1, HIFN_1_REVID); - sc->sc_waw_lastgroup = reggrp; - sc->sc_waw_lastreg = reg; } + sc->sc_waw_lastgroup = reggrp; + sc->sc_waw_lastreg = reg; } if (reggrp == 0) bus_space_write_4(sc->sc_st0, sc->sc_sh0, reg, val); -- cgit v1.2.3