cgd
0aee587bbf
add ofw_subr.c, a file containing common OFW routines.
1998-01-26 21:47:35 +00:00
gwr
faf4390c38
Save the "bustype" from our attach args in the controller "softc"
...
and use that instead of hard-coding BUS_VME32 everywhere.
(The Sun3X needs a more specific bustype value.)
1998-01-26 21:03:43 +00:00
gwr
3ba1e07ef5
Simplify the colormap and blanking stuff a little.
1998-01-26 20:53:17 +00:00
thorpej
243c218061
Update copyright.
1998-01-26 20:30:06 +00:00
thorpej
044add4253
If we're using these devices on a big-endian CPU, byte swap the "count"
...
field in the dp8390's packet header (because the dp8390 runs in little-endian
mode in these cases). Inspired by an e-mail from Kazuki Sakamoto.
1998-01-26 19:21:36 +00:00
mycroft
e8cf0c444c
Make sure we create DMA maps if the CD4231 probe fails.
1998-01-25 23:48:06 +00:00
gwr
ac930c3c4d
Moved back to sun3/sun3
1998-01-25 22:41:07 +00:00
pk
72f0ab269f
These drivers are now in dev/vme.
...
The `ie' driver has been split in a VME and OBIO front-end. The latter
lives on in this directory as `if_ie_obio.c'
1998-01-25 20:33:54 +00:00
pk
3d46658e38
disk_establish(): add xd & xy cases (XXX - need more thought).
1998-01-25 19:59:14 +00:00
pk
1b0d54e29a
Adapt to recent i82586 driver changes.
1998-01-25 19:57:27 +00:00
pk
f937c21c08
VME device declaration changes:
...
- `vmes,vmel' => `vme'
- interrupt locator is the VME interrupt priority (`pri')
1998-01-25 19:56:30 +00:00
pk
531a4b2d77
sparc/obio bus front-end to the i82586 driver.
1998-01-25 19:50:50 +00:00
pk
8bc346d14a
All VME stuff is gone from here.
1998-01-25 19:44:43 +00:00
pk
7a39d28b24
bus_map() & bus_untmp() are only used for sun4/obio devices.
1998-01-25 16:51:16 +00:00
pk
d44f401c95
bus_tmp() => obio_bus_tmp()
1998-01-25 16:49:33 +00:00
pk
bcb062819f
The VME bus is now called `vme'.
1998-01-25 16:47:21 +00:00
pk
333b6319fc
Convert to new VME interface.
1998-01-25 16:38:01 +00:00
pk
4efb52487a
Split si & sw attach routines, and make the si part use the new VME interface.
1998-01-25 16:37:08 +00:00
pk
f8ba1e0bd9
sparc/VME bus implementation.
1998-01-25 16:06:25 +00:00
pk
c68cf46527
Add vme_bus_mmap_cookie() and vme_bus_establish().
1998-01-25 15:53:18 +00:00
pk
639947d9ea
Remove vestiges of sparc-related bootpaths.
1998-01-25 15:22:34 +00:00
mycroft
63162f08ec
Add a svr4_setregs() (that just calls setregs() right now).
1998-01-24 18:26:09 +00:00
mycroft
15ae963bea
When dumping, print out the device number as major,minor.
1998-01-24 16:46:23 +00:00
pk
8a5023e38c
After writing to the IOMMU flush registers, read something back from
...
IOMMU control space to a flush register to drain internal write buffers (?).
This avoids utter lossage on some machines (SS4s & SS5s) where our caller
would see some of its local (`%lx') registers trashed. This is probably
caused by a silicon bug allowing interference on internal data paths..
1998-01-24 16:22:47 +00:00
mycroft
1f21545d93
Correct an oversight in the startup changes that caused the wrong exception
...
to be reported in one case.
1998-01-24 15:50:42 +00:00
pk
09559070f7
* Do not remove ATN from the scsi bus if we have no messages queued but
...
the target still is in MSG OUT phase. We still send a message (a NO_OP)
in this case and the chip will remove ATN at the appropriate time.
Using the RSTATN command here induces a "illegal command" in some
chip revisions.
This situation only occurs if the target rejects a previous (multi-byte)
message early (by switching to MESSAGE IN and sending a MESSAGE REJECT)
before the chip has completed the entire MSG OUT transfer. ATN will
remain asserted, and the target returns to MESSAGE OUT phase.
* Account for the events above when reporting "DMA not completed"
diagnostic messages.
* Stream-line the selection code a bit, and make the DMA setup code
more like the MSG OUT & DATA XFER setup.
1998-01-24 15:33:35 +00:00
mycroft
8661bee5de
Minor change.
1998-01-24 14:22:44 +00:00
ragge
eda1eecede
Remove __BROKEN_INDIRECT_CONFIG and change all drivers to use
...
config_search instead.
1998-01-24 14:16:11 +00:00
mycroft
d664bf39b8
Add some comments about what the control words do.
1998-01-24 14:00:36 +00:00
mycroft
a963fe5864
Store the initial NPX control word appropriate for the emulation in the saved
...
FPU state, and use it when initializing the FPU on demand.
1998-01-24 13:19:46 +00:00
mycroft
a9a7cc88d1
Need foo_exec.h.
1998-01-24 12:45:16 +00:00
drochner
ae1a2006c5
-take over debugging printf format fixes from sys/lib/libsa/nfs.c rev.1.23
...
-make error reporting for mount working as in sys/lib/libsa/nfs.c
1998-01-24 12:43:09 +00:00
mycroft
8bd9717302
Add local versions of setregs(), so I can tweak some registers later.
1998-01-24 12:42:22 +00:00
mycroft
9dd67a9098
Prototype new functions.
1998-01-24 12:39:37 +00:00
mycroft
112a8edc95
Use svr4_setregs().
1998-01-24 12:34:16 +00:00
mycroft
69b60a733c
Use freebsd_setregs().
1998-01-24 12:33:15 +00:00
mycroft
72623d8443
Use linux_setregs().
1998-01-24 12:32:15 +00:00
mellon
5685520ac1
Always set sc->sc_timeout (it was missed in one case). This fixes a problem where SYN cache entries are sometimes timed out almost immediately.
1998-01-24 12:27:31 +00:00
mycroft
4b8a102fbb
Fix process_{read,write}_fpregs().
1998-01-24 12:11:15 +00:00
mycroft
5ab55e91b7
Fix an old editing error from merging a bug fix into Lite,
...
that might cause us to erroneously drop a FIN.
Also, minor changes so the code looks more like Stevens vol 2 figure 28.30.
1998-01-24 05:04:27 +00:00
pk
49d2bfe020
Add a couple of options I forgot in last commit.
1998-01-23 22:47:20 +00:00
mycroft
d15d246d32
Add wdc* at isapnp?.
1998-01-23 20:42:34 +00:00
mycroft
929286557a
Add a PnP IDE frontend.
1998-01-23 20:40:58 +00:00
thorpej
60c3299e3e
Fix some debugging printf formats.
1998-01-23 19:27:44 +00:00
thorpej
cacd48c0d6
Print the correct error number if nfs_mount() fails. From Chris Demetriou.
1998-01-23 19:13:28 +00:00
cgd
b92943e80a
update to match (now-fixed) libc rules for strchr and strrchr.
...
Brokenness pointed out by Matthias Drochner.
1998-01-23 19:01:17 +00:00
drochner
7e5c045bb6
remove prototypes for deprecated index() and rindex()
1998-01-23 12:56:39 +00:00
mycroft
51ffd85641
Uncomment wdc.
1998-01-23 01:18:52 +00:00
mycroft
c1d56d473f
Add wdc* at pcmcia.
1998-01-23 01:16:03 +00:00
mycroft
e89c38b4c2
Slight cleanup.
1998-01-23 01:14:13 +00:00