Commit Graph

15468 Commits

Author SHA1 Message Date
thorpej
625d310b1b Handle optical disks a little better, from Naofumi HONDA / MINOURA Makoto
in PR #3009, with some slight KNF from me.
1997-02-21 21:51:59 +00:00
thorpej
bf13067994 Give the entry point of this LKM a sane name, as suggested by
Matthias Scheler <tron@lyssa.owl.de> in PR #3140.
1997-02-21 21:11:16 +00:00
gwr
900bc3f621 Add OBIO_EMULEX_SCSI, and some comments about attach order. 1997-02-21 20:33:09 +00:00
thorpej
255b9d74d8 Rewrite the object chain collapse code. Bugs fixed are too numerous
to describe here.  This should fix the problems with "hanging processes"
people have seen since the original object collapse code was committed.

From Charles Hannum <mycroft@netbsd.org>
1997-02-21 20:30:49 +00:00
thorpej
235a2d71f7 Use vm_object_paging() to test if an object has pages in transit.
From Charles Hannum <mycroft@netbsd.org>
1997-02-21 20:27:21 +00:00
thorpej
dd8d0f1f00 Define a macro to test if an object has pages in transit. Clarify
some arithmetic, and nuke an unneeded prototype.

From Charles Hannum <mycroft@netbsd.org>.
1997-02-21 20:26:03 +00:00
thorpej
17b60fc6e9 In vnode_pager_sync(), we need to vm_object_deallocate() after cleaning
pages.  Noticed by Thor Simon <tls@netbsd.org>, confirmed by
Charles Hannum <mycroft@netbsd.org>
1997-02-21 20:22:39 +00:00
jeremy
2eff5a6059 Fix typo in comment. 1997-02-21 07:14:21 +00:00
is
b22d1088ea Make this compile again on NetBSD-current/i386. 1997-02-20 17:53:50 +00:00
mikel
b6a5671c00 make sure that packets are ours before passing them up if interface is
in promiscuous mode; from Juergen Weiss in PR kern/3121.
1997-02-20 06:59:32 +00:00
mikel
a92b2e06e5 include terminating null in count returned by SUN_LEN macro; from
Enami Tsugutomo in PR kern/3035.
1997-02-20 06:43:48 +00:00
scottr
5c8de7766a Implement bus_space_set_multi_N(), bus_space_set_region_N(), and
bus_space_copy_N().  Bus space support is now complete.
1997-02-20 05:53:00 +00:00
mikel
2af30c1cd3 make sure max_target is initialized for both buses on multibus parts;
from Anders Hjalmarsson in PR 3103.
1997-02-20 05:15:50 +00:00
mikel
be4f5a32c1 use the proper entry count; from Yasufumi Itoh in PR kern/3175. 1997-02-20 05:04:05 +00:00
mikel
b0e7d3c13b sync filesystems in reverse order. suggested originally by Jim Rees
<rees@citi.umich.edu>, with some updating by Greg Hudson <ghudson@mit.edu>.
1997-02-20 04:52:44 +00:00
jeremy
043293d2da Added the '@' symbols that GAS needs for address register indirect addressing
statements that are used when PMAP_DEBUG is undefined.
1997-02-20 00:54:21 +00:00
gwr
4f4bade9a7 Improve a comment. 1997-02-20 00:32:15 +00:00
scottr
b1e5912330 We need bus.h now, due to recent nubus_attach_args change. 1997-02-20 00:23:25 +00:00
gwr
e1ca9af0cf Add dev/clock_subr.c 1997-02-19 23:40:30 +00:00
gwr
c14237282d Make this use sys/dev/clock_subr.[ch] 1997-02-19 23:38:46 +00:00
gwr
2e84cacf02 Add dev/clock_subr.c 1997-02-19 23:36:38 +00:00
gwr
b76d5979d8 Make this use sys/dev/clock_subr.[ch] 1997-02-19 23:35:02 +00:00
gwr
d8b59a12b5 Shared functions to convert between year/month/day/hour/minute/second
and "seconds since 1970" (POSIX time_t). See sys/arch/sun3/sun3/clock.c
for an example of how these can be used.
1997-02-19 23:29:28 +00:00
scottr
54b157939d Don't include ipfilter.h if building an LKM. 1997-02-19 23:07:57 +00:00
gwr
69da16abc9 Need to define M68020 for copy.s
Add PM_CTXNUM, tweak...
1997-02-19 16:02:59 +00:00
gwr
1b7813bc35 Just M68030 is enough. 1997-02-19 15:59:21 +00:00
gwr
eb8bfe4829 Forgot the quotes (slow down...) 1997-02-19 15:55:33 +00:00
gwr
62bb836d73 Oops... need to define M68020 for copy.s 1997-02-19 15:54:26 +00:00
ragge
e86bc96653 Basic change to cpu-config code. This will make support of new
cpu types much easier.
1997-02-19 10:04:09 +00:00
cjs
788bcc9857 Fix bug in sysctl net.inet.ip.forwsrcrt handing: now you can read it
if securelevel > 0. (Thanks, cgd.)
1997-02-19 08:30:04 +00:00
scottr
c079123e89 Add a bus space tag field to nubus_attach_args 1997-02-19 06:21:49 +00:00
jeremy
035b20b171 Update copyright and fix typos in macro definition used when not debugging. 1997-02-19 04:17:32 +00:00
gwr
7e74608bf9 Get the screen size right on the 3/260 (Fixes PR#2402) 1997-02-19 00:22:40 +00:00
gwr
8b7e154aab Oh... can not set cold=0 before swapconf() is done with any I/O
that might cause a call to sleep (procinit not done yet).
1997-02-19 00:20:52 +00:00
gwr
0a928acbfc Remove some unnecessary <vm/*> headers. Have to keep <vm/vm_param.h>,
at least until boolean_t moves to <sys/types.h> or someplace...
Also make ddb_regs extern here.  Closes PR#3213
1997-02-18 22:29:58 +00:00
gwr
25c5ca44ce Define ddb_regs here (and extern in db_machdep.h) 1997-02-18 22:27:32 +00:00
gwr
5f501028f6 No longer need pm_stats 1997-02-18 21:21:11 +00:00
mrg
6d1865aace include net/pfil.c with pfil_hooks|ipfilter 1997-02-18 21:14:03 +00:00
mrg
175166de6a comment PFIL_HOOKS as it is redundant (as an option) when used with ipfilter. 1997-02-18 21:10:19 +00:00
mrg
22245e60a5 comment PFIL_HOOKS as it is redundant (as an option) when used with ipfilter. minor format 1997-02-18 21:09:56 +00:00
mrg
b10b2c5426 comment PFIL_HOOKS as it is redundant (as an option) when used with ipfilter. 1997-02-18 21:07:36 +00:00
mrg
4c8bfe2630 pseudo-device ipfilter brings in PFIL_HOOKS. 1997-02-18 20:49:32 +00:00
gwr
9ed330d6df Add pmap_wired_count() 1997-02-18 20:18:56 +00:00
gwr
12fdd0800f Add pmap_wired_pages() 1997-02-18 20:16:54 +00:00
gwr
b7a0884908 The previous commit was an "oops" due to out-of-date sys/lib/* files. 1997-02-18 17:12:46 +00:00
gwr
3c10fb1e47 Put back in the code to deal with advancing the PC on first entry,
and a long comment explaining why (needed on the pc532).
Remove PUTESC(c) macro which is no longer used.
1997-02-18 16:45:10 +00:00
gwr
3480f70835 Set kgdb_debug_panic if we connect to gdb. 1997-02-18 16:09:59 +00:00
gwr
d2a3410f0c Moved straytrap() to trap.c (and minor cleanup) 1997-02-18 15:53:15 +00:00
gwr
c1699a0c88 Add a debug helper for detecting recursive kernel-mode traps.
Move straytrap() here from machdep.c
1997-02-18 15:37:57 +00:00
scottr
7387b50dc5 _All_ compat LKMs are broken. Pointed out by mrg. 1997-02-18 15:31:51 +00:00