Commit Graph

45447 Commits

Author SHA1 Message Date
is be4fc8e1b9 Simplify program structure to save a few bytes. 1998-11-13 22:12:35 +00:00
abs 78aeeb96c6 Fix typo 'with routing loop' to 'with a routing loop' 1998-11-13 22:06:56 +00:00
thorpej e22f339ee7 Direct the user to use nfsstat to print nfs statistics. 1998-11-13 20:56:21 +00:00
thorpej 54ac7be242 Implement support for the vfs. toplevel. 1998-11-13 20:16:49 +00:00
thorpej d23593a784 Make vfs_sysctl() work. 1998-11-13 20:15:32 +00:00
thorpej a3574d12b6 Clean up the NFS sysctl variables. 1998-11-13 20:09:54 +00:00
thorpej 1eebbab4db Some changes to make the vfs. sysctl toplevel work. Wow, we really need
a new sysctl interface.
1998-11-13 20:08:06 +00:00
thorpej faf2211fef {b,c}dev_decl(raid), like some other disk devices. 1998-11-13 20:04:11 +00:00
mycroft 1115f2e840 Er, NSIG is one *more* than the number of signals. 1998-11-13 17:23:52 +00:00
mycroft d6ffecf67c Oops; signal numbers are 1..NSIG, not 0..NSIG-1. 1998-11-13 17:12:54 +00:00
christos e79f03e595 Fix problems with LINTED comment:
if (a) b;
	/*LINTED*/
	c;

	if (a) { b; }
	/*LINTED*/
	c;

	do { b; }
	/*LINTED*/
	while (c);

Produced warnings for c.
1998-11-13 16:48:01 +00:00
christos 2c89343c25 delint 1998-11-13 15:46:52 +00:00
christos 36b0b72f6f const poisoning 1998-11-13 15:45:10 +00:00
christos 9a95622add cast _mcount args to u_long, to avoid lint warnings. 1998-11-13 13:50:52 +00:00
drochner a0c0e7eff1 fix egcs warning 1998-11-13 13:47:56 +00:00
drochner acdd660ace fix callback type 1998-11-13 13:45:15 +00:00
oster ed77a60f62 Oops. Forgot the man-page for 'raidctl' when the rest of 'raidctl' went in. 1998-11-13 13:16:46 +00:00
christos d6f530541f delint 1998-11-13 12:31:50 +00:00
christos a2d26395a8 change the second arg of unvis from char -> int, to avoid K&R vs. ansi
portability problems.
1998-11-13 12:20:18 +00:00
christos 0da3503ec5 make sysctl newp argument const void * to avoid const castaway warnings in
many places in the source. Unfortunately I am not fixing right now the
second argument from u_int to size_t because it is going to break some
ports. In anycase, the sysctl interface will change shortly.
1998-11-13 12:07:51 +00:00
christos f44085b9f0 cast lh of shift operator to unsigned to avoid lint "non portable" warnings. 1998-11-13 12:06:05 +00:00
christos d9616f8756 cast args of ntohl() and htonl() to u_int32_t to avoid lint warnings. 1998-11-13 12:04:49 +00:00
christos f83d49b87d document the return value of ualarm when setitimer fails to (useconds_t)-1,
also cast the return value in the source to the same to shut up lint.
1998-11-13 11:57:15 +00:00
simonb a9c167b273 prototype un-prototyped functions 1998-11-13 11:51:55 +00:00
simonb 8e893eff9e Add braces around 'if' to pacify egcs 1998-11-13 11:48:26 +00:00
lukem cc41dfe747 simplify test in in_pcbbind() for setting wild=1; no need to check if
((so->so_proto->pr_flags & PR_CONNREQUIRED) == 0 ||
	(so->so_options & SO_ACCEPTCONN) == 0)
