Commit Graph

23884 Commits

Author SHA1 Message Date
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
mikel
362f41ae80 fdc manpage is in section 4, not 8. 1996-12-10 07:47:45 +00:00
mikel
9655890e1f we don't use this. 1996-12-10 07:22:22 +00:00
mikel
7bd9154d93 Upgrade to flex 2.5.4. 1996-12-10 07:18:37 +00:00
mikel
c9d564c2ca Import flex-2.5.4 1996-12-10 06:06:26 +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
thorpej
3fe99e29ea Deal with complex EDITOR strings (e.g. `pico -t'). Fixes PR #2520. 1996-12-09 22:23:34 +00:00
pk
fb27e166b1 Add ttyaction.0,cpu_switch.0,ctxsw.0,mi_switch.0 1996-12-09 22:13:54 +00:00
pk
ab575b49ea Add fdio.h,ttyaction.0 1996-12-09 22:12:22 +00:00
pk
b31d950e31 add kcore.h,kvm_dump*.0 1996-12-09 22:11:39 +00:00
thorpej
3dc69d90b9 XXX Kludge to make this compile with large MAXBSIZE until the
XXX GCC bug it tickles is fixed.
1996-12-09 20:03:19 +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
neil
36139c4647 errors not generated 'cuz old message was icmp -> [EWW!]
errors not generated because old message was icmp
1996-12-09 12:48:37 +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
mrg
077acf5088 remove unsafe calls to strcpy(), strcat(), and sprintf(). some KNF. 1996-12-09 09:57:40 +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
mycroft
6020b18019 Use warnx() and hstrerror(), rather than herror(). 1996-12-08 13:59:11 +00:00
mycroft
a6a278a7bf Fix typo. 1996-12-08 13:54:42 +00:00
mycroft
ee7207b7ef Eliminate local variable `progname'. 1996-12-08 13:53:25 +00:00
mycroft
0d53a465b5 Use daemon() corrently.
Use err*(3) and warn*(3).
1996-12-08 13:44:26 +00:00
mycroft
5d4bdd4971 Use daemon() to background. 1996-12-08 13:28:21 +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
thorpej
f6a53d4680 Sync with the i386 crt0.c 1996-12-08 00:39:42 +00:00
cgd
e9abc8540f remove all traces of __BROKEN_INDIRECT_CONFIG (except in shared drivers) 1996-12-08 00:22:08 +00:00