Commit Graph

38912 Commits

Author SHA1 Message Date
kris
a60b2a4f84 Grammar and spelling fixes
Obtained from:	OpenBSD
1999-06-30 12:49:56 +00:00
kris
7a98774b05 Flesh out VOP_ADVLOCK.9 with a description of the available flags
Sync vnode.9 with the definitions in <sys/vnode.h>

Reviewed by:	Doug Rabson
1999-06-30 12:02:52 +00:00
kris
a5048ed9e5 Correct reference to the obsolete vadvise() to madvise() (with appropriate
arguments)

PR:		11586
Submitted by:	David Gilbert <dgilbert@velocet.ca>
Reviewed by:	Doug Rabson
1999-06-30 11:50:09 +00:00
jkh
1fc3f647ac Put radius on its proper ports. 1999-06-30 06:11:14 +00:00
hosokawa
072c6bf79c Changed pcicmem and cardirq variables to non-dirty variables. 1999-06-30 05:04:37 +00:00
julian
be0d4a32cd Submitted by: "David E. Cross" <crossd@cs.rpi.edu>
Matt missed a line..
1999-06-30 04:29:13 +00:00
hosokawa
7c1d908dc1 pccard_beep parameter is not supported by rc.conf and rc.pccard of -current.
(I'll port it later...)
1999-06-30 04:16:08 +00:00
hosokawa
dd004b8d1a Added -z and -i option. 1999-06-30 03:49:30 +00:00
alc
f707f44c0f An SMP-specific change: Remove unnecessary lock acquires and releases
surrounding critical sections that consist of (1) a single read or
(2) a single locked RMW operation.

(Thanks to thomma@slip.net (Tamiji Homma) for helping to test
these changes.)
1999-06-30 03:39:29 +00:00
julian
911cea71d3 Submitted by: Conrad Minshall <conrad@apple.com>
Reviewed by: Matthew Dillon <dillon@apollo.backplane.com>

The following ugly hack to the exit path of nfs_readlinkrpc() circumvents
an Auspex bug: for symlinks longer than 112 (0x70) they return a 1024 byte
xdr string - the correct data with many nulls appended.  Without this fix
namei returns ENAMETOOLONG, at least it does on our source base and on
FreeBSD 3.0.  Note we do not (and should not) rely upon their null padding.
1999-06-30 02:53:51 +00:00
hosokawa
fe1b840778 FreeBSD does supports LKM now.
PR: doc/10331
Reviewed by: mpp@freebsd.org
Submitted by: Andreas Gustafsson <gson@araneus.fi>
1999-06-29 23:59:15 +00:00
hosokawa
eb96e69821 Removed unused boot_crunch.conf 1999-06-29 23:49:31 +00:00
peter
7acb34b50e sscape_mss is supposed to work.. 1999-06-29 21:53:59 +00:00
peter
96bfd8e23c Drop old-scsi drivers (was commented out) od0 and (not commented) sctarg0 1999-06-29 21:52:07 +00:00
peter
51e973cbfb Fix typo (wrong path) 1999-06-29 21:40:05 +00:00
peter
811ab8f8e7 Reconcile all the loader newvers.sh's into one common one. 1999-06-29 21:23:26 +00:00
peter
c857e3b02c Don't use head/tail - they don't exist in a 'make world' environment.
(Why do we have three copies of this script anyway?)
1999-06-29 21:06:16 +00:00
dt
ddb728d936 Defer signals, so we will not wait for SIGCHLD after it was delivered. 1999-06-29 19:57:07 +00:00
mph
ebce080fda Correct spelling of NMBCLUSTERS in a comment.
Submitted by:	Peter Radcliffe <pir@pir.net>
1999-06-29 19:06:16 +00:00
peter
26e56c0ca1 With asbestos suit on, make the options indenting a little more consistant
so that it doesn't screw up the alignment when commenting out an entry.
Also dequote two entries that do not need it.
1999-06-29 18:58:27 +00:00
peter
4375cbc85d Put on my asbestos suit and attempt to tidy up and add some simple docs
or notes to make it much more obvious what things are for people who
have not committed LINT to memory yet.
1999-06-29 18:55:53 +00:00
peter
95607c10e0 Dequote like on the i386 configs. Also remove some references to old
i386 isa drivers that used to be order sensitive.  The probe order of
those drivers is now determined by a list in isa_compat.c and config
file order is totally irrelevant.
1999-06-29 18:24:09 +00:00
yokota
2d5a95fc0e idev->id_irq is an interrupt MASK, not an interrupt number.
Thus, we need to convert the mask to the number (by ffs()) when
writing back this value to the resource in save_resource().
1999-06-29 17:37:44 +00:00
yokota
e170d8da7c Keyboard allocation/deallocation fix.
- Do not try to allocate a keyboard in pccnprobe() when probing the vt
  driver for the kernel console.  Rather, allocate a keyboard when
  initializing the vt driver in pccninit().
- Release the keyboard in pccnterm().
- Don't try to read from the keyboard, if it is not present.
1999-06-29 17:36:20 +00:00
yokota
5ccd1849ea Allocate the port resource when attaching the keyboard controller,
rather than when the individual child device is attached.
1999-06-29 17:35:09 +00:00
yokota
09dda04a08 Skip the device if it is disabled, when searching for a serial port
to be used for the kernel console in sccnprobe().
1999-06-29 17:34:16 +00:00
yokota
70d99e58a9 Fill in tp->t_windowsize AFTER the call to (*linesw[tp->t_line].l_open)(),
rather than BEFORE the call.  Otherwise the structure will be `zero'ed out
by l_open, which actually is ttyopen(), if !TS_OPEN.

PR: kern/12420
1999-06-29 17:30:33 +00:00
roger
060912ef41 Stop signals being generated after meteor_close.
Update METEORSSIGNAL to disable signals by setting the signal to 0.

PR:		i386/10533
Submitted by:	Frode Vatvedt Fjeld <frodef@dslab7.cs.uit.no>
1999-06-29 16:45:51 +00:00
billf
e476cc2667 Clarify what happens if fd is set to -1
Submitted by:	Alfred Perlstein <bright@rush.net>
1999-06-29 16:32:22 +00:00
peter
0d6f657f45 (mostly) fix ordering. 1999-06-29 16:14:20 +00:00
mckusick
7151ad3643 No longer need to set B_ASYNC flag since BUF_KERNPROC now
unconditionally sets the identity of the buffer.
1999-06-29 15:57:40 +00:00
peter
9ab601f2a5 Hopefully fix the remaining glitches with the BUF_*() changes. This should
(really this time) fix pageout to swap and a couple of clustering cases.

This simplifies BUF_KERNPROC() so that it unconditionally reassigns the
lock owner rather than testing B_ASYNC and having the caller decide when
to do the reassign.  At present this is required because some places use
B_CALL/b_iodone to free the buffers without B_ASYNC being set.  Also,
vfs_cluster.c explicitly calls BUF_KERNPROC() when attaching the buffers
rather than the parent walking the cluster_head tailq.

Reviewed by:	Kirk McKusick <mckusick@mckusick.com>
1999-06-29 05:59:47 +00:00
grog
c940a6a14d Lock buffer before calling strategy.
Idea-stolen-from:	peter (sys/dev/ccd/ccd.c revision 1.49)
1999-06-29 04:10:05 +00:00
grog
31d372287a close_drive:
Correct race condition between caller and daemon.

  Tripped-over-by:	Zach Heilig <zach@uffdaonline.net>
			Bernd Walter <ticso@cicely.de>
			Niels Chr. Bank-Pedersen <ncbp@bank-pedersen.dk>
1999-06-29 04:08:51 +00:00
grog
87db0f95d2 Correct type of intializer for (undocumented) cdevsw.d_parms.
Submitted-by:	peter
1999-06-29 04:07:55 +00:00
pb
76f1b19c23 Move call to umask(0) back into pw_util(), because the latter
function is also used by chpass(1) and passwd(1).
1999-06-29 01:04:10 +00:00
luoqi
8fb361fc25 Save common_tssd before it's loaded and the busy bit set.
Submitted by:	bde
1999-06-28 15:34:54 +00:00
peter
cab9a05726 Fix a bug that was almost certainly making breadn() fail. BUF_KERNPROC()
was being called on the wrong bp - it should be called on the one that's
just about to be fed to VOP_STRATEGY().
1999-06-28 15:32:10 +00:00
kato
7b224bba6d Typo: BUF_INITLOCK -> BUF_LOCKINIT and BUF_FREELOCK -> BUF_LOCKFREE. 1999-06-28 14:01:03 +00:00
des
8e1f779eb3 Use the correct value for banksize so splash_pcx works in LFB modes. 1999-06-28 13:52:29 +00:00
kato
c61070d9d0 Sync with sys/i386/isa/clock.c revision 1.138. 1999-06-28 13:11:16 +00:00
kato
2dc1880100 Sync with sys/i386/i386/userconfig.c revision 1.146. 1999-06-28 13:10:03 +00:00
kato
d11e8857d0 Sync with sys/i386/i386/machdep.c revision 1.344. 1999-06-28 13:08:59 +00:00
kato
cb1280c81e Sync with sys/i386/conf/Makefile.i386 revision 1.156. 1999-06-28 13:07:58 +00:00
peter
bcbf9ac776 Fix a KASSERT() that was negated and lead to:
nfs_strategy: buffer 0xxxxx not locked
when you attempted to write and had INVARIANTS turned on.
1999-06-28 12:34:40 +00:00
peter
3b22f54d65 Fix page fault in visual userconfig's save code. (I only use normal
userconfig, my original tweaks to visual mode were not well tested)

Submitted by:	Peter Holm <peter@holm.cc>
1999-06-28 12:07:36 +00:00
sheldonh
9c4ac087ff Sync usage() with the manpage.
Approved by:	mpp
1999-06-28 11:27:14 +00:00
mpp
08f385247d Update the SYNOPSIS to reflect that the -l option can be specified
more than once.

Pointed-out-by: sheldonh
1999-06-28 10:50:47 +00:00
phk
e7f27f0dc6 make va_fsid be of type udev_t 1999-06-28 10:35:07 +00:00
peter
bec069b87b Add some extra alpha_pal_imb()'s in overkill mode. This makes this PC164SX
run quite reliably now.  I've explicitly tagged them as /* XXX overkill? */
although one does actually check for VM_PROT_EXECUTE.

Based on a suggestion by:  Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
1999-06-28 09:38:09 +00:00