tsubai
dd918881b6
Restrict the length of return value within buflen.
1998-11-15 19:53:25 +00:00
tsubai
7c939afccf
RTC support for pmu (read only).
1998-11-15 19:41:33 +00:00
thorpej
88bc4b9f8d
Conditionally include the 4.4BSD-Lite2 compat vfs sysctl code.
1998-11-15 18:38:11 +00:00
drochner
1658ac64a8
fix the previous: "securelevel" in kernel only
1998-11-15 17:36:19 +00:00
drochner
ac9da044b8
fix misplaced parantheses (introduced in last commit), noticed by Sean
...
Doran and Wolfgang Helbig
1998-11-15 12:43:04 +00:00
jonathan
03b30a046d
* make scc_tty_init() callable when very cold: call scc_coldparam() directly.
...
Use scc_tty_init() in scc_consinit(). Declare scc_consinit() in sccvar.h.
* Remove last vestige of special-case console handling in sccparam() code.
* Call scc_consinit() from findcons scc_serial() console-setup.
Dont PROM for scc serial console at all.
1998-11-15 11:21:52 +00:00
jonathan
b6111d03f9
Add mainbus0 and cpu* lines to R4000 config.
1998-11-15 06:27:11 +00:00
jonathan
5ddadfcc95
Remove old model-specific config files.
1998-11-15 06:22:25 +00:00
mhitch
6317908feb
UVM is now the standard VM system on NetBSD/pmax.
1998-11-15 05:43:32 +00:00
chuck
281eb8b87a
remove bogus permission check in uvm_map_clean(). fixes mmap/msync
...
problem discussed/reported by jonathan and Andreas Wrede <andreas@planix.com>.
1998-11-15 04:38:19 +00:00
mhitch
549407b634
Change page modification emulation: don't fiddle with VM flags directly.
...
Track page modification status in the PV entry like the alpha, and let
pmap_is_modified() return current status back to the VM system. UVM now
works reliably.
Garbage collect the old pmap_attribute[] stuff.
1998-11-15 02:34:19 +00:00
hubertf
3f1c86b59e
compile with DEBUG=1
1998-11-15 00:01:24 +00:00
mhitch
f6adcd4690
Some CyberStorm MK I SCSI modules use the same product ID as the Fastlane.
...
Add a check for that product ID and not a Zorro III address.
1998-11-14 21:48:22 +00:00
drochner
047a7756d8
use mi register definitions
1998-11-14 16:31:34 +00:00
tls
da1c106b85
In 'highly secure' mode (securelevel >= 2), the filter lists may not be tampered with. It might be desirable to allow enabling of preset filter lists, but it seems too good a candidate for a denial-of-service attack, so we don't.
1998-11-14 07:42:37 +00:00
tls
6321478a33
At securelevel >=2, don't allow new mounts, only allow change from rw to ro.
1998-11-14 06:38:54 +00:00
dbj
87cb8573e1
Finished changes to use UVM on next68k.
...
Turn on UVM by default in GENERIC kernel.
1998-11-14 04:32:50 +00:00
briggs
0659054b8b
Make this compile _and_ link with DEBUG / ADB_DEBUG defined.
1998-11-14 03:20:47 +00:00
briggs
94125bb185
Allow this to compile with DEBUG defined.
1998-11-14 03:01:31 +00:00
thorpej
3e6164e173
Make a comment about what pcmcia_detach_card() should do.
1998-11-14 01:54:25 +00:00
thorpej
1d03badef0
Implement a way to queue kernel threads for creation after init,
...
pagedaemon, reaper, etc. Caller provides a callback function and
argument which will be called to create the threads.
1998-11-14 00:08:49 +00:00
is
be4fc8e1b9
Simplify program structure to save a few bytes.
1998-11-13 22:12:35 +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
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
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
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
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
lukem
6ff594779a
oops - missing ","
1998-11-13 06:11:42 +00:00
oster
c74d32c5fc
Updating of bdev's and cdev's to support RAIDframe.
1998-11-13 04:47:03 +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