Commit Graph

129682 Commits

Author SHA1 Message Date
nathanw 8bf7374bcf In cond_wait() and cond_timedwait(), do the ERRORCHECK testing of the
waiters list in all cases, not just on cancellation; there are other
sources of spurious wakeups, such as single-stepping in the debugger.

regress/lib/libpthread/conddestroy1 now passes.
2004-07-27 21:44:48 +00:00
manu 09ee1c0349 The entropy collection sysctl returns the number of record and not the
copied data size.
2004-07-27 20:41:48 +00:00
manu 0a61854f64 Build with debug enabled 2004-07-27 20:41:13 +00:00
wiz e9abe80526 Use \*[Lt]\*[Gt] or Aq instead of <>; sort SEE ALSO. 2004-07-27 14:35:56 +00:00
chs 3be324ecca call hppa_ras() with CALL() instead of "bl", since the latter has
a limited range.
2004-07-27 14:25:34 +00:00
yamt 230c4c9c74 err -> errx where appropriate. 2004-07-27 14:25:19 +00:00
wiz 11fcc8f947 New sentence, new line; use Aq Pa for header file inclusion;
no parentheses at eol.
2004-07-27 14:24:18 +00:00
wiz 816f9f8757 Add -D to usage; shorten -b argument for usage's sake; format usage.
Man page nits.
2004-07-27 14:20:11 +00:00
atatat 91e4762204 The message buffer datum instrumented by KERN_MSGBUFSIZE is actually a
long, not an int, and this causes "problems" on LP64be machines
(sparc64, etc).  Assign the value to a temporary int and instrument
that instead.  Should be fine until someone wants a message buffer
larger than two gigabytes.
2004-07-27 12:46:18 +00:00
wiz 0343a4abb9 Do not put parentheses on their own line; bump date for previous. 2004-07-27 12:45:35 +00:00
yamt 23ee682b3d PFIL_NEWIF -> PFIL_IFNET. 2004-07-27 12:25:36 +00:00
yamt 0370fc7128 - rename PFIL_NEWIF to PFIL_IFNET, and handle interface detach events
as well.
- use it for pf(4).

mostly from Peter Postma.  PR/26403.
2004-07-27 12:22:59 +00:00
he 00e7d35ef0 Make the SSLOTS, MSLOTS and JSLOTS tunable (redefineable).
Bump the default values for these to the values used by FreeBSD,
and also adjust ti_init_rx_ring_jumbo() to use the same constant
that FreeBSD uses.  Yes, this consumes more kernel memory.

The effect of this is that you can use jumbo frames in a back-to-back
setup with TCP windows up to about 250KB and get ~930Mbit/s throughput,
while we were earlier limited to around 3-400Mbit/s, and trying to push
above that mark by widening the TCP window caused
  ti0: jumbo buffer allocation failed
messages to be logged and a corresponding stall in the traffic.
2004-07-27 07:59:51 +00:00
enami 047e7ad434 Whitespace nits. 2004-07-27 02:20:56 +00:00
enami 5d75faa43f Add -D flag which computes the digest of each regular files in the archive
using specified algorithm (currently md5, rmd160 or sha1) and write them
to standard output.
2004-07-27 02:17:06 +00:00
nathanw 0ac1c38100 Make ddb's "show sched_qs" aware of big-endian sched_qs arrangements. 2004-07-27 02:15:07 +00:00
enami 5f67cc6955 Decsent into humanize_number. 2004-07-27 01:57:31 +00:00
enami 0520e17087 - Honor the HN_NOSPACE flag (i.e., don't put a space if specified,
and put space if not specified).
- There was a test which didn't count the suffixlen.  Fix it.
- Make the code a bit easier to read.
2004-07-27 01:56:24 +00:00
enami 2bc2b5dfdf Add test case from PR#23600. 2004-07-27 01:50:35 +00:00
christos 1584cf1af7 regen 2004-07-27 01:01:17 +00:00
christos 81f4a7cae8 add compaq advanced systems management controller. 2004-07-27 01:01:00 +00:00
rumble dd003a35bd Add support for the controller found on the AMD (previously
NatSemi) Geode SC1100 controller (as found on the Soekris
NET4801). The chip has two bugs: the first requires dword
alignment, and the second cannot handle exact 64K transfers.

Also, fix a few typos while we're here.