since the latter is always true, so the former test in unnecessary.
from `TCP/IP Illustrated, Volume 2', W. Richard Stevens, p 730.
1998-11-13 10:50:10 +00:00
christos 40941d96ac delint 1998-11-13 10:26:19 +00:00
christos f1e43a8104 delint! -- actually fix a bug lint found, globtilde could never have worked... 1998-11-13 10:25:42 +00:00
mycroft 5ab6a8555e Fix one last bug in the multicast filter calculation.
sdr and vic work now, at least.
1998-11-13 09:37:46 +00:00
mycroft 56aafbe295 Remove bogus change that cause cpu_fork() to panic. 1998-11-13 09:19:26 +00:00
christos 920a51d98f avoid assignment of a read only location that lint does not pick, but gcc does. 1998-11-13 08:25:17 +00:00
lukem 6ff594779a oops - missing "," 1998-11-13 06:11:42 +00:00
oster 8bfd722a35 Added RAID devices for everyone! 1998-11-13 04:49:01 +00:00
oster c74d32c5fc Updating of bdev's and cdev's to support RAIDframe. 1998-11-13 04:47:03 +00:00
oster 0abf7b19d0 Added raidctl to the list of things to build. 1998-11-13 04:35:04 +00:00
oster f675e35d77 RAIDframe, version 1.1, from the Parallel Data Laboratory at
Carnegie Mellon University.  Full RAID implementation, including
levels 0, 1, 4, 5, 6, parity logging, and a few other goodies.
Ported to NetBSD by Greg Oster.

raidctl is our userland configuration tool for RAIDframe.
1998-11-13 04:34:02 +00:00
oster ad669ca7fb RAIDframe, version 1.1, from the Parallel Data Laboratory at
Carnegie Mellon University.  Full RAID implementation, including
levels 0, 1, 4, 5, 6, parity logging, and a few other goodies.
Ported to NetBSD by Greg Oster.

First cut at a reasonable man-page.
1998-11-13 04:25:58 +00:00
oster 38a3987b69 RAIDframe, version 1.1, from the Parallel Data Laboratory at
Carnegie Mellon University.  Full RAID implementation, including
levels 0, 1, 4, 5, 6, parity logging, and a few other goodies.
Ported to NetBSD by Greg Oster.
1998-11-13 04:20:26 +00:00
thorpej 2f3f9379cf Add a couple more file systems to mountcompatnames[] (even though they
didn't exist in 4.3BSD or NetBSD 0.9) and always put the table into
the kernel.  It's going to be needed for VFS sysctls.
1998-11-13 04:12:35 +00:00
eeh 08af05f929 Fix 32-bit gcc scheduling problems. 1998-11-13 03:47:15 +00:00
thorpej 0e3a0a7f80 Once a fragmented IP packet has been reassembled, recompute the packet
length before passing it up the stack.  From FreeBSD.
1998-11-13 03:24:22 +00:00
mhitch 7b16048c5a Fix the Right-Shift on the LK501 keyboard in a different way. My previous
attempt results in the up and down arrows not repeating in the X server.
The keyboard division table is modified to place the Right-Shift keycode
into division 6 along with the Left-Shift and Control.  A corresponding
change to the X server lk201 keyboard handler is also required.
1998-11-13 01:59:51 +00:00
thorpej de234f5dda Pseudo-device definition and files for RAIDframe, CMU PDL's RAID 0, 1, 4, 5,
6 implementation + simulator.

From Greg Oster <oster@netbsd.org>.
1998-11-13 01:16:19 +00:00
thorpej 17bfc42d6d Add DTYPE_RAID. 1998-11-13 01:05:51 +00:00
thorpej d272bb0024 Handle the case where ccdbuffer() fails due to memory shortage. Build
a fifo of component buffers, and free them if ccdbuffer() fails.  Once
all component buffers are build, run through the fifo and fire off the
requests to the components.
1998-11-13 01:00:15 +00:00
thorpej 092c201932 Simplify calling of ccdbuffer() now that the mirroring code is nuked. 1998-11-13 00:35:57 +00:00
thorpej ab27c3f89c Return EINVAL if invalid flags are passed. 1998-11-13 00:31:02 +00:00
thorpej a337b84ed6 The mirroring code is no longer in the ccd driver. 1998-11-13 00:28:48 +00:00
thorpej f023958a87 CCDF_MIRROR is nuked from orbit. 1998-11-13 00:27:04 +00:00
thorpej 00172c10d5 Nuke the mirroring code. RAIDframe is about to go in, and is a much
better mirroring solution.

The ccd driver will stay, even in the presence of RAIDframe, for applications
where just RAID-0 is needed (much smaller code footprint).
1998-11-13 00:26:19 +00:00