Commit Graph

14309 Commits

Author SHA1 Message Date
thorpej
f82a494e0f Fix typo in comment. 1996-12-11 09:10:38 +00:00
mycroft
ef60fc0bad Minor change to a comment. 1996-12-11 01:55:50 +00:00
pk
9b87837f21 Panic if `auxreg' is requested but is not there. Not much we can do about
users of AUXIO_REG; they'll die with a data fault.
1996-12-11 00:51:06 +00:00
fvdl
6913afc057 Give permission to the owner of the file to preserve semantics only
in the relevant cases (read, write). Fixes PR 3017.
1996-12-11 00:01:56 +00:00
pk
2f296724a8 Not all sun4m's have an `auxio'. 1996-12-10 23:24:56 +00:00
pk
e0df2a7e78 Kill __BROKEN_INDIRECT_CONF. 1996-12-10 23:19:38 +00:00
pk
3f316d7783 Comply with recent autoconfiguration changes. Diffs graciously supplied
by Chris Demetriou.
1996-12-10 23:19:13 +00:00
pk
841d1ec634 Comply with recent autoconfiguration changes. Diffs graciously
supplied by Chris Demetriou.
1996-12-10 22:54:46 +00:00
thorpej
55acc3ffb3 Fill in sc_link.max_target 1996-12-10 21:57:17 +00:00
thorpej
d502e68402 Fill in sc_link.max_target 1996-12-10 21:27:16 +00:00
thorpej
f113ac70dd Add a "max_target" member to struct scsi_link, which is filled in by
host adapter drivers, indicating the highest SCSI target they can
address.  Use this value to dynamically allocate data structures, rather
than hard-coding 8 targets.

These changes allow targets > 7 to be addressed on wide SCSI busses.

Fixes PRs #1674 and #2892.
1996-12-10 21:06:29 +00:00
cgd
e4f6e48c7d kill the last vestiges of __BROKEN_INDIRECT_CONFIG. 1996-12-10 19:33:51 +00:00
mycroft
6efa67cb69 Use RELOC() to access _myea. 1996-12-10 18:41:00 +00:00
mycroft
a1f3d20e2c Minor twiddle; _prototc is only 4 bytes, not 8. 1996-12-10 18:33:51 +00:00
mycroft
315bb1ab50 Fix RTT scaling problems introduced with Brakmo and Peterson changes. 1996-12-10 18:20:19 +00:00
pk
92c4c71040 Finish import of floppy formatting code; not really usable yet, lots of
data overruns.
1996-12-10 14:44:53 +00:00
mycroft
a26a19aeda Return EAGAIN if binding with no specified port and the pool is empty. 1996-12-10 11:38:42 +00:00
mycroft
c1de76e30b Allocate real malloc types for NFS, rather than using M_TEMP. 1996-12-10 10:07:22 +00:00
mycroft
b8464bb9da Fix pasto. 1996-12-10 08:54:53 +00:00
tls
6083cacd31 fix very misleading comment 1996-12-10 05:28:15 +00:00
thorpej
8606b2f1d3 In sbreserve(), don't allow a count of 0. Fixes PR #2794, from
Erik Berls <cyber@dis.org>.
1996-12-09 23:50:57 +00:00
fvdl
b3418365a1 Make sure KVM used by buffer cache doesn't exceed VM_MAX_KERNEL_BUF.
XXX stopgap measure.
1996-12-09 22:51:55 +00:00
fvdl
3dc301ff58 Include VM_MAX_KERNEL_BUF constant to put a cap on buffer cache KVM usage.
Override via config file possible.