Timings from FreeBSD. Reviewed by Manuel Bouyer.
2004-07-27 00:19:27 +00:00
rumble b6465064a7 regen. 2004-07-27 00:13:11 +00:00
rumble 611930ca2d Fix typos in the SC1100 IDE and AUDIO ids. 2004-07-27 00:12:10 +00:00
taca ed5a823538 ISC DHCP 3.0.1 released. 2004-07-26 22:03:02 +00:00
drochner 0ca4ad479d fix alignment check for source
should fix PR port-amd64/26416 by Nicolas Joly
2004-07-26 18:51:21 +00:00
mycroft feabadd671 The adhoc mode changes are seriously broken. In host-AP mode, at least, we
must use a full node for received management frames, or we are unable to
complete association and talk to the client.  I could add an
"if mode == HOSTAP" to fix this, but instead I am reverting the change and
remanding it to the person who broke it.
2004-07-26 16:31:47 +00:00
wiz 520ec39eba Some improvements from jmc@openbsd. 2004-07-26 16:05:33 +00:00
yamt 46abcaebe4 fix dynaddr tracking.
from Peter Postma, PR/26369.
ok'ed by itojun.
2004-07-26 13:46:43 +00:00
yamt 4f755d07b4 ANSIfy. (inside #ifdef __NetBSD__)
from Peter Postma.
ok'ed by itojun.
2004-07-26 13:45:40 +00:00
yamt 39dd3d0c5d run PFIL_IFADDR hooks on SIOCAIFADDR_IN6 and SIOCDIFADDR_IN6 as well.
from Peter Postma, PR/26368.
ok'ed by itojun.
2004-07-26 13:44:35 +00:00
yamt 48d156e320 call PFIL_NEWIF hooks at a correct place.
(on SIOCAIFADDR rather than SIOCGIFALIAS.)

from Peter Postma, PR/26402.
ok'ed by itojun.
2004-07-26 13:43:14 +00:00
chs f8fa568ead remove the LINUX_SP_WRAP hack since it doesn't seem to be needed anymore,
and removing it lets us go back to mapping the stack non-executable again.
2004-07-25 23:26:44 +00:00
chs 503ca60040 in pthread__initmain(), don't reuse the part of the initial stack that
is occupied by the argv and environment (and MD stuff like the page-table
mapping on x86).  fixes PR 26392.
2004-07-25 23:22:43 +00:00
yamt ff5b999530 document recent changes.
provided by Peter Postma.  PR/26068
mdoc tweaks by me.
2004-07-25 23:10:49 +00:00
jkunz 461314c36f Bring the WAX GSC to GSC bus adapter + interrupt controller and the
GSC bus inside the WAX chip to live with some bits from lasi.c and
the OpenBSD wax.c.
2004-07-25 21:52:56 +00:00
christos 452b7e16cb jason says that it is unclear if the new device is compatible with the old
one so disable it for now.
2004-07-25 18:04:52 +00:00
christos 34c5d0dc13 Match viatech's power controller (Sergio Jimenez) 2004-07-25 16:07:08 +00:00
christos 8d9bd7465d regen 2004-07-25 16:05:05 +00:00
christos cc5376ee65 Add viatech's VT8231 Power controller. (Sergio Jimenez) 2004-07-25 16:04:22 +00:00
sekiya c830efd52f Properly detect the EISA bus for IP22-class machines. 2004-07-25 10:28:28 +00:00
mrg 2839ebd42d Hauke Fath's port of the openbsd SUNW,spif driver from PR#26061.
the driver was originally written by Jason L. Wright.

XXX: i haven't tested this on sparc64 at all...
2004-07-25 09:32:37 +00:00
manu 57ae178c88 Added a simple bigcopy, from Srinivasa Kanduru 2004-07-25 09:21:48 +00:00
manu a380f938d4 Added kern.debug.getentropy sysctl 2004-07-25 07:54:54 +00:00
dyoung f704e633b9 Call ieee80211_free_node, not ieee80211_node_leave, on timed-out
IBSS nodes.  Do not send an EXPIRE-type DEAUTH message when IBSS
nodes time-out.  This ends the panic that rev 1.25 fixed, but
without a dual-use ieee80211_node_leave.
2004-07-25 05:21:36 +00:00
dyoung 4388de1ef5 Undo last: Sam Leffler has shown me a better way to avoid ad hoc
lossage.
2004-07-25 05:08:33 +00:00
thorpej 238240999a Bump symtab space. 2004-07-25 03:55:38 +00:00
thorpej fa4f012f1e Add a: to the getopt string so that the -a option is actually recognized. 2004-07-25 01:37:14 +00:00
dyoung ce488d2bf7 Pull the IBSS merge logic out of atw and into net80211, since ath
will eventually share it.

In the IBSS merge logic, check conditions in a different order so
that they run faster in the common case---no merge.  Fix the
rate-limiting on the debug outputs (enabled by IFF_LINK0).
2004-07-24 23:53:49 +00:00
mrg 4e68049874 install spif(4). 2004-07-24 19:42:49 +00:00