Fix disordered arguments to bus_space_barrier().

This commit is contained in:
Doug Rabson 2000-08-28 21:02:18 +00:00
parent 4e2499823f
commit e6171135a7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65171

View File

@ -265,7 +265,7 @@ static void
wrl(struct sc_info *sc, u_int32_t *ptr, u_int32_t val) wrl(struct sc_info *sc, u_int32_t *ptr, u_int32_t val)
{ {
*(volatile u_int32_t *)ptr = val; *(volatile u_int32_t *)ptr = val;
bus_space_barrier(sc->sh, sc->st, 0, 0, BUS_SPACE_BARRIER_WRITE); bus_space_barrier(sc->st, sc->sh, 0, 0, BUS_SPACE_BARRIER_WRITE);
} }
/* ac97 codec */ /* ac97 codec */