Commit Graph

24407 Commits

Author SHA1 Message Date
scottr
7d09ad09b4 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 05:42:44 +00:00
mycroft
3979b06d00 enhanced -> preamp 1998-08-12 03:18:34 +00:00
scottr
63526c1ff1 New and improved console framebuffer initialization and autoconfig. This
resolves a great many issues, including Performa 58x interrupt handling
and offset displays on some models.

Programs that depend on the old (pre-NetBSD 1.1) grf interface may break.
That's actually a separate issue uncovered by this code, not caused by it.
1998-08-12 02:36:36 +00:00
mark
3ad4ac45f9 Reworked interrupt blocking and unblocking to improve interrupt latencies
during context switches.
1998-08-12 01:10:29 +00:00
thorpej
b0b082ba68 Give the "ep" driver the "mii" attribute. 1998-08-12 00:45:37 +00:00
mjacob
5ad5bb35af minor change to make the message less linux like 1998-08-12 00:03:23 +00:00
kleink
8e7a73c40d Oops, change previous to use the registered name found in the System V ABI,
draft edition as of April 29, 1998.
1998-08-11 21:11:51 +00:00
briggs
b3e5811a08 Patch from Takashi NAKAMURA <QZM00427@nifty.ne.jp> to support the
Contour 3-button mouse from the Contour Design Corp.
It looks like a Microspeed mouse.
1998-08-11 20:07:59 +00:00
thorpej
f3dd6e430b Pull in files.mii 1998-08-11 18:52:52 +00:00
ragge
2c639fb882 Cache and microsecond clock resolution on KA46. 1998-08-11 17:52:57 +00:00
kleink
cffd2f29ae Add machine identifier for the PA. 1998-08-11 17:01:41 +00:00
leo
557c338959 Add CCITT & NATM interrupt handlers. (Jonathan Stone). 1998-08-11 12:22:57 +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
leo
6617ede128 KERNEL_RELOC -> RELOC_KERNEL (Entropy) 1998-08-11 07:05:46 +00:00
mycroft
a6e73a5576 Actually set all the logical filter bits. Doh! 1998-08-11 05:57:40 +00:00
scottr
396881cc5d Eliminate a potential (but not common) NULL dereference. 1998-08-11 05:47:43 +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
thorpej
9b46e98b21 Adapt to attribute name change. Also, deal with 3Com PHYs that report
0/0 as their oui/model IDs.
1998-08-11 00:41:44 +00:00
thorpej
cf231bf251 Adapt to MII changes. 1998-08-11 00:28:53 +00:00
thorpej
7b8168e675 Adapt to new MII code. 1998-08-11 00:12:52 +00:00
thorpej
d812ed6db7 G/c the 83840 register definitions. 1998-08-11 00:12:20 +00:00
thorpej
1301693108 Adapt to new MII code. 1998-08-11 00:11:39 +00:00
thorpej
b1fb3ecb0f Adapt to the new MII code. This required splitting some structures into
if_tlvar.h, since the ThunderLAN PHY driver needs to know some things
about it's parent (and since it can only attach to a ThunderLAN chip,
this is the easiest way).
1998-08-11 00:09:26 +00:00
thorpej
36db6106a8 Adapt "tl" driver to the new MII code, and add the "mii" attribute to
the "fxp" driver.
1998-08-11 00:08:23 +00:00
thorpej
7779e1dfaa miibus -> mii, and give it a locator "phy". 1998-08-11 00:06:12 +00:00
thorpej
f0d19c2ee1 Change the name of the attribute to "mii". 1998-08-11 00:05:36 +00:00
thorpej
e7643533b6 Adapt to MII layer changes. 1998-08-11 00:03:12 +00:00
thorpej
e8e237ffc6 Device driver for the Quality Semiconductor QS6612 PHY, found in
SMC EtherPower-II cards.
1998-08-11 00:01:03 +00:00
thorpej
6bae1a0bea Device driver for the Intel i82555 PHY. 1998-08-11 00:00:28 +00:00
thorpej
045a100420 Adapt to the new MII layer. This PHY driver now properly supports
802.3u autonegotiation, and will report the precise media selected
by autonegotiation by reading PHY-specific registers.

