Commit Graph

42111 Commits

Author SHA1 Message Date
augustss
33a864ee58 Fix typo. 1998-08-13 15:15:28 +00:00
nathanw
55491ea367 Rototill match algorithim. New scheme:
1. Does the function claim to be a serial port?
2. Does the function's configuration table present all four
   standard ISA com port ranges?
3. Is the device in our table?

New serial devices do not need to be added to the table unless they
fail both (1) and (2).
1998-08-13 15:08:54 +00:00
nathanw
a461703d7f Use PCMCIA_FUNCTION definitions.
Initialize function ID in new pcmcia_function structures to
PCMCIA_FUNCTION_UNSPEC, not PCMCIA_FUNCTION_MULTIFUNCTION (0).
1998-08-13 15:03:06 +00:00
nathanw
5417a1681d Add PCMCIA_FUNCTION_* macros, for function types defined by
PCMCIA_CISTPL_FUNCID.
1998-08-13 15:00:02 +00:00
scottr
18b4602fd5 Add a comment regarding the broken behavior of the DAFB v7. 1998-08-13 13:45:33 +00:00
augustss
78f049b041 Make some MIDI devices. 1998-08-13 12:44:11 +00:00
augustss
dd1665ce4b Fix typo in SYSEX code. 1998-08-13 12:40:20 +00:00
kleink
5350df2953 Per POSIX, fail with EINVAL if advisory locking is attempted on a file type
that doesn't support it, rather than using a homegrown EBADF or EOPNOTSUPP.
1998-08-13 10:06:31 +00:00
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