mycroft
20ec08b84e
Oops.
1998-08-10 01:17:33 +00:00
mycroft
10148394d2
Call set_params if usemode changes.
1998-08-10 01:13:20 +00:00
mycroft
3dcff6581b
Use the new trigger_{in,out}put interface.
...
Also, even on the SB1, we can leave the DMA controller in auto-initalize
mode and just send a command to the board for each block. This may help
prevent FIFO underruns.
1998-08-10 00:20:39 +00:00
perry
3e3611d479
on i386, use FPU instructions in libm if I387_LIBM is set, from dan@geek.com.au
1998-08-09 23:51:33 +00:00
mrg
ca7ad3aff1
make this compile in a not SUN4M world.
1998-08-09 23:37:12 +00:00
wrstuden
b75289e7bc
'c' is only used #ifndef BZERO so wrap its declaration accordingly.
1998-08-09 22:48:11 +00:00
perry
2c8717021d
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-09 22:36:37 +00:00
is
93a587345f
It's "HyperCOM 3Z", not "HyperCom Z3".
1998-08-09 22:29:01 +00:00
is
878203d616
Cosmetics: it's a "HyperCom 3Z" on a ZBUS, no "HyperCom 3".
1998-08-09 22:25:18 +00:00
mycroft
cf7abcbe64
Minor cleanup to debugging cruft.
1998-08-09 22:11:48 +00:00
is
98f1a01dec
Actually probe the hardware.
...
This is for HyperCom 3i slaveboards (to be done soon) that might or might not
sit on top of a HyperCom 3Z or HyperCom 4 or ISDN Blaster.
1998-08-09 22:08:40 +00:00
perry
e6886047c9
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-09 21:58:52 +00:00
mycroft
592b1dd587
But seriously...
1998-08-09 21:41:45 +00:00
mycroft
a85ed63924
Oops; the previous was wrong on little-endian machines.
1998-08-09 21:35:03 +00:00
perry
4522c799a1
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-09 20:51:08 +00:00
perry
e1601dc2ca
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-09 20:36:58 +00:00
mycroft
4ffebebb25
Several things:
...
* Use the new trigger_{in,out}put interface.
* Allow the play and record channels to have different encodings (but the
same sample rate).
* Play u-law and a-law as 16-bit data. (This may not work yet...)
1998-08-09 20:32:34 +00:00
mycroft
17431823fb
Add trigger_output and trigger_input entry points, which replace
...
init_{in,out}put and start_{in,out}put, and are only called once.
1998-08-09 20:28:07 +00:00
perry
27ca6798df
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-09 20:15:38 +00:00
mycroft
8cbcfa0df2
Add mulaw_to_slinear16 and alaw_to_slinear16.
1998-08-09 19:22:15 +00:00
wrstuden
b1bb9aa490
Oops. We do still need to set t_dev in the first open part of zsopen,
...
so we get ttyXX vs cuaXX right. Leave the initialization in attach.
1998-08-09 18:36:45 +00:00
briggs
64e4a1fa7d
Support video interrupt for GrandVimage 17iL video card.
1998-08-09 18:19:09 +00:00
kleink
e9ef31ed72
msdosfs -> adosfs
1998-08-09 17:54:50 +00:00
mycroft
6bbe486e22
If we get a weird vendor ID, just send it back. This is necessary to make at
...
least one type of system (old NeXTs) boot.
1998-08-09 16:47:52 +00:00
lukem
24bd0530c9
add distclean as a synonym for cleandir
1998-08-09 14:46:19 +00:00
tsubai
b872f9b8e7
avoid lint error.
1998-08-09 12:47:27 +00:00
tsubai
7992f14b3a
s/asm/__asm/
1998-08-09 12:43:33 +00:00
mrg
4a75265273
defopt PFIL_HOOKS.
1998-08-09 08:58:18 +00:00
tsubai
dfe3292f75
/usr/include/machine --> /usr/include/macppc
1998-08-09 07:50:54 +00:00
mycroft
a2fc689833
Make sure output is thoroughly halted on close, and remember that we stopped
...
it.
1998-08-09 07:25:58 +00:00
mycroft
b4e0bf5dfb
Use 4- and 8-byte DMA transfers.
1998-08-09 06:52:57 +00:00
mycroft
0611fc34f8
Don't actually touch the hardware in set_params; defer that until we actually
...
start a transfer. Instead, just check that the parameters are valid.
Also, use 16-bit output for u-law and a-law.
1998-08-09 06:38:30 +00:00
wrstuden
26e55969e4
Initialize the struct tty's t_dev field at attach rather than first open.
...
The attach routine calls zsparam if we're setting up the console, and
zsparam needs this field to tell which zstty to set up. Otherwise, we
set up zstty0 even if it's not the console!
1998-08-09 06:17:07 +00:00
mycroft
9bedf069cd
Mask off extra usemode bits.
1998-08-09 05:44:51 +00:00
mycroft
5eba82397c
Oops; fix typo.
1998-08-09 04:59:55 +00:00
mycroft
017b9af5fe
Clarify with a specific reference to the manual page in question.
1998-08-09 04:58:08 +00:00
mycroft
b3853549b3
Always copy back both the record and play parameters, in case the driver had
...
to change one behind our back.
1998-08-09 04:54:44 +00:00
mycroft
12f5a41e1f
Make the previous slightly more robust, and set AUDIO_PROP_INDEPENDENT.
1998-08-09 04:40:55 +00:00
mycroft
c8532af3b2
Make sure the sample rate is the same on both channels, tracking the change
...
from one channel to the other if only one is active.
1998-08-09 04:14:47 +00:00
mycroft
759ca5ee0c
The manual says to use the other crystal for 22050Hz.
1998-08-09 03:48:42 +00:00
mrg
5d236ade07
minr KNF nit ..
1998-08-09 03:16:23 +00:00
mrg
fe3c14b64d
use __sparc__ not sparc
1998-08-09 03:12:39 +00:00
mycroft
565adbaffb
Set the FIFO control bits correctly so that stereo recording works.
1998-08-09 02:54:50 +00:00
mycroft
80457a2c65
Use auto-initialize DMA for recording.
1998-08-09 02:05:52 +00:00
thorpej
6bd72c7fd7
Cross-reference ifmedia(4).
1998-08-09 00:39:02 +00:00
thorpej
b066382d39
First cut at ifmedia documentation.
1998-08-09 00:37:16 +00:00
thorpej
7b3e0ec137
Add a "Bsx" macro, BSDI BSD/OS.
1998-08-09 00:26:36 +00:00
mycroft
093a8daf6b
Go to splhigh in the debugger.
1998-08-09 00:00:57 +00:00
mycroft
e2686d0a1b
Use splnet, not splimp.
1998-08-08 23:51:39 +00:00
mycroft
c49235f44c
Use splnet(), not splimp().
1998-08-08 23:44:12 +00:00