summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2000-08-28 21:02:18 +0000
committerdfr <dfr@FreeBSD.org>2000-08-28 21:02:18 +0000
commite2deb384a887a3973b69888c8918b33e3987e986 (patch)
treea4f35fd4a36150de47d9591cc33f58417f8f6138
parente86657bc59909662a6f245c7d1651597a47ae9c4 (diff)
downloadFreeBSD-src-e2deb384a887a3973b69888c8918b33e3987e986.zip
FreeBSD-src-e2deb384a887a3973b69888c8918b33e3987e986.tar.gz
Fix disordered arguments to bus_space_barrier().
-rw-r--r--sys/dev/sound/pci/ds1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/ds1.c b/sys/dev/sound/pci/ds1.c
index 6932ee0..1932887 100644
--- a/sys/dev/sound/pci/ds1.c
+++ b/sys/dev/sound/pci/ds1.c
@@ -265,7 +265,7 @@ static void
wrl(struct sc_info *sc, u_int32_t *ptr, u_int32_t 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 */
OpenPOWER on IntegriCloud