augustss
73ff4bd775
Allow more than one hardware driver to attach to the audio upper layer.
1997-05-27 23:24:56 +00:00
pk
f959841d17
Pass correct offset to vn_rdwr().
1997-05-26 20:28:38 +00:00
mycroft
6756ff7858
Minor corrections to previous. Notably, make recording work on SBPro again.
1997-05-26 16:13:59 +00:00
mycroft
6bfd7b7d45
Remove unneeded call to comstop() in commsrint(). This fixes a problem
...
where the driver would sometimes retransmit bytes.
1997-05-26 14:54:46 +00:00
pk
e571ff8ba8
Add code (#ifdef'ed VND_FILLHOLES for now) to fall back on vn_rdwr()
...
if VOP_BMAP() does not produce a translation.
IO_SYNC is used to prevent dirty file cache buffers. On a ffs filesystem,
once a hole is filled, subsequent vnd accesses find will find valid
VOP_BMAP() translations.
Concerns:
* is the assumed semantics correct for all filesystems?
* do we actually want the automagic extension on the VND
backing store..
1997-05-25 22:27:16 +00:00
pk
740da4fa88
Use an additional structure to keep information on a set of transfers
...
initiated by vnd_strategy(). This allows for more natural error handling
and solves two bugs:
* vnd can disk_unbusy without disk_busy (PR#2657)
* b_resid is set correctly on the external at the end
of a transfer in case of an error.
1997-05-25 19:37:36 +00:00
pk
317703b784
Pass correct transfer count to disk_unbusy().
1997-05-25 16:21:45 +00:00
jonathan
84f22cdf55
lint: delete unused variables.
1997-05-25 05:48:14 +00:00
pk
ec02e14ae2
Remove all `bustype' arguments from map[io]dev() and REG2PHYS().
1997-05-24 20:16:06 +00:00
pk
c6a933f6ea
Remove all `bustype' arguments from map[io]dev() and REG2PHYS().
1997-05-24 20:15:59 +00:00
jonathan
3bdc896e84
lint: fix %x vs pointer and tyops in error-logging printfs.
1997-05-24 09:48:53 +00:00
thorpej
97c6a307e3
Where _is_ that brick when you need it?!
1997-05-24 03:45:40 +00:00
jeremy
b06eb8ce7f
Comment reference to ramdisk.h -> md.h
1997-05-23 23:44:34 +00:00
augustss
72b5ba3901
Redo the way selecting the mode for SB cards is done completely.
...
It is now table driven since there are so many different variations
of SB cards out there.
Also fix a bug that stopped SB2 and SBPro from working.
1997-05-23 21:19:59 +00:00
augustss
c612a6fca7
Check that setting IRQ and DRQ on SB16 actually succeeds.
1997-05-23 09:45:40 +00:00
augustss
1fd29f4172
Make the audio default parameters into a globally accessible constant.
1997-05-20 12:51:43 +00:00
augustss
0db08d11e6
Redo the SB mixer code. The driver can now distinguish between the
...
four different mixer options: none, CT1335, CT1345, and CT1745.
It should now be possible to access most of the SB16 functionality.
1997-05-19 23:14:29 +00:00
pk
0dae2eb53d
Avoid negative values for b_dirtyend' and
b_validend'.
1997-05-19 22:08:56 +00:00
pk
7a45e8a551
Fill in b_dirtyoff/b_dirtyend and b_validoff/b_validend appropriately
...
in each auxiliary buffer; the strategy routines (esp. NFS's) like that.
1997-05-19 14:41:54 +00:00
mrg
ac74fdbb9c
KNF.
1997-05-19 04:01:16 +00:00
thorpej
50a39a3334
Add NetBSD RCS IDs.
1997-05-18 06:08:02 +00:00
augustss
8d6f509439
Mask the level registers as the documentation suggests.
1997-05-18 00:36:03 +00:00
augustss
d7a82223f4
Change lowater calculation a little.
...
Fix mixer setting bug and add some missing splaudio().
Set SB drq16 to 5 and don't pretend to be SB v1.0.
1997-05-17 23:26:33 +00:00
pk
d3844873e8
Mods for ESP406/FAS408 ISA SCSI driver (from Eric S. Hvozda; PR#3581)
1997-05-17 20:58:47 +00:00
pk
7f4962f3f3
An ESP406/FAS408 ISA SCSI adapter driver (from Eric S. Hvozda; PR#3581)
1997-05-17 20:58:12 +00:00
pk
990857fe21
Mods for ESP406/FAS408 SCSI driver (from Eric S. Hvozda; PR#3581)
1997-05-17 20:56:55 +00:00
augustss
abdd4ddbea
Back to pretending to be a SB v1.0 again, the mixer code for higher
...
versions is buggy.
1997-05-16 07:07:22 +00:00
pk
72d640a497
Tweak gain curve (from nsayer@kfu.com; PR#2909)
1997-05-15 22:32:56 +00:00
thorpej
151926da32
Make sure we're in register window 0 before attempting EEPROM access,
...
pointed out by Matthias Drochner.
1997-05-14 00:22:00 +00:00
augustss
37be371415
Clean up emulation code, SB, and GUS drivers and add some more encoding
...
emulation to SB.
1997-05-13 19:02:11 +00:00
jtk
d01ff6bdaa
regen
1997-05-13 14:45:39 +00:00
jtk
68187ebd40
correct the identification of Intel Orion PCIset chips
1997-05-13 14:44:54 +00:00
jtk
877dcf7fc9
restore accidentally-lost set of nchannels in driver layer
1997-05-12 04:11:43 +00:00
jonathan
fac2cd30a0
Set TX-available threshhold in epinit() just before enabling interrupts,
...
so TX_AVAIL intrs are enabled for root-on-NFS kernels.
Tested (and required) on 3c595TX with root-on-NFS kernel booted from floppy.
1997-05-11 05:47:08 +00:00
augustss
4b487c00bd
Clean up audio_silence_copyout().
1997-05-11 00:41:12 +00:00
jtk
c7be49441e
fix typo: LINEAR should have been ULINEAR
1997-05-10 19:01:53 +00:00
jtk
9734adc67f
use normal linear names/values for 8-bit encodings
...
mark mulaw as emulated (it's done via a mapping table)
use GUS query encoding routine, even on GUS max, since the encoding
stuff is handled by the GF1.
XXX might not be right for recording, but it's correct for playback.
1997-05-10 18:58:33 +00:00
augustss
e63a553175
Change the interface between high and lowlevel audio drivers again:
...
Set the encoding parameters slightly differently.
Remove the SW encoding/decodinf functions from this interface
and move them to the audio_parameter struct; this is both more efficient
and flexible.
1997-05-09 22:16:27 +00:00
thorpej
fd9b64b81a
Garbage-collect an unneeded #ifdef.
1997-05-08 04:39:35 +00:00
thorpej
158a6e52a4
Garbage-collect and uneeded #ifdef.
1997-05-08 04:39:03 +00:00
augustss
07cf0ea21d
Oops, forgot this in previous commit.
1997-05-07 20:23:53 +00:00
augustss
c397fa8357
Return audio buffer size in audio_info_t with ioctl() AUDIO_GETINFO.
...
Use the buffer size to implement one more OSS ioctl().
1997-05-07 19:24:25 +00:00
augustss
c4a52794f1
Convert to new orthogonal audio encoding scheme and implement
...
some of the new encodings. The change to ioctl AUDIO_GETENC is
NOT backwards compatible.
1997-05-07 18:51:31 +00:00
thorpej
b5c783c6e4
Merge 970327 "de" update.
1997-05-07 18:45:01 +00:00
mikel
383d8e6f79
update sb_printsc() to match current reality.
1997-05-07 04:36:00 +00:00
gwr
58abe62fde
Update an obsolete comment. (We DO handle CapsLock and NumLock.)
1997-05-02 17:41:37 +00:00
jeremy
3aa6ce0369
Moved from arch/sun3/sun3 and changed according to implied references
...
in recent commits to sun3/clock.c and sun3x/clock.c by Gordon Ross.
1997-05-02 06:15:28 +00:00
pk
31b943b8ac
Preliminary support for ESP406 and FAS408 variants (from Eric Hvodza; PR#3559)
1997-05-01 22:16:24 +00:00
marc
8f6ec1a681
wds_find has the sense of its return value backwards (0 vs 1). This
...
caused the probe to succeed when there was no device present.
1997-05-01 20:10:57 +00:00
kleink
269ccaa71b
Fix typo in last commit; from Thorsten Frueauf <frueauf@ira.uka.de>
...
in PR/3566.
1997-05-01 12:27:10 +00:00