XXX There is still some work to do wrt. autonegotiation and the
BNC/AUI support in the ThunderLAN PHY.
1998-08-10 23:59:58 +00:00
thorpej
f66f3b1ba9 Adapt to the new MII layer. This PHY driver now properly supports
802.3u autonegotiation, and will report the precise media selected
by autonegotiation by reading PHY-specific registers.
1998-08-10 23:58:39 +00:00
thorpej
ad00a98756 Initial generation. 1998-08-10 23:56:19 +00:00
thorpej
3f8be46d4d Near complete rewrite of the MII layer to present an interface compatible
with BSDI's MII layer to device drivers.
1998-08-10 23:55:16 +00:00
matt
8fd79afcf8 Add machine identifier for ARM. Add (commented out) real ident
for Alpha as well.
1998-08-10 22:20:18 +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
is
f8dd65f3f5 Fix ommision in last backout. 1998-08-10 20:23:50 +00:00
augustss
b034eb97bf Fix typo. 1998-08-10 20:02:48 +00:00
is
c81476c89d ISDN Blaster / Master: ZBus attachment / SUPIO driver. 1998-08-10 18:53:31 +00:00
is
e5439fc15b Back out last change --- it doesn't work this way 1998-08-10 18:43:06 +00:00
mjacob
345530343a Responding to an issue brought to my attention- when the device is
opened norewind and 2 filemarks are written at the end a phantom file
is left (just what I was afraid of, but I didn't think about it in
the last delta because somehow I had managed to convince myself that
this was a nonissue. It's not.).

So- in stdone clear ST_WRITTEN for regular reads. In st_close, preserve
the state of ST_WRITTEN, and if no error and 2FM@EOD for this device and
this is a no-rewind open, backspace one filemark. This should preserve
(for this mount session) FILE - FMK - FILE - FMK - FILE ... FILE FMK FMK EOD
sequencing.

This doesn't clean up the case of EOM appends- in this case you *will* still
get (after an MTEOM operation and a write of a file) a phantom empty file,
e.g. FILE - FMK FMK - FILE - FMK FMK EOD *unless* you follow the EOM operation
with an explicit backspace. The trouble is that this makes it difficult for
seamless interchange with other systems which don't necessarily follow.

The preferrable alternative would be to eliminate the 2FM@EOD except for
1/2" Reel tapes, but that has been pretty much nixed within developers.
1998-08-10 16:56:25 +00:00
mycroft
7fca135b1b Use the new trigger interface. 1998-08-10 15:32:18 +00:00
mark
0a1a20bd29 Recognise STRH, STRSH and STRSB instructions as store instructions when
determining page protections for [u]vm_fault(). Fixes bug spotted by
Richard Earnshaw.
1998-08-10 15:15:49 +00:00
ragge
9f13823e62 Support for VS4000/60. Some needs-count -> needs-flag. 1998-08-10 14:48:53 +00:00
ragge
c355f4a0ed Support for VS4000/60. 1998-08-10 14:47:16 +00:00
ragge
2ff84b0fe4 Kickoff xmit interrupts, needed on chip DC7201. 1998-08-10 14:41:16 +00:00
ragge
972b94efc4 Basic support for VS4000/60. 1998-08-10 14:31:07 +00:00
ross
920e7c7d5d Fix a race involving determination of pollmode. This is not known to be
associated with any observed lossage...it was just noticed while reading
ncr_start().

g/c some now-unreachable code produced by the earlier race condition fix.
1998-08-10 13:10:33 +00:00
matthias
574106c52b create miscfs/genfs/genfs_vnops.c:genfs_enoioctl and make all the other
filesystems use it instead of a private version.
1998-08-10 08:11:10 +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