Commit Graph

55386 Commits

Author SHA1 Message Date
phk
7e33fb5b20 Use macro API to <sys/queue.h>
Submitted by:	"Peter Avalos" <pavalos@theshell.com>
Reviewed by:	/sbin/md5 [*]

[*] This line appears courtesy of Mr. Warner Losch, all rights reversed.
2000-12-31 10:28:01 +00:00
phk
5de479435a Use macro API to <sys/queue.h> 2000-12-31 10:24:19 +00:00
phk
bd55e14c59 Add compress option at the instigation of rgrimes. 2000-12-31 10:22:52 +00:00
mjacob
7278f73086 The default is /dev/nrsa0 (now), not /dev/nsa0. 2000-12-31 08:17:58 +00:00
mjacob
072d9a6f78 Unbelievable how this slipped through. There is
no such device as /dev/nsa0. The DEFTAPE should
"/dev/nrsa0". *Groan*.
2000-12-31 08:17:19 +00:00
imp
b3e6a27a70 If the first argument doesn't start with '-' assume that it is an
interface.  This augments the default to an appropriate interface
code.

# These programs should be merged into ifconfig, ala NetBSD, but that's
# a fight for another day.

Idea from: OpenBSD
2000-12-31 01:51:23 +00:00
tanimura
48f3847902 Ignore a net interrupt if the corresponding handler is not
registered.

This fixes panic on my laptop where a spurious arp packet
is received when arp is not ready to run.
2000-12-31 01:31:55 +00:00
ps
653b0a4d6a Backout rev 1.57 & 1.58. While the previous revisions fixed
attaching to running processes, it completely breaks normal debugging.
A better fix is in the works, but cannot be properly tested until
the problem with gdb hanging the system in -current is solved.
2000-12-31 01:30:27 +00:00
dillon
77a253b168 Imply -c when -S is specified, so 'vnconfig -s reserve -S 4 vn1' configures the
device as expected.
2000-12-31 01:27:55 +00:00
dillon
41fd6873a8 Fix a lockup problem that occurs with 'cvs update'. specfs's fsync can
get into the same sort of infinite loop that ffs's fsync used to get
into, probably due to background bitmap writes.  The solution is
the same.
2000-12-30 23:32:24 +00:00
phk
72cd3208b3 Use macro API for <sys/queue.h> 2000-12-30 22:06:19 +00:00
phk
f2049d4440 My bad, committed the submitted patch rather than the fixed patch. 2000-12-30 21:56:18 +00:00
ben
cc8f3da609 Use macro API to <sys/queue.h> 2000-12-30 21:52:34 +00:00
phk
4ea1588b37 Use macro API to <sys/queue.h>
Submitted by:	"Jason" <jsmethers@pdq.net>
Reviewed by:	phk
2000-12-30 21:22:54 +00:00
phk
4cc97bc78a Use macro API to <sys/queue.h>
Submitted by:	"Jason" <jsmethers@pdq.net>
Reviewed by:	phk
2000-12-30 21:17:03 +00:00
phk
012b3e6f20 Use macro API to <sys/queue.h>
Submitted by:	"Peter Avalos" <pavalos@theshell.com>
Reviewed by:	/sbin/md5
2000-12-30 21:05:45 +00:00
phk
7fd96a9db3 Use macro API to <sys/queue.h>
Submitted by:	"Jason" <jsmethers@pdq.net>
Reviewed by:	/sbin/md5
2000-12-30 21:02:25 +00:00
phk
8211e35e91 Use macro API to <sys/queue.h>
Submitted by:	"Jason" <jsmethers@pdq.net>
Reviewed by:	/sbin/md5
2000-12-30 20:56:04 +00:00
phk
f13a78af64 Use <sys/queue.h> macro API.
Submitted by:	"Jason" <jsmethers@pdq.net>
Reviewed by:	/sbin/md5
2000-12-30 20:40:16 +00:00
bmah
c440bae8ea Sync up the list of supported AMI MegaRAID controllers with reality.
Submitted by:	msmith
2000-12-30 20:11:55 +00:00
mjacob
5901dfe396 Change the modification of what could be a const string. Apparently the
construct:

	char *foo;
	...
	foo = "XXX";
	...
	foo[1] = 'Y';

is wrong. IT blew up on NetBSD-sparc64 because that platform write-protects
constant strings.
2000-12-30 20:09:26 +00:00
ben
70057689c9 Remove comma after final .Nm entry before .Nd 2000-12-30 18:58:15 +00:00
ben
59b8a3e902 Remove CIRCLEQ manual page links now that CIRCLEQ has been axed. 2000-12-30 18:54:35 +00:00
green
6277537cb3 Fix a tailq conversion bug that resulted in, e.g., nvi crashing upon
quitting every time.  The way to free a CIRCLEQ was to loop until
the current == current->head, but the way to free a TAILQ is to loop
until current->head == NULL.

