Commit Graph

12397 Commits

Author SHA1 Message Date
tacha 52d9a1d306 Use appropriate emulation functions and set ADC rate(not DAC date!) for recording.
Now /dev/audio with auich becomes usable.
2002-03-15 07:16:10 +00:00
eeh 5f84db4b34 Get rid of bus_type_t. 2002-03-15 07:00:34 +00:00
chs 1ba402084f assume that 21143 SROM info blocks are in extended format (as the spec
requires), even if the bit to indicate this is not set.
this makes Phobos P430 4-port cards work.
2002-03-14 04:44:34 +00:00
chs e444e2ddd4 regen 2002-03-14 04:41:09 +00:00
chs dc3bc0c490 add support for LXT971 PHYs. 2002-03-14 04:40:26 +00:00
ad 5d95c4499b Fix botch in previous. 2002-03-13 23:17:18 +00:00
wiz 3c20f3f606 Fix some typos in comments. 2002-03-13 22:23:50 +00:00
ad 0cf4c60b83 zskbd_keydesctab -> lkkbd_keydesctab 2002-03-13 15:21:30 +00:00
ad 690cf19e33 Give wskbdmap_lk201.c its own attribute. 2002-03-13 15:18:19 +00:00
ad b89e39b91a Reorganise the wsfont stuff slightly so that multiple display adapters
with different bit/byte order requirements can co-exist happily.
2002-03-13 15:05:13 +00:00
ad cf9ef8999f Clean up. 2002-03-13 10:42:56 +00:00
ad 4a032cc0fb Set RI_FORCEMONO so that wscons doesn't try to use colors (mfb is an 8-bpp
device with a depth of 1).
2002-03-13 10:07:14 +00:00
chs 5d8f761ba0 support the 4-port boards with the Cogent OUI as well. 2002-03-13 05:05:38 +00:00
yamt 05bfd84f7c fix a bug that timevals are compared incorrectly. 2002-03-13 04:36:49 +00:00
chs fcbc075a7a support ANA-6944A boards (in addition to ANA-6922). 2002-03-13 04:15:05 +00:00
kent 3d212e0ce0 Fix a typo in a comment. 2002-03-13 03:48:19 +00:00
kent 33525eb269 Accept 24bit precision. 2002-03-12 15:12:03 +00:00
uwe 4b6b8f2e41 Fix whitespace nits (oops). 2002-03-12 06:00:42 +00:00
uwe a05702eaac Rework the driver to add EBus DMA support and improve APC DMA support.
Audio-related stuff is left almost intact.

* support audiocs at ebus playback and capture
    tested on krups and u5 (thanks, martin)
* make first attempt at supporting audiocs at sbus capture
* nb: full-duplex is not tested
* while here, fix CSAUDIO_MONITOR_MUTE to be of CSAUDIO_MONITOR_CLASS
    i.e. outputs.monitor.mute -> monitor.monitor.mute

