Bruce Evans
b6f37c1954
Added used include of <i386/isa/isa_device.h> - don't depend on
...
pollution in <sys/conf.h>
1998-06-17 13:54:59 +00:00
Doug Rabson
ecbb00a262
This commit fixes various 64bit portability problems required for
...
FreeBSD/alpha. The most significant item is to change the command
argument to ioctl functions from int to u_long. This change brings us
inline with various other BSD versions. Driver writers may like to
use (__FreeBSD_version == 300003) to detect this change.
The prototype FreeBSD/alpha machdep will follow in a couple of days
time.
1998-06-07 17:13:14 +00:00
Bruce Evans
77849078bf
Oops, the previous commit should have changed i386' to
__i386__',
...
not `__i386'.
1998-05-01 16:40:21 +00:00
Julian Elischer
21a56c939e
Submitted by: Doug Ambrisko <ambrisko@whistle.com>
...
make standard links for the first detected sound card.
1998-04-28 00:10:53 +00:00
Eivind Eklund
57402d4df8
Add devfs support.
...
Submitted by: somebody whose name escapes me :-(
1998-04-23 00:06:43 +00:00
KATO Takenori
5e4832f65d
PC-98 does not supports DMA automode lager than 65535 bytes.
1998-04-21 09:48:45 +00:00
KATO Takenori
bb9b85aaeb
Supports PC-98 again.
1998-04-21 09:46:14 +00:00
Dag-Erling Smørgrav
dc73342347
Seventy-odd "its" / "it's" typos in comments fixed as per kern/6108.
1998-04-17 22:37:19 +00:00
Bruce Evans
c1087c1324
Support compiling with `gcc -ansi'.
1998-04-15 17:47:40 +00:00
Poul-Henning Kamp
6efcc7f11d
Replace direct access to time with getmicrotime().
1998-03-29 12:15:57 +00:00
Eivind Eklund
7db79065bd
Remove an ifdef (to get linker errors instead of compile errors in the
...
absence of 'controller snd0').
1998-03-15 23:08:24 +00:00
Bruce Evans
b01c51d18f
Fixed staticization (the behaviour is undefined when something with
...
external linkage is redeclared as static).
1998-02-12 23:16:12 +00:00
Bruce Evans
76d43151d2
Unstaticized.
1998-02-12 22:33:33 +00:00
Eivind Eklund
cebe467c61
Back out statification and restore a declaration that got lost.
1998-02-10 21:51:00 +00:00
Peter Wemm
4390eccf7a
Un-staticize.
1998-02-09 16:20:42 +00:00
Eivind Eklund
303b270b0a
Staticize.
1998-02-09 06:11:36 +00:00
Bruce Evans
da171a03a8
Use <machine/*.h> instead of <i386/include/*.h>.
1998-02-01 22:23:18 +00:00
Bruce Evans
9d00d065d6
Fixed a sloppy common-style declaration again.
1998-02-01 22:14:24 +00:00
Philippe Charnier
85dace5d59
Add rcsid. Remove unused vars. Use err(3) and change exit(-1).
1998-01-16 07:20:34 +00:00
John-Mark Gurney
6cc3943ff0
update the AWE32 wave table driver to Iwai's 0.4.2c version. This also
...
includes the patches to make it work under -current from Randall Hopper.
Remove the old AWE driver.
1998-01-08 23:13:22 +00:00
Bruce Evans
d35d7514ac
Removed unused #includes.
1998-01-01 12:41:44 +00:00
Peter Wemm
5eaf45f67b
I've been using these tweaks to enable the sound driver to talk to the
...
(mutant) Crystal CSS4236 chip on the Intel PR440FX SMP motherboard.
XXX this uses some rather ugly PnP bootstrap code that is *NOT* compatable
with 'controller pnp0' or *ANY* other PnP devices. If you use some other
PnP devices, enabling css0 will burn your house down. :-] The
"simplified" PnP init sequence directly blats your config(8) settings onto
the chip. I'm pretty sure 'css0' will conflict with 'mss0', this whole
area desperately needs a cleanup.
I have been using the following with some success on the PR440FX:
controller snd0
device css0 at isa? port 0x534 irq 5 drq 1 flags 0x08 vector adintr
device opl0 at isa? port 0x388
device mpu0 at isa? port 0x330 irq 10 vector mpuintr
1997-12-12 14:08:50 +00:00
Andrey A. Chernov
a76d828674
Attach messages: remove unneded newlines and add
...
missing conf_printf
1997-12-06 07:48:22 +00:00
Mark Murray
61ca849927
From the author:
...
Here are the remanding changes required to support the Ensoniq
Soundscape using FreeBSD 3.0-current.
Notes:
1) ad1848_init already has code to detect if DMA_DUPLEX should
be set so it is not necessary (and is in fact a mistake) to
hard code setting it. Not all soundcards (i.e. the current
sscape driver) are capable of using DMA_DUPLEX.
2) The other changes are hopefully self explanatory. Feel free
to let me know if you need additional information.
Submitted by: john@feith.com (John Wehle)
1997-11-25 19:30:38 +00:00
Amancio Hasty
b237a8422d
Fixed poll related problem which was exhibited by running
...
amp (audio mpeg player) and with cards such as SB.
1997-11-24 07:31:20 +00:00
Amancio Hasty
6eca7bce6c
Fixed an acquired dma problem with respect to sb cards only.
1997-11-23 22:49:50 +00:00
Amancio Hasty
f8f6afaf7c
minor code clean up to sb_dsp.c and fix compile error with uart6850.c
1997-11-23 20:31:20 +00:00
Amancio Hasty
0a8fa5851f
Missing part of my last sb_dsp.c sb16_dsp.c commit.
1997-11-23 19:05:01 +00:00
Amancio Hasty
26ed678ef9
Fixed acquired dma channel problem.
1997-11-23 07:35:06 +00:00
Andrey A. Chernov
811be69f59
Restore diagnostic fix spammed after merging
1997-11-16 06:23:29 +00:00
Mark Murray
b41c00fa66
Fix conflicts.
1997-11-10 18:31:35 +00:00
Andrey A. Chernov
dc185d2298
Do not print config details twice (first variant comes from isa)
...
Format config messages properly (with initial snd0: prefix)
1997-11-05 00:23:26 +00:00
Mark Murray
415d4cb37a
Bring our sound sources up to the level of Amancio's latest-and-greatest.
...
This corresponds to Voxware 3.5-alpha-<something> and Amancio's guspnp21.
There was a bit of a FUBAR during the commmit, so not all files are
mentioned in this commit's mail.
X-rant: I have just started to _*HATE*_ CVS...
1997-10-31 17:25:35 +00:00
Mark Murray
1fa24a09c7
Upgrade the sound sources to Amancio Hasty's latest-and-greatest.
...
This is based on Voxware 3.5, and corresponds to Amancio's `guspnp21'.
Bug reports to Amancio, please!
1997-10-31 06:30:22 +00:00
Justin T. Gibbs
2ee1f005b0
soundcard.c:
...
Update for changes in the callout interface.
sequencer.c:
Add a paren that seems to have gone missing.
1997-09-21 21:43:35 +00:00
Peter Wemm
ea8ef05f7e
Update select -> poll.
...
I am not particularly happy with this stuff, I have no way to test it.
1997-09-14 03:12:54 +00:00
Wolfgang Helbig
59c98c07d3
Enable A law encoding.
...
Enable A law encoding.
1997-09-06 17:39:06 +00:00
Bruce Evans
f438d8b44e
Fixed reversed arguments and poor formatting and comments for OUT*.
...
The reversals were doubled except in comments so there was no problem
at runtime.
1997-08-25 23:17:33 +00:00
Bruce Evans
6fdad28eb1
Removed unused #includes.
1997-07-20 11:58:40 +00:00
Andrey A. Chernov
5fe7f59b19
Don't pass configured information back to ISA for this subdevices,
...
it cause conflicts
1997-07-08 15:35:28 +00:00
Andrey A. Chernov
0b3a25d648
Remove no irq -> irq 31 conversion
1997-06-08 12:55:26 +00:00
KATO Takenori
6670f8f6e7
Fixed mu-law data. Originator's patch was applied.
...
PR: 1950
Submitted by: NAGAO Tadaaki <nagao@cs.titech.ac.jp>
1997-06-03 10:34:40 +00:00
KATO Takenori
b7b905e770
Fixed order of data transfer.
...
Reviewed by: NAGAO Tadaaki <nagao@cs.titech.ac.jp>
Submitted by: Takuya SHIOZAKI <tshiozak@makino.ise.chuo-u.ac.jp>
1997-06-03 10:25:41 +00:00
Bruce Evans
14da13a2f1
Fixed the type of timeout functions and removed casts that hid the
...
type mismatches. Not taking an arg in sequencer_timer() broke
`cc -mrtd'.
1997-04-20 16:54:58 +00:00
Andrey A. Chernov
5c0c82997e
Check sb0 configured in probe routine first
...
Pass configured irq back to isa
1997-03-26 17:41:16 +00:00
Andrey A. Chernov
cc13c79696
Pass configured irq and ports number back to isa
1997-03-26 17:14:21 +00:00
Andrey A. Chernov
7ee2669b4c
Allow low level probe routine pass configured information back to isa
1997-03-26 17:12:31 +00:00
Andrey A. Chernov
88bbadf749
Return ports number in probe now
1997-03-26 16:07:20 +00:00
Andrey A. Chernov
2a64e5d6b8
Return ports number in probe now
1997-03-26 15:57:08 +00:00
Andrey A. Chernov
fb04706fc7
Fix probe wrapper to pass ports number from low level probe
1997-03-26 15:56:21 +00:00