In any case, the CORRECT way to do it is a loop of TAILQ_EMPTY() checks
and TAILQ_REMOVE()al of TAILQ_FIRST().  This bug wouldn't have happened
if the loop wasn't hard-coded...

There may be more bugs of this type from the conversion.
2000-12-30 16:10:32 +00:00
assar
6b77259e11 update to the current set of mnt_, ufs_ and nfs_ flags
also make man-page correspond to the code
2000-12-30 15:41:40 +00:00
phk
624a962108 Use the MACRO API to <sys/queue.h>.
Submitted by:	"Peter Avalos" <pavalos@theshell.com>
2000-12-30 14:19:07 +00:00
dfr
c0346114b4 Don't include <stddef.h> for offsetof() - its also defined in <sys/types.h> 2000-12-30 13:07:58 +00:00
dfr
78040d3f19 Merge ALIGN changes from alpha code. 2000-12-30 13:06:01 +00:00
dfr
83798d65dc Fix typo. 2000-12-30 13:04:20 +00:00
ps
250c89d360 Pass me the pointy hat. Do not hold sched_lock over psignal.
Submitted by:	alfred
2000-12-30 00:44:44 +00:00
paul
b792d44931 Change open modes from ">$file" to "> $file" because it's much safer should
$file not be what you expect, particularly should $file turn out to be
"+REQUIRES" since ">+" is a valid open mode.

This isn't currently a problem since $file is constructed safely but it removes the potential of future problems.

Pointed out by Anton Berezin.
2000-12-30 00:14:01 +00:00
assar
d01d160690 add strcollect.c to SRCS (new file in 1.0.5) 2000-12-29 23:44:24 +00:00
assar
2b880db8c5 set LIBEXECDIR (used by kipd) 2000-12-29 23:43:23 +00:00
brian
5a8c7294c8 Log the ``MPPE: MasterKey is invalid...'' message as a CCP
diagnostic rather than a warning.
2000-12-29 22:25:56 +00:00
assar
2a7f590041 fix conflicts from merge 2000-12-29 21:16:01 +00:00
assar
29cd18e572 This commit was generated by cvs2svn to compensate for changes in r70494,
which included commits to RCS files with non-trunk default branches.
2000-12-29 21:00:22 +00:00
assar
2aa51584a1 import krb4-1.0.5 2000-12-29 21:00:22 +00:00
phk
021b2d087a Convert from CIRCLEQ to TAILQ. 2000-12-29 20:33:28 +00:00
phk
6180841d0a Use TAILQ instead of CIRCLEQ. 2000-12-29 20:25:01 +00:00
bmah
8ba5f80fd8 Fix some misplaced release notes, correct some omissions and
inconsistencies between architectures.
2000-12-29 19:34:46 +00:00
mjacob
10e300a6dd Add in Bill Sommerfeld's -Wformat stuff. Add a ISP_CFG_NOINIT option
to keep from completing initialization when isp_init is called.
2000-12-29 19:17:18 +00:00
mjacob
a2ee3f2b32 Add in Bill Sommerfelds -Wformat changes. Set up default node && port
WWNs correctly (Again!) - this time for the case that we're not going
to fully init the adapter if isp_init is called (with ISP_CFG_NOINIT
set in options). The pupose for this is to bring the adapter up to
almost ready to go, get info out of NVRAM, but to not start it up- leaving
it until later to actually start things up if wanted (and possibly with
different roles selected).
2000-12-29 19:12:44 +00:00
mjacob
affd82f08f Set up to do a local interrupt fielding before calling common code-
allows us to grab lock as we should.
2000-12-29 19:10:16 +00:00
mjacob
e2e4fb07d4 Make sure we do locking if we call isp_intr.
Make sure we enter Giant for now if we call into cam for completion.
2000-12-29 19:06:32 +00:00
ben
aa10518020 Convert to use the <sys/queue.h> macros rather than fiddling with the queue
structure internals.

Reviewed by:	markm
2000-12-29 18:04:54 +00:00
takawata
829d1eb6e8 Remove the old acpi stuff entry.
Submitted by:kurinyma
2000-12-29 15:39:45 +00:00
phantom
2b78ea2373 Get rid of deprecated ru_SU.* locales. ru_RU.* will be used instead. 2000-12-29 14:58:35 +00:00
ru
6378a80ceb Fixed typo not fixed in previous revision. 2000-12-29 14:36:05 +00:00
ru
8ba4187688 Prepare for mdoc(7)NG. 2000-12-29 14:08:20 +00:00
alfred
f6aeda2758 fix comment which was outdated 3 years ago
remove useless assignment
purge entire file of 'register' keyword
2000-12-29 13:49:05 +00:00