Ok by pk, eeh.
2002-03-12 04:48:28 +00:00
uwe 40a8bc1d34 Drop ebus_bus_map(), use plain bus_space_map() instead. 2002-03-12 00:32:30 +00:00
joda 642cb4cedf regen 2002-03-11 23:19:01 +00:00
joda e981250262 some devices found in a dell machine 2002-03-11 23:17:37 +00:00
pk 56d115aa57 `bus_type_t' is gone. 2002-03-11 16:01:57 +00:00
pk f61bdee8e7 Get rid of `bus_type_t' and use BUS_ADDR() (in sbus_bus_map()) to construct
a `bus_addr_t' to pass on to bus_space_map().

Drop `va' argument from sbus_bus_map(); it should not be used by MI Sbus
drivers.
2002-03-11 16:00:55 +00:00
kent 289a98c007 Fix a typo in a comment.
Remove some unnecessary whitespace.
2002-03-11 14:59:57 +00:00
christos 071d0cb34b Search for space to attach a 3c562d correctly. From Hayakawa Koichi
<haya@netbsd.org>, thanks.
2002-03-10 22:28:02 +00:00
christos 07fb02cbcb Undo my previous change that worked around a problem attaching a 3c562d.
This is handled correctly now in the driver itself. From Hayakawa Koichi
<haya@netbsd.org>, thanks.
2002-03-10 22:27:04 +00:00
christos 7ef1545f01 PR/15839: Peter Seebach: PS/2 driver improvements 2002-03-10 22:21:21 +00:00
lukem cd19d52695 * rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
are now consistently named
* fold opt_mdsize.h into opt_md.h
2002-03-10 19:56:37 +00:00
augustss 42314426c9 Regen. 2002-03-10 19:55:55 +00:00
augustss 861a9e05a1 Add some WLAN devices. 2002-03-10 19:55:23 +00:00
augustss 101cc60a48 Don't define ACPI_BUT_DEBUG here. 2002-03-10 19:55:01 +00:00
cyber 7e4db265ee _io_alloc and _io_map work in pairs, dont try to do anything with the data
until afterward the _io_map.
In some pcmcia chipsets the _io_alloc is a noop.
2002-03-10 19:20:50 +00:00
augustss 7cf6202cca Fix a typo. 2002-03-10 18:46:35 +00:00
kent 8574f78760 auich_set_params() sets 2 to hw_channels whenever monaural format is requested. 2002-03-10 16:48:58 +00:00
martin e41836739f Remove another old debug message.
Return the real mapping size in *_mem_map and *_io_map.
Minor cleanup.
2002-03-10 16:18:44 +00:00
martin df4ebf76f9 Regen (seems I forgot that after TDK/Elsa ISDN MCall addition) 2002-03-10 15:13:52 +00:00
jmcneill 023d9c6eb8 Correctly enable/disable the low-pass filter, depending on the sample rate.
This fixes timing issues when playing back at 48kHz (noticable using
pkgsrc/graphics/mplayer and DivX ;-) streams).
2002-03-10 14:57:31 +00:00
ichiro 8596bfd754 fix 128bit WEP work with Prism2 Card.
from FreeBSD
2002-03-10 14:43:38 +00:00
itohy d5f39a2d9c Add explicit support of OPL3-SA2 (YMF711).
Not well tested....
2002-03-10 13:57:10 +00:00
martin e889f54f2f Adjust some unused register offsets to the new world order and fix a
comment.
2002-03-10 11:55:50 +00:00
martin 7e219b424d Remove RAY_USE_AMEM. This option claimed to use attribute memory access
for the registers, which was true, but actually the same as the driver
did without this option.

What it realy did is work around a stupid bug in the driver that did not
use the "offset" result from the pcmcia_mem_map call mapping the CIS memory.

We got away with this for a long time since on i386 and typical pcmcia
bridged the offset returned will be 0. It always failed (without
RAY_USE_AMEM=1) if the check for a different function CCR aliases in pcmcia.c
failed and mapped the CCR base new - this time at the CCR base of this
function (0xf00), so all register acceses (that had 0xf00 added) happened
way off in neverland.

Now we do not hardcode the CCR base to the register definitions, but
instead use the offset returned by pcmcia_mem_map. This makes the driver
work with and without CCR base aliases being found.
2002-03-10 11:32:18 +00:00
jdolecek 6cfc5b796f use TAILQ_FIRST()/TAILQ_NEXT()/TAILQ_EMPTY macros rather than dereferencing
appropriate structure members
2002-03-10 08:55:40 +00:00
augustss 5cd0234a24 Regen. 2002-03-10 02:58:35 +00:00
augustss bb70169d38 Add vendor Intersil. 2002-03-10 02:58:14 +00:00
augustss 00c6ccf059 Regen. 2002-03-10 02:55:26 +00:00
augustss 61b69e8d60 Add Pen Driver USB Disk. 2002-03-10 02:54:57 +00:00
augustss c93a7a4d14 Add a nic I don't really know much about, but it's used on my D-Link card. 2002-03-10 00:16:47 +00:00
kent 9fad006955 Move prototypes of sampling rate functions to aurateconvproto.h. 2002-03-09 20:35:28 +00:00
kent a1f23f2a90 Move sampling rate conversion functions to aurateconv.c.
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)
2002-03-09 20:30:42 +00:00