Commit Graph

121412 Commits

Author SHA1 Message Date
atatat
13f8d2ce5f Dynamic sysctl.
Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al.  Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.

Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded.  Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.

All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.

PS - I'm sorry, but there's a distinct lack of documentation at the
moment.  I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.
2003-12-04 19:38:21 +00:00
drochner
4d83fe939f note ntp-4.2.0 2003-12-04 19:24:13 +00:00
drochner
0b653612f0 fix typo in comment 2003-12-04 19:23:00 +00:00
drochner
505ed045c0 ntpdate to a multicastclient address doesn't work 2003-12-04 18:28:54 +00:00
drochner
e3925ac984 no html pages for ntp anymore 2003-12-04 18:25:49 +00:00
drochner
a6dd92342b ntp update 2003-12-04 18:24:39 +00:00
drochner
2f4d5f72db also build the sntp (rfc2030) program which comes with ntp-4.2 2003-12-04 18:14:59 +00:00
drochner
a273546bc0 pull in a set of patches from ntp bk to fix the
"Clock stepping messes up frequency." issue
2003-12-04 17:22:31 +00:00
drochner
507fa5fee7 compile cleanly with -Wall (ntp bug #258) 2003-12-04 17:17:36 +00:00
drochner
35f545891e fix some memory allocation bugs (ntp bug #252) 2003-12-04 17:15:26 +00:00
drochner
a3d91b3051 fix error handling after send errors (ntp bug #243) 2003-12-04 17:13:11 +00:00
drochner
849e83ebc4 fix some LP64 issues (ntp bug #233) 2003-12-04 17:10:34 +00:00
drochner
93cc3883d8 use return value of openssl's RAND_file_name(), this makes the
fallback to /dev/urandom work as intended by openssl
(ntp bug #234)
2003-12-04 17:06:12 +00:00
drochner
7b3a4acbea don't join a multicast group where we just want to send
(this might be preliminary, it might be intended to receive other host's
multicast in the future, but until packets are filtered properly this
fixes the "manycastclient answers requests" problem - see ntp bug #241)
2003-12-04 17:01:32 +00:00
drochner
74a4307696 deal with sin6_scope_id where necessary 2003-12-04 16:56:01 +00:00
drochner
3cdd2cee5f keep track of the scope id of link-local ipv6 addresses, and deal with
the KAME specific way to embed it into the address
(keeping the interface close to the last public bind-9.3 snapshot to
avoid conflicts in the future)
2003-12-04 16:52:28 +00:00
drochner
43f2108cfd update the reachover build tree for ntp-4.2.0:
-adjust for new libs, programs and source files
-replace generated config.h and mkver
-add Frederick Bruckman's awk implementation of "ntptrace" as a
 replacement for the perl program in the original tree
2003-12-04 16:41:56 +00:00
drochner
d5e6f1b80b resolve conflicts
(in this case, throw away all local modifications; I'll start patching
from scratch)
2003-12-04 16:23:34 +00:00
drochner
b21928a34e Import ntp 4.2.0 2003-12-04 16:05:14 +00:00
christos
0aac876eae fix unused variable warnings when LARGE_NAT is defined. 2003-12-04 15:32:01 +00:00
yamt
f4112c3e60 - shuffle members of struct buf to distinguish buffer cache only ones.
- put b_private and b_dcookie into a union as they're never used
  simultaneously.
- note who can use b_private.
2003-12-04 15:00:32 +00:00
yamt
3ea6756a92 use b_private rather than b_saveaddr.
XXX LFS_USE_B_INVAL
2003-12-04 14:57:47 +00:00
mrg
228f85d62e regenerate non-broken 2003-12-04 14:39:09 +00:00
mrg
952c497306 move libaries back to gnu/lib 2003-12-04 14:38:00 +00:00
keihan
b8702f530b netbsd.org -> NetBSD.org
This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean".  Thanks for the patiance, and sorry for all the commits.
2003-12-04 13:57:30 +00:00
keihan
29c72c57f0 netbsd.org -> NetBSD.org
All "netbsd.org" is now gone from src/sys/arch.
2003-12-04 13:05:15 +00:00
lukem
037eb18f90 correct URL syntax in comment 2003-12-04 12:51:18 +00:00
keihan
8476e6755a NetBSD.ORG -> NetBSD.org
Now all "NetBSD.ORG" are gone from src/sys.
2003-12-04 12:42:54 +00:00
mrg
abda1a5442 libopcodes.so.1/libbfd.so.6 2003-12-04 12:18:57 +00:00
lukem
cd017885ef Ensure that ${TOOL_STAT} is executable before trying to run it;
it may not be available when performing "make obj" in tools/
when using BSDSRCDIR & BSDOBJDIR (instead of MAKEOBJDIR{,PREFIX}).
2003-12-04 12:15:20 +00:00
mrg
de5c931206 update some local code for binutils 2.14:
s/boolean/bfd_boolean/;
	s/true/TRUE/;
2003-12-04 10:11:12 +00:00
mrg
949cd54d3a always build tools/binutils now. 2003-12-04 10:08:58 +00:00
scw
7ef39665ff ipflow (IP fast forwarding) is not compatible with FAST_IPSEC either.
XXX: The decision whether or not to fast forward should be made
XXX: dynamically. Using the current approach seriously reduces
XXX: routing performance on gateways with IPsec enabled.
2003-12-04 10:02:35 +00:00
mrg
d67b3528da look for libbfd etc in binutils always now. 2003-12-04 09:59:07 +00:00
he
afc065b0f9 Catch up with the recent changes in wdcvar.h, patterned after wdc_isa.c. 2003-12-04 09:32:37 +00:00
mrg
ce29aa2370 build lib{opcodes,bfd,iberty} back in gnu/lib instead of gnu/usr.bin/binutils
as they are needed earlier than when gnu/usr.bin/binutils is built when
"make -j" is used.
2003-12-04 09:29:31 +00:00
briggs
5513f6b2e8 Make PCI host/slave detection work for the iq31244 as well as the iq80321. 2003-12-04 07:02:18 +00:00
thorpej
c0ddd8220b Bump the Tx DMA segment count to 40. Apparently, it's common to have
DMA segment counts in this ballpark when using jumbo frames (so says
the "ti" driver).
2003-12-04 06:57:37 +00:00
junyoung
b164570132 cvs-1.12.2 is out. 2003-12-04 06:33:14 +00:00
thorpej
ca75be9eb7 When performing command pass-through for management tools, don't poll
for CCB completion.  Instead, sleep, and use a CCB callback to wake the
sleeper.
2003-12-04 05:46:47 +00:00
lonewolf
803a8479e6 Replace some magic numbers by symbolic constants. 2003-12-04 05:31:27 +00:00
lukem
4404046b3f fix the MAKEVERBOSE messages to be consistent with the standard ones 2003-12-04 02:33:41 +00:00
mrg
293d502fe4 delete binutils 2.13 sources. 2003-12-04 02:00:07 +00:00
mrg
b5272af9ed note binutils/cxxfilt dependancies issues 2003-12-04 01:25:21 +00:00
christos
f1a738c8b7 add stub file so that the kernel compiles. 2003-12-04 01:17:19 +00:00
lukem
97f5444c8a MAKEVERBOSE tweaks 2003-12-04 01:02:44 +00:00
jschauma
355765bffd Add a list of pre-defined values (such as pi, e etc.).
Ok by wiz@.
2003-12-03 23:31:21 +00:00
bjh21
9ec6a8db4d Synchronise with <ftp://ftp.t10.org/t10/drafts/spc3/asc-num.txt>:
SCSI ASC/ASCQ Assignments
Numeric Sorted Listing
as of  9/12/03
2003-12-03 23:20:53 +00:00
manu
ac7838e90f In the basic thread info, suspend count is the suspend sempahore. Just return
0 for now. This is plain wrong, but at least it allows gdb to startup a
program.
2003-12-03 22:25:46 +00:00
cube
a00292cf94 o Add support for accessing the PHY through MDIO for recent SiS chips
o Add support for the recent SiS96x chipsets that have a new revision.
  That includes a new bit of code to access the EEPROM, since it is
  shared with the ieee1394 controller on those chipsets.

Mostly taken from FreeBSD (rev. 1.62 and 1.64 of sys/pci/if_sip.c).  I
tried to make the code look less ugly, but couldn't invent documentation.

Fix PR #23481.  Thanks to Stephane ENGEL <sengel AT melshake DOT com> for
the report and the cheerful testing.
2003-12-03 21:58:49 +00:00