Commit Graph

53248 Commits

Author SHA1 Message Date
mpp
b73016669c Correct the description of a few options to reflect that commands and/or
the results that they actualy use/generate.

PR:		docs/22267
Submitted by:	SUZUKI Koichi <koich@cac.co.jp>
2000-10-24 13:54:17 +00:00
sos
4e93b6013f Fix the problem with DMA mode not working on Aladdin chips.
Amasing in how many ways Acer has screwed up that chip.
2000-10-24 13:50:22 +00:00
knu
14543975bd Add MASTER_SITE_MOZILLA and MASTER_SITE_XEMACS. 2000-10-24 12:37:52 +00:00
obrien
57bfbf78be Add "NO_CXX" knob to match src/gnu/usr.bin/cc/Makefile. 2000-10-24 11:25:28 +00:00
obrien
5cc4f2002f Adjust comments
Submitted by:	bde

Add ISO C99's long long type limits.
Reviewed by:	bde
2000-10-24 10:49:56 +00:00
obrien
b8efe2aeab * Update comments
* convert decimal constants to hex
Submitted by:	bde

* Add ISO-C99 long long limits
2000-10-24 10:48:50 +00:00
dwmalone
23aacadb39 Problem to avoid processes getting stuck in "vmopar". From Ian's
mail:

	The problem seems to originate with NFS's postop_attr
	information that is returned with a read or write RPC.
	Within a vm_fault context, the code cannot deal with
	vnode_pager_setsize() shrinking a vnode.

	The workaround in the patch below stops the nfsm_postop_attr()
	macro from ever shrinking a vnode. If the new size in the
	postop_attr information is smaller, then it just sets the
	nfsnode n_attrstamp to 0 to stop the wrong size getting
	used in the future. This change only affects postop_attr
	attributes; the nfsm_loadattr() macro works as normal.

	The change is implemented by adding a new argument to
	nfs_loadattrcache() called 'dontshrink'. When this is
	non-zero, nfs_loadattrcache() will never reduce the
	vnode/nfsnode size; instead it zeros n_attrstamp.

There remain other was processes can get stuck in vmopar.

Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
Reviewed by:	dillon
Tested by:	Vadim Belman <voland@lflat.org>
2000-10-24 10:13:36 +00:00
ru
79719d2ea5 The -o is the default for "short" display, not the -h. 2000-10-24 08:47:07 +00:00
babkin
d917e68c30 Added the CAM-ified wds driver for the ancient WD7000 SCSI card.
Last time it was present in FreeBSD 3.x, before CAM.

Reviewed by:	gibbs
Approved by:	gibbs
2000-10-24 03:44:31 +00:00
babkin
436bad9bc2 Added lines for the wds driver.
Approved by:	gibbs
2000-10-24 03:38:28 +00:00
markm
b1481ced76 Add some very crude man pages to try to induce folk to work on them.
Agreed to work on them:	jasone
2000-10-24 03:33:24 +00:00
jwd
8fdd041e81 Cast block number to off_t to avoid possible overflow bugs.
Pointed out by: Bruce Evans <bde@zeta.org.au>
2000-10-24 03:28:59 +00:00
jwd
dc1ac7c889 The write combining code in revision 1.30 needs a few additional
touch ups.  The cache needs to be flushed against block
reads, and a final flush at process termination to force the
backup superblocks to disk.

I believe this will allow 'make release' to complete.

Submitted by:	Tor.Egge@fast.no
2000-10-24 00:08:30 +00:00
jhb
dd3e4087e8 Don't dink with interrupts in vm_page_zero_idle(). This code assumed it
was being called with interrupts disabled, when it was actually being called
with them enabled.

Pointed out by:	tegge
2000-10-23 23:32:36 +00:00
gallatin
11e8e4bacd Give correct results for SYSCTL_LONG arrays when sizeof(int) != sizeof(long)
This fixes unaligned access on alpha for, eg, sysctl kern.ipc.mbtypes.
2000-10-23 21:04:18 +00:00
mjacob
8a98d4ea0b CURTHD now defines in globals.h 2000-10-23 18:39:30 +00:00
mjacob
1371d7ded9 Move bogus proc reference stuff into <machine/globals.h>. There is no
more include file including <sys/proc.h>, but there still is this wonky
and (causes warnings on i386) reference in globals.h.

CURTHD is now defined in <machine/globals.h> as well. The correct thing
to do is provide a platform function for this.
2000-10-23 18:36:03 +00:00
mjacob
5ca524e014 Put back inclusion of proc.h so that alpha kernels (at the very least)
will compile again. I can't quite see where this was a recursive inclusion.
We probably need to do something to fix the alpha, but let's not break it
in the interim- it's broken enough.
2000-10-23 15:34:44 +00:00
ache
6ae81fa8c4 Fix %c 2000-10-23 14:31:27 +00:00
non
8e8d8815fa Add PC-Card/ISA SCSI host adpater drivers from NetBSD/pc98
(a NetBSD port for NEC PC-98x1 machines). They are ncv for NCR 53C500,
nsp for Workbit Ninja SCSI-3, and stg for TMC 18C30 and 18C50.

I thank NetBSD/pc98 and bsd-nomads people.

