Commit Graph

17 Commits

Author SHA1 Message Date
reinoud
3b1c762eae Since SPDIF support fo the auixp driver is still half done disable it for
now since some chipset revisions will freak out on the aparent
half-initialisation. Even on my machine i can't seem to get the SPDIF led
to light up so something is wrong.

Also delay the setting of the DMA bits until after the codec detection but
before the enabling of interrupts. Note that the dma has to be explicitly
started when the device is opened.
2006-09-18 15:18:52 +00:00
christos
a98a1f3b7b Add missing initializers. 2006-08-27 23:59:40 +00:00
christos
35ca6c8b5b Fix all the -D*DEBUG* code that it was rotting away and did not even compile.
Mostly from Arnaud Lacombe, many thanks!
2006-08-17 17:11:27 +00:00
christos
63bbcb495a re-factor the pci powestate api. reviewed by gimpy 2006-06-17 23:34:26 +00:00
elad
2867b68bc3 integrate kauth. 2006-05-14 21:42:26 +00:00
rpaulo
70a6f82fa4 Coverity ID 2311: in auixp_allocate_dma_chain() free dma variable if
we are unable to allocate hardware dma descriptors.
2006-04-11 16:34:57 +00:00
reinoud
aeaada2a1b Duh! If askes to halt the input dont halt the output instead. This also
fixes the timeout on draining when closing.
2006-01-24 23:29:05 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
thorpej
6da1229118 Use ANSI function decls and static. Fix a memory leak uncovered by
doing so (auixp_freemem() was never called).
2005-06-27 21:13:09 +00:00
reinoud
c380d87cf0 Cosmetic change giving better feedback on what's going on. It would allways
tell the hardware reset timed out when it didn't. Also cleaned up code
comments.
2005-06-15 15:16:23 +00:00
reinoud
273876cfba Implement auixp AC-link reset 2005-06-12 00:02:18 +00:00
christos
bb4c90071c - const poisoning
- avoid variable shadowing.
2005-05-30 04:35:22 +00:00
fvdl
5ccd9c2654 Don't print a message when there's no interrupt to be handled, since this
can happen when one is shared. Also, don't claim it in that case.

Make some printfs more consistent.
2005-01-26 12:59:06 +00:00
simonb
11152f29d3 More KNF nits. 2005-01-13 00:48:01 +00:00
kent
986f217c29 remove empty auixp_open() and auixp_close(). They are optional.
style fixes
* Don't associate a name with the types
* The function type must be declared on a line by itself
  preceding the function.
* DO NOT initialize variables in the declarations.
* No parentheses are needed around the return value.
2005-01-12 15:54:34 +00:00
reinoud
5c590de03d Update copyright messages 2005-01-12 00:28:03 +00:00
reinoud
df06ca85e4 Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.
2005-01-12 00:05:43 +00:00