Commit Graph

42103 Commits

Author SHA1 Message Date
kleink bf1863d17b Add genfs_einval(), which does the obvious thing. 1998-08-13 09:59:52 +00:00
mrg 106340f1ef audio_prinfo.seek is now a UINT 1998-08-13 09:36:34 +00:00
leo 54c9fa945a Add etvme to the 'all' case... 1998-08-13 08:57:26 +00:00
leo 148a707435 Add etvme device entry (Julian Coleman) 1998-08-13 08:55:59 +00:00
mycroft 93f8d753f8 Small changes to make debugging a little easier. 1998-08-13 07:34:05 +00:00
mrg 7165d3f691 change the value of audio_prinfo.seek from u_long to u_int before it causes
too much damange.  everything else here is the same in a 64bit vs. 32bit
world, so keep it all simple.  the alpha was the only port to have any real
affect for this, and it only very recently begun to support some audio
devices so it doesn't really apply here.  1.3/alpha did not support audio..
1998-08-13 06:28:41 +00:00
tsubai 0acc329dad Remove ``#define ovbcopy bcopy''. This exists in sys/systm.h now. 1998-08-13 06:21:38 +00:00
tsubai a750861e5d Mask interrupt by hardware register if possible. 1998-08-13 06:18:27 +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 c987d23146 Remove some leftover fluff.
Make sure there is no outstanding timeout when the sequencer is closed.
1998-08-13 00:13:56 +00:00
augustss 331bfdf5a0 Fix byte order bug I accidentally introduced. 1998-08-13 00:08:53 +00:00
thorpej 798cb235bc Oops, I forgot aliases for some old names (10baseT/UTP, 10base2/BNC,
and 10base5/AUI).
1998-08-12 23:23:29 +00:00
thorpej 94e489e277 If the autonegotiation is enabled, the PAR doesn't indicate duplex mode
properly!  Work around this by determing current active media by taking
the highest-order common bit of our advertised capabilites and the link
partner's.

If the link partner doens't do autonegotiation, then parallel detection will
pick up the media type, which will never be full-duplex, so reading the PAR
is ok in this case.

Bug pointed out by Matthias Drochner, work-around inspired by reading
the dp83840 manual, section 3.9 (IEEE 802.3u auto-negotiation).
1998-08-12 22:41:21 +00:00
thorpej d95a6e9dec Make a variable name reflect a register name. 1998-08-12 22:27:42 +00:00
thorpej d4a5a3d0ef Run the shutdown hook w/ SCSI_AUTOCONF. 1998-08-12 22:15:57 +00:00
augustss c22b7aff18 Make user tempo setting more sane. 1998-08-12 21:49:38 +00:00
augustss d6f31170a4 Add a very simple MIDI player. No features, no fluff. 1998-08-12 21:39:11 +00:00
augustss 58e0098fef Shut up after close(). 1998-08-12 21:36:21 +00:00
augustss b7dab0b3f7 Add SYSEX. 1998-08-12 21:33:43 +00:00
augustss 391ef355d5 Handle SYSEX messages. 1998-08-12 21:31:28 +00:00
augustss 651d704733 Lower buffer size. 1998-08-12 21:29:29 +00:00
augustss eca3e79014 Update a little. 1998-08-12 21:28:54 +00:00
thorpej 981f0cd0d0 If autonegotiation is enabled in the BMSR, and the BMCR doens't claim
that it has completed, report "none" as the active media type.
1998-08-12 20:56:34 +00:00
thorpej a24f6f77bf Ugh, don't print out "autonegotiation failed to complete" if it did.
We get these once a second if we're in auto mode, the interface is up,
and there's no carrier.
1998-08-12 20:46:47 +00:00
drochner 3292aee22b Separate special character handling from normal output so that they
are obeyed even during an escape sequence.
This is how the original VT100 behaves.
1998-08-12 20:09:47 +00:00
drochner 8e12b6c020 stricter parameter check for scrolling regions
(PR kern/5954 by Dave Huang <khym@bga.com>)
1998-08-12 20:04:12 +00:00
is 8b950c2a65 Get rid of AMIGA_UPTBASE.
Replace it by a variable, which is initialized in amiga_init.c.
This will make the kernel actually work even if we have lots of Zorro-III
(or DraCo direct bus) i/o space.
1998-08-12 19:46:12 +00:00
scottr c587bae132 Nit: space -> tab conversion. No functional change. 1998-08-12 19:16:24 +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
mycroft a5ace63ee2 Associate the preamp with the mic volume in the input class. 1998-08-12 19:09:55 +00:00
mycroft 916c60de3e Oops; fix typos. 1998-08-12 18:55:03 +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
mycroft a2f1d5b822 Add a knob to enable/disable the mic preamp. 1998-08-12 18:47:43 +00:00
mycroft f903600948 Add audio at ess. 1998-08-12 18:32:18 +00:00
augustss 8415989ddf Add the PC speaker MIDI attachment. 1998-08-12 18:17:55 +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
augustss 50ab480a8c Add a layer to handle emulation of MIDI for synthesizers.
It handles decoding of MIDI commands, voice allocation, and translation
it notes to frequencies.
1998-08-12 18:14:01 +00:00
augustss 27c5df27d1 Tidy up and rename some functions in the MIDI driver. 1998-08-12 18:11:53 +00:00
matt c65b52687e Add entries for Alpha, ARM, PARISC, SPARC V9, IA64, and others 1998-08-12 17:48:35 +00:00
christos d6ab36722f fix bugs in getidle() that would cause -1 to be returned as the idle time.
also log when we cannot stat the device to get the idle time.
1998-08-12 14:47:30 +00:00
christos 3511f44e2e Fix typos... 1998-08-12 14:25:08 +00:00
christos a7a81d1b02 Resolve corn-flakes 1998-08-12 14:11:49 +00:00
augustss 7d30602831 Xref midi(4). 1998-08-12 12:23:30 +00:00
augustss 0eb249f780 Update to reflect the fact that the speaker attaches to pcppi now. 1998-08-12 09:08:38 +00:00
thorpej 5bec554354 Driver for the 3Com internal PHY, found on 3c905B-TX cards (and maybe
some 3c905-TX?).  Partially from Frank van der Linden.
1998-08-12 08:46:20 +00:00
scottr 53907fe5a1 Support Cabletron Ethernet card, from John Marohn in PR 5762. 1998-08-12 07:19:09 +00:00
scottr 5a94869995 New framework for handling processor interrupts, derived in part from
the hp300 port.

- Interrupts 3-6 use this immediately.  Interrupt 7 is a special case,
and the VIA interrupts (1 and 2) will be addressed when that code is
rototilled.

- Modify the zs front end to register with the appropriate interrupt
controller:  through the PSC on the AV Quadras, and direct to
interrupt 4 on the rest.  Arrange to have the appropriate zsc_softc
supplied to us at interrupt time.

- Modify the direct ADB driver (and its PowerManager cousin) to call
intr_dispatch(), rather than zshard().  XXX This is a kludge, but at
least limits the brokenness to the ADB drivers, now.

As a side effect, this should fix PR 5590.  Thanks to Bill Studenmund for
correctly determining the cause of the problem reported there.
1998-08-12 06:58:42 +00:00
scottr 3e40b6ff15 A simple, obvious optimization, now that the loop has been
removed from zshard().  Pointed out by Bill Studenmund.
1998-08-12 06:55:24 +00:00