cgd
8aa5282c68
clean up the __BROKEN_INDIRECT_CONFIG chunks of the last change
1997-03-13 01:04:02 +00:00
cgd
96153388c0
add in the 'isp' device, for Qlogic ISP 1020-based Sbus SCSI board support
1997-03-13 00:46:13 +00:00
cgd
13a313fd8d
add entries for ahc and bha PCI devices. clean up some
1997-03-13 00:43:37 +00:00
cgd
4c654c0acf
fixes from Matt Jacob so that these can compile and run on the Alpha.
...
(aic7xxx has been tested and works on the Alpha, bha has not yet been
tested on thne Alpha.)
1997-03-13 00:38:48 +00:00
pk
9ceaaf3e7b
Turn off "cache pagetables bit" on non-MXCC modules.
1997-03-12 22:52:19 +00:00
mycroft
b8d7e3deab
No longer needed.
1997-03-12 22:40:07 +00:00
mycroft
8f8b0d91e5
Remove bogus use of splhigh(), and apparently unneeded bzero().
1997-03-12 22:31:37 +00:00
cgd
2330e40bc9
enable Matt Jacob's ISP 10x0 driver, now that it's in the source tree.
1997-03-12 21:50:15 +00:00
cgd
8c689e6477
Copyright notice consistency, per Matthew Jacob.
1997-03-12 21:09:43 +00:00
cgd
cf26d31ad2
NetBSD RCS ID tweaks, a few comment block tweaks. Also, make copyright
...
notices consistent (per Matt Jacob).
1997-03-12 21:06:41 +00:00
cgd
099e30a322
ISP 10x0 driver from Matthew Jacob of NASA Ames Research Center.
...
(March 12, 1997 version).
1997-03-12 20:44:50 +00:00
christos
e775167e27
Update to ppp-2.3b4; from Paul Mackerras
1997-03-12 20:26:46 +00:00
fvdl
7fb73fe0b2
Fix error in computation of BSS size when clearing it.
1997-03-12 19:49:11 +00:00
ragge
2bbaeef8cc
Fast and dirty fix to avoid panics during autoconf of KFQSA DSSI disks.
...
Controller errors showing up can't be handled anyway.
1997-03-12 19:42:30 +00:00
cgd
0daaaa0fc2
add kn8ae CPU support to GENERIC kernels. Also, add kn8ae devices.
...
Add "isp", "ahc", and "bha" config lines, but comment them out until
their sources are in the tree and/or their alpha patches are in the tree.
1997-03-12 19:29:14 +00:00
cgd
ffba332bb5
AlphaServer 8200 & 8400 support, including CPU specific details, TurboLaser
...
system bus support, and KFTxx support. From Matthew Jacob, NASA Ames
Research Center.
1997-03-12 19:19:54 +00:00
cgd
265be6d839
enabled SQWE as well as PIE in reg B.
1997-03-12 19:13:20 +00:00
thorpej
a92ec8002e
Enable COMPAT_M68K4K.
1997-03-12 18:33:09 +00:00
pk
8e4a126035
Use `mcxx' from cpuinfo instead of re-consulting the MMU registers
1997-03-12 15:44:28 +00:00
christos
0d71b22d50
Use genassym.cf
1997-03-12 15:17:13 +00:00
christos
3e35754576
Added genassym.cf
1997-03-12 15:16:35 +00:00
christos
12331eb691
Fix typo of PR/3319
1997-03-12 13:53:14 +00:00
fvdl
2adb2cb776
Add NOATIME to the visible flags (statfs, fstatfs).
1997-03-12 12:09:47 +00:00
pk
6e3c9f3b59
Make sure to disable interrupts in the Interrupt Enable register as soon
...
as we've mapped it.
1997-03-12 11:04:35 +00:00
pk
b197276005
Correct output from cpumatch_unknown() and add missing viking variant
...
to cpu table (noticed by Andrew Gillham).
1997-03-12 09:08:29 +00:00
mikel
d9b86972c1
SB minor version number is always two digits
1997-03-12 07:06:19 +00:00
cgd
9753d8f7a5
properly #define MC_REGB_SQWE. From Matt Jacob
1997-03-12 06:53:42 +00:00
cgd
a0d3809966
specs for ISP 10x0 (isp) driver Sbus attachment. From Matt Jacob.
1997-03-12 06:43:25 +00:00
cgd
dbaf4fbdbe
specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob
1997-03-12 06:39:47 +00:00
cgd
28152db63a
don't assume that CPU ID is same as device unit number (DUH!), add some
...
comments about future work to be done. make a mostly-extraneous set of
printfs (cpu capabilities) become #ifdef DEBUG.
1997-03-12 05:50:00 +00:00
cgd
245b65b853
pass CPU ID info down to cpu when attaching (duh!)
1997-03-12 05:47:37 +00:00
cgd
0a500fffa0
update to allow PCI bus interfaces that wish to allocate static
...
extent storage per interface unit (e.g. dwlpx, where there can be multiple
units per machine) to do so. Inspired by discussion with and changes from
Matt Jacob.
1997-03-12 05:24:23 +00:00
cgd
55f902601c
Set the halt flags in the right per-cpu-slot structure. From Matt Jacob.
1997-03-12 04:45:41 +00:00
cgd
adad00a33a
sanity check rpb_primary_cpu_id
1997-03-12 04:42:22 +00:00
cgd
e4307285ba
from Matt Jacob: deal with type 5 (passive release?) interrupts. (ignore them
...
but print out their vector(?) to see if we can ever discern anything useful
from it.) Also, some slight general cleanup.
1997-03-12 04:22:30 +00:00
thorpej
1777807068
Add 9660 file system, and set DDB_ONPANIC to 0.
1997-03-12 02:08:02 +00:00
cgd
cd9e2f3b86
add an entry for 'isp', the MI Qlogic ISP 10x0 SCSI Controller driver,
...
from Matt Jacob.
1997-03-12 01:56:18 +00:00
cgd
9a36b46f7a
tlsb bus and device file specs, s/21000/kn8ae. From Matt Jacob.
1997-03-12 01:54:23 +00:00
cgd
7e33512f13
fix up kn8ae/DEC_21000 entry
1997-03-12 01:47:46 +00:00
chuck
7df0dbdd33
minor fixes to freebsd code sections from Kenjiro Cho <kjc@csl.sony.co.jp>
...
get ready to add support for adaptec version of midway card (which
has a different DMA interface).
1997-03-11 23:30:19 +00:00
chuck
cdd09b01c5
minor fix to freebsd section of code from Kenjiro Cho <kjc@csl.sony.co.jp>
1997-03-11 23:19:51 +00:00
gwr
a9bc70551a
Clarify duties of traps 1, 2, 12, 15 for emulations
...
Include <m68k/m68k/sigreturn.s> code.
Add/fix some comments...
1997-03-11 22:58:57 +00:00
gwr
4756c63625
Call isr_soft_request() at most once per zshard interrupt.
...
In the softintr, raise to spltty before calling tty code.
1997-03-11 21:54:35 +00:00
gwr
05a47d22ea
Correct handling for Trap #2 in SunOS executables,
...
now that we know it is supposed to flush the cache.
(Was thought to be "some obscure FPU operation".)
1997-03-11 21:30:51 +00:00
gwr
f64034e8f6
Sync up with changes in GENERIC
1997-03-11 21:21:49 +00:00
gwr
b4de41ef34
Update the description of the flags for "si" devices.
...
Remove wired-down scsi disk targets (no longer needed).
Add ch, ss, uk (scsi devcies) at mycroft's requst.
1997-03-11 20:59:10 +00:00
gwr
3aa49c4b33
Remove unnecessary differences (T_BRKPT, T_WATCHPOINT gone).
1997-03-11 20:31:20 +00:00
gwr
ec6bb1d018
s/-T/-Ttext/
1997-03-11 20:13:20 +00:00
gwr
4ad7ed0b97
Moved dev_net.[ch] to sys/lib/libsa
1997-03-11 18:29:30 +00:00
gwr
8f0295e7f0
Moved here (via repository copy) so they are more easily shared.
...
I did not add them to the library, but rather compile them where
the netboot program is built so I can add -DSUN_BOOTPARAMS, etc.
1997-03-11 18:23:55 +00:00
sommerfe
9460da5eb9
Implement trace/t ("thread" trace) allowing traceback by process-id
...
rather than by frame pointer (which it a bit harder to find).
1997-03-11 16:38:23 +00:00
mikel
877fe66c4e
SDEV_NOMODESENSE quirks are no longer needed for optical devices; from
...
Enami Tsugutomo in PR kern/3308.
1997-03-11 06:06:35 +00:00
mikel
1186720517
eliminate leftover header from bt -> bha conversion; noted by Enami
...
Tsusgutomo in PR kern/3310.
1997-03-11 04:24:03 +00:00
mikel
bd1ca0f680
this is umapfs, not lofs
1997-03-11 03:55:04 +00:00
mikel
812eb1fae4
this is nullfs, not lofs
1997-03-11 03:54:29 +00:00
pk
92d853e309
4m memory fault traps: simplify fault address logic, since per-CPU
...
fault-status reading stubs pre-cook the arguments.
illegal instruction trap: catch iflush instructions that cause this trap
on some CPU/MMU combinations.
1997-03-11 01:20:25 +00:00
pk
01e424f233
Insert RCS Id.
1997-03-11 01:03:07 +00:00
pk
abc39039f1
Move some parts of CP detection to cpu_attach() in cpu.c.
...
Call get_cpuinfo() for the boot CPU to collect the minimum information
to get the bootstrap rolling.
sun4/sun4c: the Interrupt Enable register is now mapped here after pmap
is initialized (was in locore).
Replace `cpumod' and `mmumod' with `cpuinfo.*' equivalents.
Allow more than one CPU to be configured in mainbus_attach().
1997-03-11 01:01:59 +00:00
pk
476ef3b431
Per-CPU information which is collected in cpu_attach().
...
Many things in here were imported from an earlier version from Aaron
Brown and are not yet used. This version has all the attributes of a
snapshot; more to come as addtional CPU/MMU details get implemented.
1997-03-11 00:55:24 +00:00
pk
eb71a02a7f
Re-write of CPU/MMU detection code.
...
Use a table driven classification based on CPU and MMU implementation/version
fields. Each CPU class or module defines a collection of routines that
implement CPU or MMU specific operations that can collect detailed setup
information.
All information is collected in a `cpu_softc' structure provided by the
auto-configuration code. However, in the interest of SMP support this
structure is located at a fixed virtual address identified by the
symbol `cpuinfo'. The `boot' CPU currently uses the the physical page(s) at
address 0x2000 for its cpuinfo. Consequently, the fixed virtual address
will be `KERNBASE+0x2000'.
The cache flush routines for several systems (sun4/4c vs. sun4m;
virtual vs. physical tags) have been factored out. Function pointers
to an appropriate set are located in `cpuinfo'. The former global
`cacheinfo' structure is now also a part of `cpuinfo'. Because of the
fixed virtual address of `cpuinfo' no extra performance penalties
are incurred by this move. In multi-architecture kernels, there's
no longer the need for run-time `cputyp' tests in this part of the system.
1997-03-11 00:44:00 +00:00
pk
8d2c03c810
Replace `cputyp' run-time tests by inserting multiple branches and NOPing
...
some at startup depending on architecture.
Use `get_faultstatus' field in `cpuinfo' (initialized in cpu.c) to branch
to CPU/MMU specific fault status reading stubs on memory fault traps.
Remove code top map the Interrupt Enable register on sun4/sun4c. Its VA
has moved to a high location and is now mapped in autoconf.c after
pmap has initialized. Note: this renders NMIs during bootstrap() fatal
(maybe loading %tbr should be deferred).
1997-03-11 00:09:29 +00:00
pk
7d6231865e
Use cache flush routines provided in `cpuinfo'.
1997-03-10 23:55:40 +00:00
pk
129d9d5cf6
Move VA of the sun4/sun4c Interrupt Enable register from locore.
...
Define VA for the per-CPU `cpuinfo' structure.
1997-03-10 23:54:41 +00:00
pk
a566decb35
Use many things from the newly defined `cpuinfo' structure:
...
- vcache_flush_*() routines.
- cpu_type/cpu_flags
- per cpu context table and context administration glue.
- different macros to enable sun4/3-level mmu support.
Simplify sun4m version of pmap_bootstrap() a bit; more to do still.
Move installation of page tables in MMU into a separate routine, in
anticipation for SMP.
1997-03-10 23:26:11 +00:00
pk
ca1c4cc6c3
Define CPUINFO_FAULTSTATUS for use in locore.s
1997-03-10 23:15:03 +00:00
pk
4f30101165
Leave `has_iocache' unset if cache not enabled.
1997-03-10 23:13:59 +00:00
pk
593dbcc7dd
Replace `cpumod' with `cpuinfo.cpu_type' equivalent.
1997-03-10 23:09:55 +00:00
pk
d1be7c7ea4
New location of Interrupt Enable register on sun4/sun4c.
1997-03-10 23:08:31 +00:00
pk
d8fc2afd1e
Replace `cpumod' with `cpuinfo.cpu_type' equivalents.
1997-03-10 23:01:40 +00:00
pk
3811437545
Redo attach code somewhat. Have a go at matching le's and lebuffer's on
...
machines where the PROM does not provide a parent/child relationship.
1997-03-10 22:58:22 +00:00
pk
9119c9c189
Add a field indicating this instance has attached to an `le', so we
...
can have a go at matching le's and lebuffer's on machines where the
PROM does not provide a parent/child relationship.
1997-03-10 22:56:54 +00:00
pk
e5f0b8a132
Remove `cpumod' and `mmumod' and several related constants.
...
This functionality is now taken over by cpuvar.h
1997-03-10 22:50:37 +00:00
pk
95d5138e93
Move some constants from param.h in here
1997-03-10 22:47:52 +00:00
chuck
47727c7946
remove "::" entries as per cgd
1997-03-10 22:27:36 +00:00
pk
137dda4ac6
Add getmid
1997-03-10 21:49:11 +00:00
gwr
d0a45ab470
Use the macros sc_if, sc_addr to avoid lots of references to sc_arpcom.
1997-03-10 21:45:01 +00:00
scottr
12098dae8a
Add missing call to ae_nb_get_enaddr(), from <kei_sun@ba2.so-net.or.jp>.
...
Fixes PR 3312.
1997-03-10 17:55:15 +00:00
leo
f99aabbca1
Push out some 060 support. It's all untested and mostly copied in from the
...
amiga-port.
1997-03-10 14:44:26 +00:00
leo
7e288e08c3
Use vme_mask, not sys_mask to enable the SCC interrupt.
1997-03-10 14:41:43 +00:00
leo
2e85636c46
$NetBSD -> $NetBSD$ Sigh.
1997-03-10 10:22:34 +00:00
leo
b9595171f0
Add support for the Lance ethernet card on the VME-bus (Riebl/PAM)
1997-03-10 09:44:52 +00:00
thorpej
dc1020fe40
Print the interrupt level in scsiattach().
1997-03-10 08:37:31 +00:00
thorpej
bb0d35b7e4
Bump version - we compute the kernel load address differently.
1997-03-10 08:02:23 +00:00
thorpej
4e541ff7ea
Fix rounding of lowram value; ensure the kernel load address is on
...
an 8k boundary.
1997-03-10 08:00:47 +00:00
mycroft
66c4e32b11
Just increment the generation count. Using the time is bogus and defeats
...
fsirand(8).
1997-03-10 06:18:28 +00:00
mikel
3c5e473fd6
LOFS is long gone
1997-03-10 03:27:22 +00:00
leo
3d849b9429
- Turn the sc_[tr]bufaddr fields into arrays of addresses instead of just
...
the base address. This allows for a more flexible layout of buffers
in the Lance's memory.
- Add a new element 'sc_saved_csr0' to am7990_softc. It's value is or-ed
with the current csr0 value in the am7990_intr() function. This allowes
for a 'deferred' interrupt sceme.
1997-03-09 21:12:39 +00:00
ragge
2b8ac648a3
Frob pages before trying to map them, to be sure they exist.
1997-03-09 16:00:06 +00:00
ragge
b64bca2999
Fixed bug that caused d partition being treated as c.
...
RAW_PART is 2, not 3.
1997-03-09 15:55:58 +00:00
mikel
a71e39e5d5
fix some spelling errors noticed by Charles Kane <ckane@mipos2.intel.com>.
...
fix some more noticed by myself; all are in comments or strings.
1997-03-09 06:10:32 +00:00
cgd
8efa66858c
fix problem compiling if neither PCI VGA nor TGA frame buffers were
...
configured. Pointed out by Matt Jacob.
1997-03-08 19:25:49 +00:00
leo
d3c11c558c
Enable SCC & MFP interrupts through the vme_mask register instead of
...
using the sys_mask register.
1997-03-07 21:45:41 +00:00
mark
682f911197
Updated for latest major number allocations.
1997-03-07 03:30:46 +00:00
thorpej
0b07209248
Allow depend target to be parallized, from Andrew Wheadon
...
<andrew@wipux2.wifo.uni-mannheim.de>, PR #3257 .
1997-03-07 00:50:30 +00:00
thorpej
709ccfa853
Patch from Matt Thomas to deal with the fact that Pass 2.[012] of
...
the 21140A-A[CDE] have a buggy receiver which may hand and/or corrupt
data on receive overflows.
1997-03-06 22:32:20 +00:00
gwr
51cfd7ed4d
Get the numbers of kernel MMU tables right.
1997-03-06 05:16:34 +00:00
briggs
47392571c5
Undo some damage that CVS somehow let me get away with.
1997-03-06 02:14:51 +00:00
gwr
9a79f92460
Clean out some junk I forgot to remove last time...
1997-03-06 00:15:56 +00:00
gwr
25d7b99a1f
Implement "mach pgmap" for examining mappings.
1997-03-06 00:05:23 +00:00
gwr
a4e5a18b63
Add pmap_bootstrap_setprom() with sets the PROM level-A tables to
...
allow the PROM monitor to see mappings in kernel space. This also
fixes a problem with exiting to the monitor with the stack pointer
set to some place in kernel space. Also fix NUM_KERN_PTES, and
change get_pte() so it works on any virtual address.
1997-03-06 00:04:18 +00:00