thorpej
f124a6aaa9
Back out previous; this is a bigger problem than I expected.
1996-08-14 00:32:53 +00:00
thorpej
a05a1045f7
The htonl(), htons(), etc. functions return u_long and u_short. Add
...
casts to the big-endian versions of these calls so that the compiler
won't complain when they're passed as arguments to printf().
1996-08-14 00:07:35 +00:00
thorpej
28df9248ce
Fix a typo and an error in color plane offset calculation. Submitted by
...
Konrad Schroder <perseant@hitl.washington.edu>, PR #2695 .
1996-08-13 20:52:43 +00:00
chuck
cfdb99f44c
repair XDC_HWAIT macro to handle the fact that waithead is now
...
unsigned. should fix xdc watchdog timeouts noted in port-sparc
by nathanw@mit.edu .
1996-08-12 20:19:27 +00:00
mycroft
558d72128e
Put into . Remove hooks for `config-dependent' and
...
`device-driver' flags.
1996-08-12 00:51:24 +00:00
mycroft
5c2e33fc0a
Put back `waittime' variable.
1996-08-10 13:47:54 +00:00
mycroft
cf67f29afe
* Add a HOSTED_C_C variable, which strips `-p', `-pg', and
...
`-nostdinc', and use it when building genassym.
* Use `-nostdinc' just to be sure we're self-contained.
1996-08-10 06:07:57 +00:00
mycroft
f94052ed3a
* Define CWARNFLAGS and MKDEP in some moderately consistent fashion.
...
* Make S expand to an absolute path at compile time.
* Use `-S' rather than `-x' to remove debugging symbols.
* Garbage collect unused variables.
* Reverse a handful of port-specific changes that do not correspond to
the common build model and are not needed.
1996-08-10 05:29:24 +00:00
mrg
5abbf990f3
Change reboot(2) to take two arguments: bootopt like normal and also
...
a boot string for firmware that can do this, such as the SPARC and
the sun3 models. It is currently silently ignored on all other
hardware now, however. The MD function "boot()" has been changed to
also take a char *.
1996-08-09 10:30:23 +00:00
pk
7a26a7952d
Fill in `pcb_psr' in the PCB before copying it to the new child PCB.
1996-08-02 13:44:48 +00:00
abrown
0c6696de2d
Take advantage of new am7990 sc_nocarrier() function in order to do auto-
...
matic media detection on Sun4m machines which support multiple media
(UTP and AUI). New function lenocarrier() switches media type when called
if no link? flags are set.
Redefine link flags for Lance ethernet (le):
<none>: switch between media as needed to find carrier (autodetect)
Preference to whatever the PROM is using (AUI if not booted
from the network)
link0: use UTP port only
link1: use AUI port only
This allows Sun4m machines with dual media Lance ethernet adapters to
boot from the network on the UTP port.
1996-07-06 00:01:34 +00:00
chuck
e13b96dbf2
add native mode atm soft interrupt
1996-07-04 03:18:39 +00:00
pk
a6adfa8db7
Fix label sector confusion, per der mouse (PR#2598).
1996-07-03 22:02:09 +00:00
abrown
410fea854a
Implement asm macros to allow 64-bit load/store to alternate address space.
...
Use new ldda() and stda() to make MultiCache initialization work on
SuperSparc-II machines (these machines require 64-bit access, even
to a 32-bit register).
1996-07-01 18:01:26 +00:00
pk
d71930e6c9
Put native NetBSD disk label in a piece of wasteland within a SunOS label.
...
read_disk_label() uses the native label if present.
write_disk_label() constructs a SunOS label around the native one.
1996-06-29 22:38:11 +00:00
pk
80c64cc71d
Put native NetBSD disk label in a piece of wasteland within a SunOS label.
1996-06-29 22:33:16 +00:00
pk
e2ec1dab69
Avoid compiler warning on SUN4-only kernels.
1996-06-29 20:10:50 +00:00
pk
4ce982125b
Need to add another `if defined(SUN4M)'; noticed by David Gilbert.
1996-06-29 20:09:40 +00:00
chuck
7544016a9d
sbus specific stuff for eni155s sbus atm card.
...
XXX: only works on sun4c, needs something better than vtophys() for
machines with IOMMUs(?).
1996-06-22 02:02:48 +00:00
pk
43cca6772f
`rd_root.c' => `md_root.c'
1996-06-20 20:17:57 +00:00
pk
ba3ce100e0
memory disk driver hooks to pass on the root filesystem bits.
...
Note: this file is called `md_root.c' in anticipation of the forthcoming
`rd' => `md' rename.
1996-06-20 20:15:40 +00:00
pk
b0b2a995cd
When booting from a floppy drive and RAMDSK_HOOKS is defined, arrange for
...
a callback from memory disk driver to load the actual root image.
1996-06-20 20:12:31 +00:00
pk
d802ca2b2a
Declare a memory disk at block device #5 .
1996-06-20 20:07:45 +00:00
pk
417fc9581d
ramdisk stuff
1996-06-20 20:06:16 +00:00
pk
5b9021505a
ramdisk stuff.
1996-06-20 20:05:46 +00:00
pk
a0222c1293
Turn on disconnect/reselect by default on targets 4-7 on the premise that
...
tape devices normally are set to one of these targets. Tape devices should
be allowed to disconnect for the SCSI bus to operate acceptably.
1996-06-20 19:50:41 +00:00
pk
dba83379bd
Remove a "notyet" in last commit.
1996-06-19 13:30:49 +00:00
pk
c7fc34ac08
add tcx device at major number 109
1996-06-19 13:28:14 +00:00
pk
3da87417d2
tcx declaration
1996-06-19 13:25:01 +00:00
pk
5f5407c39e
add tcx
1996-06-19 13:23:25 +00:00
pk
c6d4bf55e3
Add tcx definition.
1996-06-19 13:21:09 +00:00
pk
f62f900f6c
First go at a TCX framebuffer driver. This version does enough to
...
load and store colour lookup tables
blank the screen / put monitor in power-saving mode
make X11 run on it in `cgthree' emulation.
1996-06-19 13:17:35 +00:00
pk
5d5e7cf75e
bootpath detection: some (newer?) v2 prom versions use actual device address,
...
e.g. `/fd@1,72000000'.
1996-06-16 23:28:18 +00:00
pk
e2655dd7cc
Allow DIAGNOSTIC kernels a FLUSHWIN trap in order to record stack traces
...
(currently used by the nullfs filesystem code, noted by der mouse).
1996-06-13 22:26:21 +00:00
pk
fbc5fd1fca
Bound the buffer cache to 1/2 of kernel virtual memory, so machines with
...
lots of core don't run out of core (takes care of PR#2506).
1996-06-12 23:48:51 +00:00
pk
5ce90889f0
Remove unneeded header file.
1996-06-12 23:40:29 +00:00
pk
2266b8dd57
Use the setting of the ESPCFG2_FE bit rather than revision number to decide
...
on the ESP chip's maximum transfer count.
1996-06-12 19:12:19 +00:00
pk
d16dcebba7
Add signature for the Fujitsu MB86904 processor.
1996-06-12 18:39:15 +00:00
pk
f87e51fb6b
Turn on RB_ASKNAME if a `swap generic' kernel was not able to determine
...
the boot device. Also, call boot device hooks for all types of kernel
configurations.
Print "mainbus" name on sun4m machines.
1996-06-12 15:24:05 +00:00
pk
4dd7cb4f5c
Use `ic_*' cacheinfo fields, and in the split-I&D case, derive `c_linesize[l2]'
...
from from the corresponding `ic_*' and `dc_*' values. This is not perfect,
but it makes SS4s and SS5s run until we have proper per-cpu cache handling.
1996-06-12 14:57:03 +00:00
pk
52d6871979
Use `ic_*' cacheinfo fields, and in the split-I&D case, derive `c_linesize[l2]'
...
from from the corresponding `ic_*' and `dc_*' values. This is not perfect,
but it makes SS4s and SS5s run until we have proper per-cpu cache handling.
Use the `cache-physical?' property to determine the value of `vactype'
on sun4m's. If absent, set vactype to VAC_WRITETHROUGH (XXX) else VAC_NONE.
Print simpler sun4m CPU identifier on attach.
1996-06-12 14:56:09 +00:00
pk
6281105c8f
Introduce separate ic_* fields for instruction caches.
1996-06-12 14:47:45 +00:00
pk
6a4a26da0c
Correct test for `dmachild' which failed on `esp at obio*' configs (PR#2541).
1996-06-12 12:46:21 +00:00
pk
94cd1644ee
Avoid the "features enable" bit on ESP100A's; apperently this is a source
...
of trouble on many machines (from Krister Walfridsson; PR#2537).
1996-06-11 22:26:16 +00:00
pk
49aec33417
pmap_changeprot: truncate VA argument to page-boundary. Needed in case we
...
call cache_page_flush().
1996-06-11 21:54:44 +00:00
thorpej
a01d6597b6
Squish a couple of rogue $Id's..
1996-06-07 21:48:33 +00:00
christos
207d85a1cc
Handle T_RESET, otherwise DIAGNOSTIC kernels panic.
1996-06-05 19:30:43 +00:00
pk
3dfb6ab8c0
Code the residual computation a bit differently.
1996-06-03 23:48:41 +00:00
pk
460d3403be
Initialize video parameters if the board is not yet running. Useful if
...
the cg3 is not the console.
1996-05-31 09:59:22 +00:00
pk
a8deff302c
Clamp synch-transfer parameters at our maximum values on device-initiated
...
synch negotiation.
1996-05-30 22:19:10 +00:00