diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-08-01 18:30:00 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-08-01 18:30:00 +0000 |
commit | 42ed488562952fb196e40249a96cec51a6d92d2f (patch) | |
tree | f5f078b6e5333694474d80219d15337f13428c19 /sys | |
parent | 4ff6683542ff75e7606e1e8fb5647aea921b0d60 (diff) |
whoops, last write tracker should be updated on every write to avoid the burst write problem on 7811.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/hifn7751.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |