Commit Graph

147612 Commits

Author SHA1 Message Date
nathanw
8137e86b46 Add build glue. 2006-05-29 19:26:34 +00:00
nathanw
2eb9131345 These files are now generated by the build. 2006-05-29 19:26:24 +00:00
nathanw
e1785c2582 These files are now per-arch. 2006-05-29 19:26:02 +00:00
nathanw
841d7fcb1f Adapt to mknative defs.mk. 2006-05-29 19:20:05 +00:00
nathanw
f6ec6161ba Use the mknative-generated headers and defs.mk.
(Largely copied from the analagous Makefiles under src/gnu/lib)
2006-05-29 19:18:56 +00:00
nathanw
c892b54d09 Descend into sim unconditionally; let the Makefile there take care of
picking the relevant platforms.
2006-05-29 19:15:30 +00:00
nathanw
fc275ebacd Support for mknative machinery. 2006-05-29 19:11:57 +00:00
liamjfoy
10f12d58af document Common Address Redundancy Protocol sysctls, aka CARP
ok joerg@
2006-05-29 19:11:16 +00:00
nathanw
15577e8202 mknative script for gdb6. Largely cribbed from mknative-binutils. 2006-05-29 19:10:58 +00:00
rpaulo
c1ee12dd17 Don't check for SSE/SSE2 twice. 2006-05-29 17:35:41 +00:00
simonb
704bdea4ca Use "GZIPPROG" instead of "GZIP", as gzip(1) uses the GZIP environment
variable to store options.
2006-05-29 16:47:07 +00:00
drochner
ad909cf73e export ntp_gettime() and ntp_timestatus(), for use by compat code 2006-05-29 16:43:05 +00:00
chap
5d80ae61bf Clarify that to avoid ioctl(SIOCGNATS): Input/output error, ipf must be
enabled (ipf -E) before ipnat is used; this detail is automated by the
rc scripts, but not by ipnat itself. ipf's author agrees this is a doc
bug.

Closes PR kern/33409.
2006-05-29 16:09:46 +00:00
drochner
305932c524 Remove passing of an uninitialized variable found by gcc4.
(The variable was not used by the called function, so remove the
argument completely.)
2006-05-29 15:17:29 +00:00
drochner
3a1bb8a2ff gcc4 found that it can't store
#define  TULIP_TXTIMER           4
in
u_int32_t tulip_txtimer : 2;        /* transmission timer */

gcc4 appears to be right. "tulip_txtimer" is purely used by software,
so give it the full integer.
(Appearently the txtimer could never work.)
2006-05-29 15:12:57 +00:00
drochner
46e4eb1dd0 NetBSD has now "struct timespec" in ntptimeval 2006-05-29 10:04:13 +00:00
drochner
837ecb8ce8 support the new ntp_gettime() syscall and add compatibility for the old one 2006-05-29 10:02:56 +00:00
drochner
4f2e2f7d77 regen 2006-05-29 09:58:51 +00:00
drochner
42a3bd3098 Extend "struct ntptimeval" for the needs of "timecounters".
Allocate a new syscall for ntp_gettime() and set up COMPAT_30 for
the old one.
2006-05-29 09:57:54 +00:00
drochner
21166bafa5 regen 2006-05-29 09:46:54 +00:00
drochner
9575ca7cfd Remove emulation of ntp_gettime. In preparation for "timecounters" we
will change "struct ntptimeval", so some translation would be necessary.
ntp_gettine is considered dispensable, the only userland program known
to use it is "ntptime".
2006-05-29 09:44:51 +00:00
hubertf
5fdc69efae Xref a few more manpages: user(8), group(8), ... 2006-05-29 01:38:33 +00:00
bouyer
85cd924c0e Remove unused file. Pointed out by Pavel Cahyna.
Probably unused since kernel config files were moved to i386/conf.
2006-05-28 17:14:59 +00:00
elad
5d7aa1a613 Make netstat use sysctl when dumping routing tables/stats.
Heavily based on similar code from Claudio Jeker (at OpenBSD).

While here, fix inet/inet6 sysctl stuff commited previously to
actually work, and some other nits to make netstat more sysctl
friendly.

One step closer to losing setgid kmem on this one...
2006-05-28 16:51:40 +00:00
pavel
ad560fa074 Give Xen its own linker script, which does not set the physical load address
specially. In Xen, the system is already in virtual mode when the kernel is
started, so the old behavior of setting physical address to virtual address
was actually correct, and the previous change made NetBSD/Xen kernels
unbootable.

