Commit Graph

19 Commits

Author SHA1 Message Date
uwe
b3935a6934 Use EBDMA_BURST_SIZE_16. Introduce EBus specific round_blocksize to
make block size multiple of 16 words.  No point in using
round_buffersize that returns the argument unchanged, so just NULL it
in audio_hw_if.
2003-09-10 10:40:40 +00:00
lukem
365cbd9428 add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
wiz
1ffa7b76c4 DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
pk
725a6aebf7 Remove the `flags' argument from bus_intr_establish(). 2002-12-10 13:44:47 +00:00
thorpej
c9b3657ce9 Add trailing ; to CFATTACH_DECL. 2002-10-02 16:33:28 +00:00
thorpej
12b8e3917b Use CFATTACH_DECL(). 2002-09-30 20:54:25 +00:00
thorpej
f818766afe Declare all cfattach structures const. 2002-09-27 20:31:45 +00:00
uwe
3e855fb4c2 Prettify error message. 2002-04-04 17:41:09 +00:00
martin
524c49ba6a Fix some handle/tag confusion. This makes it compile on sparc64 again.
Since sparc ignores tag's (/brick sparc) this slipped through when testing
on sparc.
2002-03-22 11:52:07 +00:00
eeh
9c8153181f Do not even bother trying to use the mappings provided by the PROM. 2002-03-21 21:33:57 +00:00
uwe
284be9ba0c Remove struct ebus_dmac_reg to discourage indiscriminate usage of
BUS_SPACE_MAP_LINEAR on sparc64.  Requested by eeh.
2002-03-21 04:15:29 +00:00
uwe
fe61b5717e Drop BUS_SPACE_MAP_LINEAR and properly bus_space_*-ify this so that it
uses accessors.  Requested by eeh.
2002-03-21 04:09:27 +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
martin
a03fa01ccc Remove EBUS_PADDR_FROM_REG, as it does not realy creates a paddr on sparc.
It is superceeded by EBUS_ADDR_FROM_REG.
2002-03-01 11:49:06 +00:00
uwe
d2be07c591 Shared ebusvar.h for sparc and sparc64.
NB: ebus_attach_args member names are singular to be consistent with SBus.
sparc64 version uses plural, so update sparc64 drivers when converting them
to use this shared header
2002-02-18 04:44:41 +00:00
uwe
ea8decf111 Add DMA definitions.
Add some sparc32 related comments.
2002-02-18 03:43:29 +00:00
mrg
18b82a6732 make this "MI"; nothing different between this and the SPARC version. 2001-09-07 15:50:49 +00:00