cg
dfec3bcff1
exclude chips with subdevices specified on a list of non-ac97 chips
2000-01-11 10:37:16 +00:00
cg
719aa81c83
make dsp_read() assert that it has a read channel, not a write channel
...
Submitted by: green
2000-01-10 07:05:15 +00:00
cg
5f4f7388c4
don't complain about bad intrs unless we get 1000 of them consecutively
...
whilst we are playing or recording. since we should irq ~20 times/sec when
active, this should never trigger. in theory. if it never does trigger,
the check will be removed.
2000-01-10 06:19:20 +00:00
cg
3452c8e1b7
general tidyup
2000-01-10 03:22:28 +00:00
cg
bbb4b43d9a
return the sample rate set instead of 0. oops. mpg123 should now work.
2000-01-10 01:59:12 +00:00
cg
3fa29d03b7
fix the premature termination of playback
2000-01-09 08:32:49 +00:00
cg
a77c3e5d41
driver for neomagic 256av and 256zx
...
Obtained from: anonymous author, heavily derived
2000-01-09 08:14:11 +00:00
cg
874d48434c
modify sndstat output
2000-01-09 08:07:46 +00:00
cg
2da2a05a1b
allow mixer-only devices - ie, devices with no play/rec channels
2000-01-06 04:11:36 +00:00
cg
9a79ef7dd3
don't panic if channel init fails, report and fail gracefully
2000-01-05 20:44:41 +00:00
cg
5cf59636dd
argh, forgot the bus_dma_tag_creates.
...
also, panic if channel init fails instead of derefing null.
2000-01-05 04:01:34 +00:00
cg
3df7871bf8
set up the pci regs properly for busmastering. this makes the card work on
...
my smp box.
2000-01-05 02:03:55 +00:00
cg
33c444231e
allocate isa bounce buffers of the right size for ess/mss cards, fixes
...
panics reported
2000-01-05 00:39:20 +00:00
tanimura
eef91385fe
Do not start/stop DMA transfer if it is already started/stopped.
2000-01-03 05:26:12 +00:00
tanimura
745351b771
- Handle an interrupt for csa primarily in the bridge driver,
...
then invoke the children. As the value of HISR can be read
only once, pass the HISR to the children via struct
csa_bridgeinfo, stored in the ivars of them.
- Clear the contents of serial FIFO upon stopping the DMA for
playing. This may eliminate buzz on playing. Experimental.
2000-01-03 02:51:16 +00:00
cg
4c3a41624f
revert buffer size to 64k
2000-01-01 21:50:20 +00:00
tanimura
41a606e473
Correct the delay durations as in the sample sources provided by Crystal Semiconductor.
2000-01-01 09:07:03 +00:00
peter
5f4940ee69
Attach the CS4610 PCI / CS4239 setup in isa compatability mode as CSC0100.
...
The PCI component is non-AC97 apparently.
PR: 15632
Submitted by: gibbs
1999-12-30 20:04:11 +00:00
cg
eeb98c1804
make ess cards use a 64k buffer again, by implementing esschan_init()
1999-12-30 04:04:43 +00:00
cg
35328c713c
make es1373 chips with ac97 2.1 work on troublesome motherboards
...
Submitted by: Russell Cattelan <cattelan@thebarn.com>
1999-12-29 05:44:17 +00:00
peter
15b9bcb121
Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"
...
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot). This is consistant with the other
BSD's who made this change quite some time ago. More commits to come.
1999-12-29 04:46:21 +00:00
cg
9ed7cb48bf
- latest 2ndbuffer patch
...
- make chn_setdir work for rec on isa cards
- note: es1371 does not irq in smp
Submitted by: tanimura
1999-12-29 03:46:54 +00:00
peter
259b04149b
Fix a mistake in the PNP EISA-encoding of the Avance ALS120 id.
...
Submitted by: Bryan Liesner <bleez@netaxs.com>
1999-12-26 10:51:47 +00:00
dfr
af317b8045
Don't pass u_int32_t pointers to BUS_READ_IVAR since it tends to make
...
alphas panic.
1999-12-24 16:22:45 +00:00
peter
153d1cc7d1
Collapse a bunch of unused MD_CS42nn tags into a single one. This saves
...
going to a lot of trouble to identify it and set the tag and then not use
it. Convert the pnp id matching to the preferred table based system.
@@@0001 (CMI8330 ldn 0) is a mss, not a SB.
1999-12-21 14:09:19 +00:00
peter
a1587ef715
Tidy up a few loose ends, including adding the pnp tags in comments.
...
Remove @@@0001 - it's an MSS, not a SB, at least according to the
original pre-sbc code and according to a pnpinfo report that Cameron has.
1999-12-21 14:04:14 +00:00
peter
818416f100
Remove #if NISA > 0 - this is best done by the configuration process.
...
It had a heap of unreferenced stuff if there was no isa configured in the
system.
1999-12-21 13:55:46 +00:00
cg
d213246f9d
minor cleanup
...
Parts Submitted by: Ville-Pertti Keinonen <will@ztango.com>
1999-12-21 08:43:28 +00:00
cg
8c2d08d7dc
don't use the sbpro mic vol register during init on ess cards; it causes
...
feedback and we use the native one elsewhere.
1999-12-21 06:18:03 +00:00
cg
8f45fa6446
minor cosmetics
1999-12-20 14:57:46 +00:00
cg
b4cbf0157a
make marcel's onboard ess1888 work
...
Submitted by: marcel
1999-12-20 14:55:56 +00:00
cg
4bfcb8b317
allow (broken) apps to use mixer ioctls on dsp devices. eg: vmware
...
Submitted by: "Vladimir N. Silyaev" <vsilyaev@mindspring.com>
1999-12-20 00:56:51 +00:00
cg
85110b4344
stop playing if we underrun; if there is more data to come, the next write
...
will restart
1999-12-19 22:32:55 +00:00
cg
c0e3cdc19d
note to self: vibra16c is not vibra16x
1999-12-19 22:28:31 +00:00
cg
51ac669d22
fix for ess cards to use auto-init dma mode, so they work
1999-12-19 22:25:26 +00:00
cg
d2578766ca
remove unused mixer stuff
1999-12-19 18:18:55 +00:00
cg
db57b06511
general tidyup
1999-12-19 17:51:32 +00:00
cg
6221457152
move make_dev operations for audio channels to pcm_addchan(). in theory,
...
with modifications to MAKEDEV this will allow use of multiple output streams
on cards supporting it, eg trident 4dwave.
1999-12-19 15:27:24 +00:00
cg
34deed4b4f
fix a bug in sndstat output, tidy up a few bits
1999-12-19 15:07:56 +00:00
cg
444dfea7ab
generalise the code a bit, and add an irq handler so that the child devices
...
can share the irq
1999-12-19 14:44:08 +00:00
cg
1f7666d525
remove the restriction limiting the vibra16x to 8 bit
...
Noticed By: Clive Lin <clive@CirX.ORG>
1999-12-19 14:21:38 +00:00
cg
c663a6bbe9
make vibra16x cards announce what they are in /dev/sndstat
1999-12-18 22:47:23 +00:00
cg
2257ad71d8
fix the buffer repetition on ^c problem
1999-12-18 22:24:50 +00:00
cg
42c32f7a3b
make the vibra16x work for playback at least, record is untested
1999-12-18 22:21:47 +00:00
tanimura
794bfd9b4d
Correct the logical ID of Avance Asound 110.
...
Submitted by: Bryan Liesner <bleez@netaxs.com>
1999-12-18 12:17:02 +00:00
cg
65600d1d6d
more dma underrun fixes, using a per-channel 2nd buffer
...
Submitted by: tanimura
1999-12-13 03:29:09 +00:00
cg
99bed6d33e
make sb dependant on sbc
...
add support for non-pnp cards to sbc
move card identification to sbc
channel-swapping code is in sb now instead of dsp
vibra16x support is still broken, but will be fixed soon
note: sbc is now compulsory for sb cards
for pnp cards use:
device sbc0
for non-pnp cards eg:
device sbc0 at isa? port 0x240 irq 5 drq 3 flags 0x15
(hints as oldpcm)
both in addition to:
device pcm0
Reviewed by: tanimura,dfr
Said he liked it: peter
1999-12-12 02:30:19 +00:00
cg
1698a08e9a
move channel-swapping support to the hardware driver since it knows the card
...
state best
1999-12-12 02:18:58 +00:00
cg
f1be6706cf
increase buffer size, reduce number of channels allocated since we only use
...
1 at the moment
1999-12-12 02:16:14 +00:00
tanimura
45d99c1018
Make the origins clear.
...
Pointed out by: Tatoku Ogaito <tacha@trap.fukui-med.ac.jp>
1999-12-10 01:20:08 +00:00