Dag-Erling Smørgrav
fe46349692
Blah, I cut out a tad too much in the previous commit. (thanks again, Jake!)
2001-06-11 18:43:32 +00:00
Dag-Erling Smørgrav
e3b373228c
copyin(9) doesn't return ENAMETOOLONG. (thanks, Jake!)
2001-06-11 18:36:18 +00:00
Andrew Gallatin
4d38dc6689
Use struct device * rather than device_t for (*pci_intr_route args), so
...
as to match other prototypes in the file.
2001-06-11 18:19:44 +00:00
Dag-Erling Smørgrav
b0def2b548
Add sbuf_copyin(). Also add 'b' variants of sbuf_{cat,copyin,cpy}() which
...
ignore NUL bytes in the source string.
2001-06-11 17:05:52 +00:00
Dag-Erling Smørgrav
21ceb6efa2
For some reason, though the module builds just fine without <sys/lock.h>,
...
LINT fails to build without it.
2001-06-11 15:04:48 +00:00
Hajimu UMEMOTO
3384154590
Sync with recent KAME.
...
This work was based on kame-20010528-freebsd43-snap.tgz and some
critical problem after the snap was out were fixed.
There are many many changes since last KAME merge.
TODO:
- The definitions of SADB_* in sys/net/pfkeyv2.h are still different
from RFC2407/IANA assignment because of binary compatibility
issue. It should be fixed under 5-CURRENT.
- ip6po_m member of struct ip6_pktopts is no longer used. But, it
is still there because of binary compatibility issue. It should
be removed under 5-CURRENT.
Reviewed by: itojun
Obtained from: KAME
MFC after: 3 weeks
2001-06-11 12:39:29 +00:00
Dag-Erling Smørgrav
52ebde4fba
Add PSEUDOFS, and note that LINPROCFS depends on it.
2001-06-11 11:04:36 +00:00
Dag-Erling Smørgrav
81cbd9b091
Add pseudofs and the new linprocfs here.
2001-06-11 11:02:10 +00:00
Dag-Erling Smørgrav
36b2d3b7be
Add a PSEUDOFS option to allow pseudofs to be built statically.
2001-06-11 10:58:07 +00:00
Dag-Erling Smørgrav
fb69758d03
Remove the old linprocfs code.
2001-06-11 10:57:33 +00:00
Joerg Wunsch
f8ce7dd521
Cosmetics:
...
. remove stale comments and a stale #define (from the old days of ft(4))
. make MAX_SEC_SIZE (used in isa_dmainit()) a #define
. fix a typo in a string
. use 0 as the blocksize in devstat_add_entry(), since the actual blocksize
is unknown (devstat(9) suggests to use 0 in that case)
2001-06-11 10:48:10 +00:00
David Malone
c7fd62da6c
Try to make the setting of the SIGCHLD handler the same as setting of
...
the NOCLDWAI flag. Susv2 seems to require this.
Submitted by: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
Reviewed by: dillon
2001-06-11 09:15:41 +00:00
Cameron Grant
94faf89997
identify es1371 revision a
2001-06-11 00:32:18 +00:00
Cameron Grant
7d07ee8c6b
get clkrun the right way around
...
remove debug messages
2001-06-11 00:29:25 +00:00
Dag-Erling Smørgrav
da6d379c40
Minor whitespace changes.
2001-06-11 00:17:59 +00:00
Dag-Erling Smørgrav
deb193d250
Preemptive brucification.
2001-06-10 23:28:03 +00:00
Dag-Erling Smørgrav
f9f768f162
Connect linprocfs to the build.
2001-06-10 23:27:25 +00:00
Dag-Erling Smørgrav
320414ec14
These aren't needed any more.
2001-06-10 23:24:14 +00:00
Dag-Erling Smørgrav
f08adc10fa
New pseudofs-based linprocfs (repo-copied from linprocfs_misc.c).
2001-06-10 23:23:59 +00:00
Dag-Erling Smørgrav
1d6286d833
Disconnect linprocfs prior to moving it.
2001-06-10 23:20:38 +00:00
Dag-Erling Smørgrav
b27acc8dd1
Bail out if the fill function failed.
2001-06-10 21:39:01 +00:00
Dag-Erling Smørgrav
7005ce8a5f
Whoops, some of my test code snuck in here.
2001-06-10 21:37:11 +00:00
Andrew Gallatin
abeba9a6bc
Supply the intpin to the platform.pci_intr_map() function. It turns
...
out nearly every platform but the one I tested on requires the intpin
to swizzle out the correct intline.
tested by: Martijn Pronk <mpkisbkl@xs4all.nl> (lca_pci)
2001-06-10 19:18:51 +00:00
Dag-Erling Smørgrav
373c5169ca
Connect the fs directory to the build.
2001-06-10 19:16:18 +00:00
Dag-Erling Smørgrav
497806b394
Argh. Fix braino in previous commit.
2001-06-10 18:54:04 +00:00
Dag-Erling Smørgrav
1828efef8d
Add a 'flags' argument to the PFS_PROCDIR macro.
2001-06-10 18:52:55 +00:00
Dag-Erling Smørgrav
3ba7e430ab
Add a build directory and Makefile for pseudofs.
2001-06-10 18:47:23 +00:00
Dag-Erling Smørgrav
649ad985c9
Add support for process-dependent directories. This means that save for
...
the lack of a man page, pseudofs is mostly complete now.
2001-06-10 18:39:21 +00:00
Dag-Erling Smørgrav
d647935801
sbuf_new(9) now returns a struct sbuf * instead of an int. If the caller
...
does not provide a struct sbuf, sbuf_new(9) will allocate one and return
a pointer to it.
2001-06-10 15:48:04 +00:00
Doug Rabson
faf8077790
Move the first section up one page. The firmware bogusly uses the first
...
page of the image to load section headers and if we let the text section
start at zero, it corrupts the section table when its loaded. With this
change, the loader gets as far as the 'ok' prompt.
2001-06-10 13:39:10 +00:00
Doug Rabson
35ca79092b
Remove a 'return' statement which I put in while I was trying to debug
...
the startup code.
2001-06-10 13:36:00 +00:00
Jesper Skriver
48e312be90
Fix a minor style bug in the last commit.
...
Submitted by: Adrian Steinmann <ast@marabu.ch>
MFC after: 2 days
2001-06-10 11:15:37 +00:00
Jesper Skriver
96c2b04290
Make the default value of net.inet.ip.maxfragpackets and
...
net.inet6.ip6.maxfragpackets dependent on nmbclusters,
defaulting to nmbclusters / 4
Reviewed by: bde
MFC after: 1 week
2001-06-10 11:04:10 +00:00
Dag-Erling Smørgrav
09f8f5b259
Explicitly initialize the reference count to 0. This silences a warning
...
with -Wno-uninitialized.
2001-06-10 10:54:29 +00:00
Dag-Erling Smørgrav
1e4ebf4e8d
Blah, not my day. This file needs <sys/mutex.h> now.
2001-06-10 10:42:55 +00:00
Dag-Erling Smørgrav
ec09e7f25c
Remember to unlock the process pfind() returns.
2001-06-10 10:42:01 +00:00
Dag-Erling Smørgrav
49fa664f4e
Add missing #include of <sys/mutex.h>.
2001-06-10 10:36:16 +00:00
Dag-Erling Smørgrav
31f73b3fcd
Catch up with the change in sbuf_new's prototype.
2001-06-10 10:34:21 +00:00
Yoshihiro Takahashi
50cece92e1
Move the files from i386/isa/ic/ to dev/ic/.
2001-06-10 04:28:39 +00:00
Yoshihiro Takahashi
94a503c92d
Added ESP98 specific register (merged from i386/isa/ic/esp.h).
2001-06-10 04:20:37 +00:00
Yoshihiro Takahashi
da0f982b48
Removed unneeded pc98 code (merged from i386/isa/ic/ns16550.h).
2001-06-10 04:18:19 +00:00
Benno Rice
f9bac91b18
Bring in NetBSD code used in the PowerPC port.
...
Reviewed by: obrien, dfr
Obtained from: NetBSD
2001-06-10 02:39:37 +00:00
Benno Rice
fb49f5492e
Changes to sys/ includes to support PowerPC.
...
Reviewed by: obrien, dfr
2001-06-10 02:08:36 +00:00
Dima Dorfman
d928288734
Document the PANIC_REBOOT_WAIT_TIME option.
...
PR: 22228
Submitted by: Keith Jones <keith@mithy.demon.co.uk>
2001-06-10 00:30:49 +00:00
Matthew Dillon
ff2b5645b5
Two fixes to the out-of-swap process termination code. First, start killing
...
processes a little earlier to avoid a deadlock. Second, when calculating
the 'largest process' do not just count RSS. Instead count the RSS + SWAP
used by the process. Without this the code tended to kill small
inconsequential processes like, oh, sshd, rather then one of the many
'eatmem 200MB' I run on a whim :-). This fix has been extensively tested on
-stable and somewhat tested on -current and will be MFCd in a few days.
Shamed into fixing this by: ps
2001-06-09 18:06:58 +00:00
David E. O'Brien
d520fe23e8
fix RCS ID style nit
2001-06-09 16:54:11 +00:00
Doug Rabson
fd3e14e915
First approximation of an ia64 EFI loader. Not functional.
2001-06-09 16:49:51 +00:00
Brian Somers
d7a8aebd9b
Bump __FreeBSD_version to reflect machine/ioctl_fd.c moving to sys/fdcio.h
2001-06-09 09:09:45 +00:00
Warner Losh
a87df403a6
First stab at adding back in CL-PD6729 support.
2001-06-09 07:34:17 +00:00
Warner Losh
5ade00816d
Add PC9801-102 CBUS card to the list of plug and play devices. Some
...
mapping of irq 6 may be required to use that irq, but if so,
additional commits will follow.
Submitted by: Hiroshi TSUKADA-san
2001-06-09 06:43:54 +00:00