XXX this is a stopgap measure.
1996-12-09 22:49:42 +00:00
is
d524505ef7 It turned out that my orginal docs were wrong wrt. Blizzard IV
scsi... it is NOT nearly identical to the Blizzard 2060 scsi option.
Make the name reflect this. Driver cleanup will follow.
1996-12-09 18:17:40 +00:00
thorpej
ef5333043b Copyright assigned to The NetBSD Foundation. 1996-12-09 17:46:44 +00:00
thorpej
66cbbf68ff Copyright assigned to The NetBSD Foundation. 1996-12-09 17:35:24 +00:00
is
f95e0398cc New version by Jukka Marin <jmarin@pyy.jmp.fi>, with rewritten (to fix
problems) carrier detect code. Slightly cleaned up by Bernd Ernesti
<veego@netbsd.org>
1996-12-09 17:24:55 +00:00
oki
6281db6925 Use config_search() instead of config_scan(),
by Chris G Demetriou, tested by me.
1996-12-09 16:12:19 +00:00
oki
d27890041b CACHE4_OFF --> CACHE40_OFF, compile again. 1996-12-09 15:29:06 +00:00
fvdl
2914743038 Comment change in previous made for some bad english.. 1996-12-09 11:31:11 +00:00
fvdl
46795a244d Move '#ifdef NFSSERVER' back to the right spot; NQNFS datastructures need
to be initialized on both the client and the server side. Remove misleading
comment about this being just server stuff.
1996-12-09 10:46:20 +00:00
thorpej
5dc95f5908 Garbage-collect DMAINTLVL; it's not needed any more. 1996-12-09 06:18:13 +00:00
thorpej
49471d5fd5 Sync with reality. 1996-12-09 03:56:01 +00:00
thorpej
01667974d0 isrlink() now returns a cookie. We're not interested in the cookie, so
cast to (void).

Call dmacomputeipl() after we've hooked up our interrupt handler.
1996-12-09 03:16:26 +00:00
thorpej
648a1b19ae isrlink() now returns a cookie. We're not interested in the cookie, so
cast to (void).
1996-12-09 03:14:06 +00:00
thorpej
0d6571ba4d Defer hooking up the DMA controller interrupt. Add a new funciton,
dmacomputeipl(), which is called by drivers which use DMA once they've
hooked up their interrupts.  This new function computes the appropriate
ipl to use for the DMA controller and (re-)establishes it's interrupt.
1996-12-09 03:09:51 +00:00
thorpej
75a37ecc60 Print the interrupt levels for bio, net, and tty computed during
autoconfiguration.
1996-12-09 03:07:11 +00:00
thorpej
ce7ecde8a3 Dynamically compute the PSL value for spl{bio,net,tty,imp}() calls. 1996-12-09 03:04:46 +00:00
thorpej
c36215249a Add EXEC_SCRIPT (I don't even want to know how I forgot it before...) 1996-12-09 01:53:30 +00:00
pk
10a182e399 Revise communication between hw & sw interrupt handler.
Deal with sun4m software interrupt mechanism.
1996-12-08 23:41:39 +00:00
pk
837dd8e3e1 Import formatting code from the i386 version.
Revise communication between hw & sw interrupt handler.
1996-12-08 23:40:32 +00:00
thorpej
73877cf0f3 Allow the default value for MAXBSIZE (== MAXPHYS) to be overridden
by <machine/param.h>.
1996-12-08 00:52:01 +00:00
cgd
e9abc8540f remove all traces of __BROKEN_INDIRECT_CONFIG (except in shared drivers) 1996-12-08 00:22:08 +00:00
cgd
74187419b6 The last change fixed a last-minute goof in the __BROKEN_INDIRECT_CONFIG
case, but added a typo (extra parenthesis) in the !__BROKEN_INDIRECT_CONFIG
case.  fix it.
1996-12-08 00:14:03 +00:00
cgd
6dbb1548bd kill __BROKEN_INDIRECT_CONFIG 1996-12-07 22:43:17 +00:00
cgd
fb18e1fda9 oops; have to cast PS_STRINGS away from pointer 1996-12-07 22:36:28 +00:00
cgd
0e3d6291e3 note what each of the argument registers in setregs() will be used
for by crt0.  Actually clear a1 and a2, because unless a shared loader (i.e.
_not_ the kernel) set them when invoking crt0, they should be zero, and
the kernel DEBUG code wouldn't necessarily have them be.  Pass a pointer
to the proc's ps_strings structure in a3.
1996-12-07 19:45:14 +00:00
thorpej
b5c8aff18b In setroot(), fix mishandling of the `config netbsd root on nfs' case
that caused a NULL pointer dereference.
1996-12-07 19:00:46 +00:00
cjs
75d4fb207b Add definition for internal config register. 1996-12-07 16:23:40 +00:00
fvdl
9e2e734159 Remove _MCOUNT_DECL prototype once more. 1996-12-07 12:59:45 +00:00