diff options
| author | Cameron Grant <cg@FreeBSD.org> | 2000-05-12 02:32:01 +0000 |
|---|---|---|
| committer | Cameron Grant <cg@FreeBSD.org> | 2000-05-12 02:32:01 +0000 |
| commit | d7b2ac81afb42c0e122629b3a0d3c986acaff3a5 (patch) | |
| tree | b82bd69ef5a21975ac7391a6a02f459a3d104e34 /sys/dev/sound | |
| parent | 403d524e65bf51ba2304e8867608a7b5672be840 (diff) | |
Notes
Diffstat (limited to 'sys/dev/sound')
| -rw-r--r-- | sys/dev/sound/isa/ad1816.c | 1 | ||||
| -rw-r--r-- | sys/dev/sound/isa/es1888.c | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/sound/isa/ad1816.c b/sys/dev/sound/isa/ad1816.c index e1bc75ed7a29..549ed51b735d 100644 --- a/sys/dev/sound/isa/ad1816.c +++ b/sys/dev/sound/isa/ad1816.c @@ -413,6 +413,7 @@ ad1816chan_trigger(void *data, int go) if (!(io_rd(ad1816, reg) & AD1816_ENABLE)) { int cnt = ((ch->buffer->dl) >> 2) - 1; ad1816_write(ad1816, wr? 8 : 10, cnt); /* count */ + ad1816_write(ad1816, wr? 9 : 11, 0); /* reset cur cnt */ ad1816_write(ad1816, 1, ad1816_read(ad1816, 1) | (wr? 0x8000 : 0x4000)); /* enable int */ /* enable playback */ diff --git a/sys/dev/sound/isa/es1888.c b/sys/dev/sound/isa/es1888.c index ac166b0c3e91..f1c32b561ffa 100644 --- a/sys/dev/sound/isa/es1888.c +++ b/sys/dev/sound/isa/es1888.c @@ -29,6 +29,7 @@ #include <dev/sound/pcm/sound.h> #include <dev/sound/isa/sb.h> +#ifdef __alpha__ static int es1888_dspready(u_int32_t port) { @@ -81,7 +82,7 @@ es1888_configuration_mode(void) { /* * Emit the Read-Sequence-Key to enter configuration - * mode. Note this only works after a reset (or after bit 2 of + * mode. Note this only works after a reset (or after bit 2 of * mixer register 0x40 is set). * * 3 reads from 0x229 in a row guarantees reset of key @@ -106,6 +107,7 @@ es1888_set_port(u_int32_t port) es1888_configuration_mode(); inb(port); } +#endif static void es1888_identify(driver_t *driver, device_t parent) |