Pointed out, explained and tested by <bouyer>.
2006-05-28 14:00:13 +00:00
bouyer
b48d779334 Revert previous. HYPERVISOR_set_timer_op() works fine for domU, and using
HYPERVISOR_yield() cause a domain to busy-wait for some work to do (so
using HYPERVISOR_yield doen't fix the problem for dom0, and makes things much
worse for domU).
2006-05-28 13:36:28 +00:00
blymn
4a065f3379 Clean up bogus whitespace 2006-05-28 13:23:08 +00:00
blymn
3a0170518a Clean up bogus whitespace 2006-05-28 13:12:42 +00:00
blymn
8582430c8c Clean up bogus whitespace 2006-05-28 13:01:46 +00:00
tsutsui
2dba0c5647 Initialize the GT64x11 PCI timeout and retry register with a value taken
from Linux/MIPS, which improves viaide xfer performance significantly.
2006-05-28 12:52:07 +00:00
jnemeth
4c99f4ecf2 unlink temp file in error case 2006-05-28 11:33:56 +00:00
liamjfoy
62438e22ea remove some dead code
ok christos@
2006-05-28 11:07:04 +00:00
jnemeth
03f6e8b0e6 remove unused variable that broke build 2006-05-28 10:15:25 +00:00
martin
b59e36a073 Move definition of the 'fb' attribute to global scope and make machfb@pci
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.
2006-05-28 08:57:53 +00:00
yamt
07ddfaead3 systrace_seteuid, systrace_setegid:
fix bugs in kauth change.  don't forget to update p_cred.
2006-05-28 07:08:41 +00:00
yamt
04c3beb7b1 make some internal variables static. 2006-05-28 06:52:17 +00:00
yamt
3d6707fa0d remove kauth_cred_destroy. 2006-05-28 06:50:37 +00:00
yamt
b7da9130d1 remove kauth_cred_destroy, which isn't used anymore. ok'ed by Elad Efrat. 2006-05-28 06:49:27 +00:00
yamt
3ef3d785cc nfs_request: use kauth_cred_free rather than kauth_cred_destroy. 2006-05-28 06:47:58 +00:00
thorpej
77bbac0046 Test program for some basic proplib functionality. Not hooked up to the
regression suite yet.
2006-05-28 03:57:57 +00:00
thorpej
e79f2cf0d1 Keep a table of unique dictionary keysyms. This way, if we have 200 devices
with the "fw-path" property, we only have one copy of the "fw-path" string
as a dictionary key.
2006-05-28 03:56:29 +00:00
thorpej
42e8dee346 Fix the way that prop_array_ensure_capacity() and _prop_array_expand()
interact.
2006-05-28 03:53:51 +00:00
elad
48404677c4 be quiet if symbol not in namelist, nothing cares 2006-05-27 23:57:32 +00:00
simonb
e78022e1d6 Limit the size of any kernel buffers allocated by the VOP_READDIR
routines to MAXBSIZE.
2006-05-27 23:46:49 +00:00
elad
4ea6eb36cb add sysctl for routing stats 2006-05-27 23:08:11 +00:00
agc
c52b27c275 Bump version number for the portability fix, and the dynamic number of
sessions.
2006-05-27 21:29:32 +00:00
agc
36fad19155 Rather than hardcoding the maximum number of sessions that a target can
serve simultaneously to DEFAULT_TARGET_MAX_SESSIONS, add a -s argument to
iscsi-target(8) to specify the maximum number of sessions.

Also bump default from 4 to 16.
2006-05-27 21:21:04 +00:00
bouyer
5ff62d8d84 On my system the CPU frequency reported at boot is off by about 10% (maybe
because of the jitter caused by the serial console), which is not only
cosmetic but is bad for clock accuracy. Introducing a 1s delay before reading
Xen's idea of the CPU frequency fixes this.
2006-05-27 20:48:40 +00:00
martin
ad53adb7c1 Make "entries" optional - so that echo system > /etc/isdn/isdnd.rc; isdnd
works.
2006-05-27 20:11:14 +00:00
bouyer
2a649c320b HYPERVISOR_set_timer_op() doesn't seem to work right on a NetBSD Xen3 dom0,
the dom0 is getting a continous stream of clock interrupts. As we want an
interrupt every hz anyway, just use HYPERVISOR_yield() instead.
2006-05-27 19:57:15 +00:00