Obtained from:	NetBSD/pc98
2000-10-23 12:55:51 +00:00
ru
7885ad0000 -Wall cleanup.
PR:		22187
2000-10-23 12:18:34 +00:00
phk
7b50f6cc73 Generate LOTS of warnings to remind the SMPng crew to fix the curproc
UP/SMP issue.
2000-10-23 09:22:18 +00:00
phk
b284ed55ed Do not recursively include <sys/proc.h> 2000-10-23 09:14:20 +00:00
obrien
4d9b3a709f Apply style(9). [best I could] 2000-10-23 08:46:25 +00:00
obrien
b734a74b69 Apply style(9).
(best I could)
2000-10-23 08:36:59 +00:00
phk
d9e24db8fa Get rid of the last traces of ACTUALLY_LKM_NOT_KERNEL 2000-10-23 08:35:41 +00:00
obrien
6aa97ea570 Sort the #define's. 2000-10-23 08:29:04 +00:00
obrien
499a484b09 Minimal set of diffs from the i386 bits to the AlphaLinux. 2000-10-23 08:15:58 +00:00
obrien
94cd90b4fc Re-order the #define's into a more logical one. 2000-10-23 08:13:19 +00:00
itojun
4bd5d6f83f be careful on mbuf overrun on ctlinput.
short icmp6 packet may be able to panic the kernel.
sync with kame.
2000-10-23 07:11:01 +00:00
itojun
b7dce38697 kame 1.32 -> 1.33
in add_m6fc(), set interface list for all cases.
in response to a report from Hoerdt Mickael.

kame 1.31 -> 1.32
discard PIM register if the version of the inner packet is incorrect (i.e. IPv6)
(according to clarfication of recent discussion in the IETF pim ML)
2000-10-23 07:07:33 +00:00
sobomax
9b13a9d87f Add "-o" option to pkg_create(1) and pkg_info(1). This option intended to record
a path of the port from which package has been created within FreeBSD Ports
Collection and will be used to improve pkg_version(1) and similar tools.

Reviewed by:	ports@FreeBSD.org, jkh
Approved by:	jkh
2000-10-23 07:01:31 +00:00
obrien
dbf37d2b92 We need to explicitly tell the args struct for COMPAT functions we use
that use the same args struct as their non-COMPAT counter parts.
2000-10-23 02:20:01 +00:00
obrien
d53b670c65 The last "-iDsym" makes more sense as "-iUsym". 2000-10-22 23:49:29 +00:00
green
aa2e16431f Allow negative seek offsets for files that can be seeked upon. It
makes dd(1) a more complete "filter", even if this functionality is
limited to seekable streams.
2000-10-22 23:00:32 +00:00
obrien
e3a7d71c82 Somehow I left out sycall #98 2000-10-22 21:47:07 +00:00
obrien
ec05421a71 Minor whitespace cleanup. 2000-10-22 21:42:03 +00:00
obrien
f6ae3c4743 Minimal set of diffs from the i386 bits to the AlphaLinux.
Submitted by:	gallatin (content, minimization by me)
2000-10-22 21:36:27 +00:00
phk
7db5793b7f Don't bogusly include <struct.h>
Bogusly define our own versions of strbase() and fldoff() until we
have sorted out where they live in the kernel.
2000-10-22 19:43:01 +00:00
phk
f6d29697e1 Don't rely on <sys/queue.h> to bogusly include <struct.h>.
Bogusly include <struct.h> until we have a better place to get
fldoff() from.
2000-10-22 19:39:17 +00:00
phk
8ce58b4dcf On DEVFS machines, the device name database is no use. 2000-10-22 19:10:13 +00:00
deischen
fba698949b We use ___setjmp (non-signal saving) to setup a signal frame. When
adding a signal frame to a thread, be sure to label the context
correctly so we don't restore an uninitialized process mask.

Reported by:	kimc@W8HD.ORG and Andrey Rouskol <anry@sovintel.ru>
2000-10-22 18:35:11 +00:00
phk
7fb21cfd39 Avoid using the semi-bogus include <struct.h>
All uses of fldsiz() in this file were wrong anyway.
2000-10-22 17:38:32 +00:00
nyan
61ceeec191 Moved prototypes of isa_alloc_resourcev() and isa_load_resourcev() to
isa/isavar.h, and added needed includes.
2000-10-22 16:48:08 +00:00
bp
bf8c7dab48 Rev 1.41 was committed from wrong diff, now do it right. 2000-10-22 16:15:12 +00:00
phk
37c9cff867 Make LINT compile again. 2000-10-22 16:09:12 +00:00
bp
f20992328c Release and unlock vnode if resource deadlock detected. 2000-10-22 15:40:22 +00:00
bp
a74bc23d1f Update stale comment.
PR:		kern/21805
2000-10-22 14:24:30 +00:00
bp
038c55d50e Remove de_lock field from denode structure and make msdosfs PDIRUNLOCK aware. 2000-10-22 14:22:17 +00:00
sos
d294d0c2a8 Clean up the raid code a bit, also allow disks on HPT controllers to
be swapped around and still be put in the correct order in a raid.
2000-10-22 12:17:57 +00:00