mycroft
b2827b9d36
Assign copyright to TNF.
1998-08-15 04:16:55 +00:00
mycroft
df9baf2311
Assign copyrights to TNF.
1998-08-15 03:51:30 +00:00
mycroft
6d3d8a1350
Make copyright notices with my name consistent.
1998-08-15 03:02:31 +00:00
mycroft
183442fe73
Emulate ulinear_be using slinear_be on later chips.
1998-08-14 00:49:23 +00:00
kim
f750a7d47e
device ess was listed twice
1998-08-13 04:53:18 +00:00
eeh
a2dd74ed79
Merge paddr_t changes into the main branch.
1998-08-13 02:10:37 +00:00
augustss
58e0098fef
Shut up after close().
1998-08-12 21:36:21 +00:00
mycroft
5c76b6a944
The mic preamp is really a property of the input stage, and affects both
...
pass-through and recording.
1998-08-12 19:13:14 +00:00
thorpej
b170caf730
Completely rewrite media selection. Add support for the MII/PHY on
...
the 3Com 3c905-TX and 3c905-T4. Fix handling of the MII on the
3c595-MII and 3c597-MII (can't talk to the PHYs on these cards; just
use "manual" for the external MII port).
Fixes kern/4782 (Chris Demetriou).
1998-08-12 18:51:52 +00:00
augustss
fa39959a5e
Add a MIDI driver for the PC speaker. This is mostly of hack value,
...
but, hey, lotsa people got a MIDI device now! (A truly pitiful one. :-)
1998-08-12 18:16:36 +00:00
augustss
881b4053a6
Remove some white space.
1998-08-12 18:15:04 +00:00
mycroft
3979b06d00
enhanced -> preamp
1998-08-12 03:18:34 +00:00
matthias
1f5c14d8ef
ess_audio_channel:active is now used even when DIAGNOSTICS is not defined.
1998-08-11 12:16:22 +00:00
mycroft
a6e73a5576
Actually set all the logical filter bits. Doh!
1998-08-11 05:57:40 +00:00
mycroft
271d3df6f3
Fix an obvious bug that caused the multicast filter to always be all 0s.
1998-08-11 04:18:25 +00:00
matt
8ba8e2056b
Remove unused field (sc_ih) in ess_softc (interrupt handlers are kept
...
in a per-direction structure).
1998-08-10 20:24:26 +00:00
augustss
b034eb97bf
Fix typo.
1998-08-10 20:02:48 +00:00
mycroft
7fca135b1b
Use the new trigger interface.
1998-08-10 15:32:18 +00:00
mycroft
060f81eb62
Minor change.
1998-08-10 02:19:18 +00:00
mycroft
93703857ca
Slow down, Wilbur.
1998-08-10 02:13:44 +00:00
mycroft
7514d511f7
Fix a typo I introduced in the MIDI code.
1998-08-10 02:12:30 +00:00
mycroft
8d77cae1b4
For models prior to the SB16, there is only one clock divider, so couple the
...
sample rates. However, only do this if both play and record are being used
simultaneously; otherwise we can't play 22KHz on the SB1.
1998-08-10 01:25:33 +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
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
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
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
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
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
mycroft
254afcaecb
Sleeping forever kinda sucks.
1998-08-08 21:37:00 +00:00
mycroft
17932f0575
Set the correct modes for the record channel.
1998-08-08 20:55:36 +00:00
thorpej
558733ffc6
Track our carrier status and report it in the media status callback.
1998-08-07 05:55:14 +00:00
matt
7b044dea51
Make the irq checking logic somewhat less bogus.
1998-08-07 00:51:06 +00:00
augustss
48bae9ee88
Add MIDI support. The MIDI devices can be accessed as ``raw'' through
...
the /dev/rmidiN devices, or with a sequencer interface via /dev/music.
So far the only supported MIDI device is the MPU401 port on SoundBlaster
(and only on SB on isapnp, since we do not have locators with multiple
values yet).
1998-08-07 00:00:55 +00:00
augustss
0c6791d804
Add macro to test iobase validity.
1998-08-05 16:40:22 +00:00
augustss
f76fb48283
Use looping DMA for play channel.
...
More cleanup.
1998-08-04 13:14:42 +00:00
augustss
ce69d417a2
Make it compile without DIAGNOSTIC
1998-07-31 23:54:09 +00:00
augustss
6b407a79c6
Major cleanup of the ESS driver. It now sorta works. More to come.
1998-07-31 15:17:17 +00:00
thorpej
75db93cec2
Pull in files.isapnp here; the two busses are linked together quite closely
...
(more than we'd like maybe, but don't we wish ISA didn't suck...)
1998-07-31 04:40:39 +00:00
rvb
11c3d96b49
Flush spurious #endif after ADDMULTI
1998-07-31 01:10:13 +00:00
thorpej
bf52ef5697
Squash unused variable.
1998-07-30 22:17:34 +00:00
is
ae2fb64e3a
Document supported boards near the top of the driver source code.
1998-07-30 21:28:15 +00:00
christos
b7a585b61d
Use the previously committed pnp hook.
1998-07-30 18:03:34 +00:00
is
8bd9c69e11
Multicast support.
1998-07-30 16:40:19 +00:00
augustss
cdeb158d5f
A first stab at making the SHARK sound work. It doesn't really work
...
yet, but it probes and makes a noise when used. Stay tuned!
1998-07-30 14:11:42 +00:00
augustss
d6a8a4f025
Don't print chip name in attach, the ad1848 attach already does.
1998-07-29 11:39:25 +00:00
augustss
20f454ae1c
KNFify.
1998-07-28 20:58:39 +00:00
is
a374ab61d8
ic/i82595reg.h
1998-07-28 16:02:34 +00:00
is
4fb93c48ec
Remove dead code.
1998-07-28 14:44:46 +00:00
augustss
daed8d7ce1
Fix obsolete code in waiting for calibration on the ad1848.
...
(Sigh, the ad1848 driver should be rewritten.)
1998-07-28 12:13:34 +00:00
thorpej
e3eed5f706
Fix cfattach naming botch.
1998-07-27 18:27:36 +00:00
thorpej
0f7ec45c46
Add CS8900 Ethernet driver, and ISA front-end.
1998-07-27 01:22:41 +00:00
thorpej
e9128957a6
ISA front-end for CS8900 driver.
1998-07-27 01:20:43 +00:00
thorpej
f68dfbe928
Sigh, make this work with the i386 bus_space functions (which have debugging
...
glue in them, and thus subtle syntax quirks).
1998-07-27 01:20:19 +00:00
thorpej
2d588abad8
Split up the Shark CS8900 driver into front-ends and core back-end (which
...
is here, since the chip can only live on an ISA bus; only the autoconfig
glue is different).
1998-07-27 01:08:51 +00:00
thorpej
930937fd49
Define the CS8900 memory size, and macros to test for valid memory
...
base and IRQ.
1998-07-25 00:41:47 +00:00
drochner
658e297dd6
Initialize the new "dispoffset" (but don't use it for anything fancy).
1998-07-24 16:22:51 +00:00
sommerfe
8ba3494f9a
Deal with new pool code's changed API by rewriting this to not use pools.
...
Instead, use a manually maintained freelist in a second tailq.
Uses less data space, looks more symmetrical.
1998-07-24 03:29:29 +00:00
thorpej
8d611b5f32
Remember the product ID and revision.
1998-07-23 19:25:52 +00:00
thorpej
d2bc077edb
G/c a now unsed config flag.
1998-07-23 19:03:11 +00:00
drochner
c4c3297772
update comment ("John F. Woods" <jfw@funhouse.com>, PR kern/5798)
1998-07-23 16:39:24 +00:00
thorpej
02ad0b4eda
Add support for ifmedia.
1998-07-21 22:58:31 +00:00
thorpej
d3882c1b56
Define autonegotiation bits.
1998-07-21 22:27:33 +00:00
thorpej
3db796d287
Define a couple more of the PacketPage registers.
1998-07-21 22:04:13 +00:00
thorpej
88a0132aec
Correct the name of the CS8920M id, and fix some whitespace lossage.
1998-07-21 19:54:19 +00:00
drochner
49bb9d8214
adapt to LANCE driver split
1998-07-21 17:36:01 +00:00
mycroft
3780fa036e
Add RCS IDs.
1998-07-21 07:48:36 +00:00
thorpej
0611893e60
Move the cs8900 driver's softc, etc. definitions to an MI location.
1998-07-21 01:04:01 +00:00
thorpej
0987caaee6
G/c unused definition.
1998-07-21 00:39:21 +00:00
thorpej
a083bc2950
Split the CS8900 register description from the SHARK-specific header file,
...
and place it here.
1998-07-21 00:07:33 +00:00
mycroft
3158aca613
Fix the name of the ulinear_be mode.
1998-07-09 02:26:55 +00:00
thorpej
1b5fbe0b89
DRQ 4 is used to chain the two 8237s together. Make sure it's always
...
cascaded and that it will be unmasked when DMA is thawed after being
frozen. (This also has the effect of making sure that no device ever
erroneously gets DRQ 4.)
1998-07-08 05:23:23 +00:00
jonathan
011f2bda08
defopt NS, NSIP.
1998-07-05 06:49:00 +00:00
jonathan
3751946b97
defopt INET, NETATALK.
1998-07-05 00:51:04 +00:00
jonathan
466e784ee1
defopt DDB.
1998-07-04 22:18:13 +00:00
mycroft
b4d0730191
Cosmetic change.
1998-07-02 14:39:51 +00:00
mycroft
85cca39e28
Add a monitor mute.
1998-06-30 16:54:52 +00:00
mycroft
792ea056b9
Nuke unused variable.
1998-06-30 08:27:39 +00:00
mycroft
fae3bf0887
Add a monitor mute. The mixer here really needs more work for the
...
Crystal chips.
1998-06-30 08:24:56 +00:00
mycroft
3858cce05c
Recognize the CS4236B (although we don't yet use any of the extensions).
1998-06-30 07:45:22 +00:00
thorpej
ad9b5bf5f0
Interrupt share type is EDGE.
1998-06-29 22:42:09 +00:00
thorpej
3be1ffe6a0
When hooking up the interrupt handler, use an interrupt share type
...
specified by the front-end.
1998-06-29 22:40:56 +00:00
augustss
080dc567e8
A first stab at an ESS1887 driver. The code is from the SHARK port
...
and needs a lot of polishing. The code compiles (on i386), but is
untested. See ess.c for a TODO list.
1998-06-29 20:56:21 +00:00
thorpej
ad3073beaf
Add an additional ISA DMA mode: LOOPDEMAND. This is for devices, such
...
as the Shark's CS8900 Ethernet, which want to use the DMA controller in
this mode (as opposed to single mode).
[Editor's note: committed from a Shark using a new bus_dma back-end
and a CS8900 driver converted to use the MI code :-]
1998-06-28 06:59:35 +00:00
drochner
91d0d98450
adapt to wsdisplay interface change
1998-06-26 21:07:03 +00:00
thorpej
e997d4ac60
When writing packets to transmit buffers, do unaligned buffer fixups,
...
more-or-less lifted from the Shark CS8900 driver.
1998-06-25 19:21:03 +00:00
thorpej
ab5b45577b
Don't panic if a DRQ is already allocated. Instead, just return EAGAIN
...
to indicate that the resource is unavailable.
1998-06-25 19:18:05 +00:00
jonathan
0e1a83adc3
* Add defopt MCD_PROMISC for more conservative probes.
...
Before, the probe routine (mcd_find() would succeed even if the probe
code thought it had a response, but didn't recognize the ID-code byte.
Now, only do the promiscuous match if MCD_PROMISC is configured.
1998-06-23 03:26:18 +00:00
augustss
41af9f2ec7
Make PAS driver work again. From "John F. Woods" <jfw@jfwhome.funhouse.com>.
1998-06-22 17:21:34 +00:00
drochner
6c7fabb232
adapt to wscons interface change
1998-06-21 09:51:59 +00:00
augustss
1f8eca312d
Remove a bunch of totally unnecessary #include <machine/pio.h>
...
left over from the olden days.
1998-06-17 08:17:25 +00:00
cgd
651b44e211
Rework the way kernel include files are installed. In the new method,
...
as with user-land programs, include files are installed by each directory
in the tree that has includes to install. (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.) The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change. Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
drochner
08f2cdd7c4
clean up vga_isa_match() - always return "2" on success to make the
...
driver win over "pcdisplay"
1998-06-12 18:45:48 +00:00
leo
d30382ffb4
Don't call isa_dmainit() when NISADMA == 0.
1998-06-11 08:29:33 +00:00
thorpej
5bc2217a49
Nuke __BROKEN_INDIRECT_CONFIG.
1998-06-09 07:24:55 +00:00