diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-07-27 17:02:50 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-07-27 17:02:50 +0000 |
commit | 1f71ada63ddd116ab9a88028b56851dfb3a98bcf (patch) | |
tree | 629cce9794af5df450c76a5b32a4ce799700f083 /sys/dev/pci | |
parent | 76b5fe23ec75517152a47c6eeab7134ad2ade1bd (diff) |
Back out. This is more complicated than I thought.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/cs4281.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/cs4281.c b/sys/dev/pci/cs4281.c index a200ef379a5..022d5e46390 100644 --- a/sys/dev/pci/cs4281.c +++ b/sys/dev/pci/cs4281.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cs4281.c,v 1.4 2001/07/27 15:29:54 art Exp $ */ +/* $OpenBSD: cs4281.c,v 1.5 2001/07/27 17:02:49 art Exp $ */ /* $Tera: cs4281.c,v 1.18 2000/12/27 14:24:45 tacha Exp $ */ /* @@ -236,7 +236,7 @@ struct audio_hw_if cs4281_hw_if = { cs4281_malloc, cs4281_free, cs4281_round_buffersize, - cs4281_mappage, + NULL, /* cs4281_mappage, */ cs4281_get_props, cs4281_trigger_output, cs4281_trigger_input, @@ -1448,7 +1448,9 @@ cs4281_get_props(void *addr) int retval; retval = AUDIO_PROP_INDEPENDENT | AUDIO_PROP_FULLDUPLEX; +#ifdef MMAP_READY retval |= AUDIO_PROP_MMAP; +#endif return (retval); } |