diff options
author | nyan <nyan@FreeBSD.org> | 2000-05-19 15:41:52 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2000-05-19 15:41:52 +0000 |
commit | 61405e3c6a0ec399d3c1d7e9d9361876599a7d7c (patch) | |
tree | c35009e393b73016767dc7acce0c89fe29881542 /sys/dev/sound/pci/neomagic.c | |
parent | 6ac8bb3941e2a536b2fa4041df0691071f7c04f7 (diff) | |
download | FreeBSD-src-61405e3c6a0ec399d3c1d7e9d9361876599a7d7c.zip FreeBSD-src-61405e3c6a0ec399d3c1d7e9d9361876599a7d7c.tar.gz |
Supported the mss on PC-98 and Sound Blaster 98.
Submitted by: "T.Yamaoka" <taka@windows.squares.net>
Diffstat (limited to 'sys/dev/sound/pci/neomagic.c')
-rw-r--r-- | sys/dev/sound/pci/neomagic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/neomagic.c b/sys/dev/sound/pci/neomagic.c index 8c43d6b..622d9d7 100644 --- a/sys/dev/sound/pci/neomagic.c +++ b/sys/dev/sound/pci/neomagic.c @@ -349,7 +349,7 @@ nmchan_init(void *devinfo, snd_dbuf *b, pcm_channel *c, int dir) ch = (dir == PCMDIR_PLAY)? &sc->pch : &sc->rch; ch->buffer = b; ch->buffer->bufsize = NM_BUFFSIZE; - ch->buffer->buf = (u_int8_t *)(rman_get_bushandle(sc->buf) + chnbuf); + ch->buffer->buf = (u_int8_t *)(rman_get_start(sc->buf) + chnbuf); if (bootverbose) device_printf(sc->dev, "%s buf %p\n", (dir == PCMDIR_PLAY)? "play" : "rec", ch->buffer->buf); |