Commit Graph

123415 Commits

Author SHA1 Message Date
simonb 9f857ffb2f Drop maxphys to 64k. Makes new buffer scheme compile, and is in line
with most other ports.
2004-01-23 03:54:54 +00:00
jonathan 6a3dab3a1a Remove ``#ifdef IPSEC'' include block; they are not appropriate here.
Remove #ifdef FAST_IPSEC/#endif around the inclusion of local
(sys/netipsec) header files; they are always appropriate for
this file (sys/netipsec/ipsec_netbsd.c). At least on NetBSD.

If INET6 is defined, include appropriate header files
(local netipsec/ipsec6.h, netinet6/ip6protosw.h, and icmp6.h
from its standards-compliant location in netinet/).

Will now at least compile and link when ``options INET6' is configured.
2004-01-23 02:39:49 +00:00
wrstuden 00675c7efd Re-add support for wiconfig wiX -A #, which chooses between OpenSys and
Shared Key authentication.

From discussions with dyoung regarding how to get my Prism-based Netgear
card working with my Airport base station. Latter now works with
wiconfig wi0 -A 2. :-)
2004-01-23 02:32:52 +00:00
jonathan e83c4e9b7e An i386 config file that includes GENERIC and adds ``options FASSDT_IPSEC''.
Intended as a tinderbox/regression-test aid, to prevent skew or
other bitrot between KAME IPsec and fast-ipsec.
2004-01-23 02:16:38 +00:00
oster b68ecaf95f Always ask for a new RF_StripeLockDesc_t "just in case", and then
give it back if we don't need it.  If we don't allocate it before
we take our lock, LOCKDEBUG (rightfully) complains that we're trying
to grab something from the pool with PR_WAITOK.  This code (and the
PR_WAITOK in particular) really needs to be revisited at some point.
2004-01-23 01:57:08 +00:00
jlam d1424f2fb7 Note I'm responsible for buildlink3 and pkgviews. 2004-01-23 00:25:25 +00:00
dbj 6ea7ce87e3 fixes to keep default output under 80 columns
reduce default number of disks to 3 from 4
adjust widths of cpu stats if one of them is 100%
always put spaces between # of processes runnable (from pr 12691)
2004-01-22 21:47:55 +00:00
nathanw 3d9ac0d037 In decode_prologue(), ignore positive-offset frame adjustments ("lda
sp, 64(sp)") on the theory that they're from the function epilogue,
which aggressive code motion has placed before the end of the
function's code.

Addresses my PR port-alpha/23996.
2004-01-22 18:59:00 +00:00
taca 0284f87802 postfix 2.0.18 out. 2004-01-22 16:06:19 +00:00
jdolecek 83ee4751e2 Resurrect "dev" variable from atppc_sc_attach() removed in rev 1.4
(#ifdef ATPPC_DEBUG), so that this compiles with the option set

Fixes PR kern/24193 by Paul Shupak
2004-01-22 14:28:57 +00:00
jdolecek e17503e59e Reset the service bit of ECP register, so that write threshold would
be identified correctly
Problem reported and fix provided in PR kern/24185 by Paul Shupak
2004-01-22 14:22:20 +00:00
lonewolf 20f66016c1 Correctly read the board revision. 2004-01-22 14:15:51 +00:00
bjh21 d25f64bd25 Add commented-out entries to attach atppc and friends at pioc.
While I'm here, remove entries for pioc children that never exist.
2004-01-22 13:27:07 +00:00
bjh21 cbd3cc0528 Add support for using ppbus(4) on acorn32. Only tested to the extent that it
attaches correctly.
2004-01-22 13:25:51 +00:00
wiz 5b067ce441 Bump date for previous. 2004-01-22 07:31:53 +00:00
mrg 574bbc73cf add -Bforcearchive as an alias for --whole-archive, for previous
netbsd compatibility.
2004-01-22 04:49:57 +00:00
jonathan 7fde685464 Document net.bpf.maxbufsize in sysctl(8).
NB: bpf isn't a PF_, so where to list it in sysctl(3)?
2004-01-22 03:50:18 +00:00
jonathan ca71058195 Add hooks to dynamically change the bge Rx interrupt thresholds. I
found empiricaly that (at least on bcm5700s) the Rx coalesce and bd
counts cannot be updated on-the-fly; attempting to do so (even at
splhigh()) causes weird behaviour.

Instead, add a softc flag to record that the desired softc values for
Rx-interrupt thresholds have changed; check that boolean in the interrupt
routine. If set, apply the new values there and clear the flag.
2004-01-22 02:29:46 +00:00
jonathan 487ab6705e Add some extra register definitions from FreeBSD and Linux:
BGE_MISC_TIMER register definition, and more bit definitions for
HCC-mode. (I would credit individuals, but the attributions are buried
deep in my own tree.)
2004-01-22 02:13:48 +00:00
matt 82ad975738 Add #define cpu_lwp_free do { } while (/*CONSTCOND*/0)
(VAX systems don't need to do anything in cpu_lwp_free)
2004-01-22 01:24:10 +00:00
bjh21 ff75178c6b Remove unused "dev" variable from atppc_sc_attach().
Remove unused include of <dev/isa/isavar.h>, which fails on non-ISA platforms.
2004-01-22 01:21:41 +00:00
matt 56f1d7c672 Allow cpu_lwp_free to be a macro (for architectures which don't require
cpu_lwp_free to do anything).
2004-01-22 01:20:16 +00:00
bjh21 58859f40c7 Don't use "int" when we mean "size_t". Fixes compile on ARM. 2004-01-22 01:18:54 +00:00
bjh21 92b303af22 Kernel code should include <sys/types.h> or <sys/param.h> first.
(fixes compile on acorn32)
2004-01-22 01:17:03 +00:00
bjh21 f0b419e554 Don't use "int" when we mean "size_t". Fixes compilation on ARM. 2004-01-22 01:16:02 +00:00
bjh21 87484bb5fc Kernel code should include <sys/types.h> or <sys/param.h> first.
(fixes compiling on acorn32)
2004-01-22 01:13:21 +00:00
jonathan 638afbfe26 Make bpf_maxbufsize writable via sysctl, as written by Andrew Brown. 2004-01-22 00:32:41 +00:00
jonathan 9369f19096 Fix an Emacs finger-glitch (missing semicolon#). 2004-01-21 23:59:12 +00:00
wiz 528c020eb1 Fix typo. 2004-01-21 23:18:52 +00:00
kleink e71a15405c Avoid using structure initializers with struct timeval. 2004-01-21 22:50:56 +00:00
jonathan b0a71dcaf5 Update bpf buffer parameters, as per recent discussion on tech-net.
Increase the default bpf buffer size used by naive apps that don't do
BIOCSBLEN, from 8k to 32k.  The former value of 8192 is too small to
hold a normal jumbo Ethernet frame (circa 9k), 16k is a little small
for Large-jumbo (~16k) frames supported by newer gigabit
Ethernet/10Gbe, so (somewhat arbitrarily) increase the default to 32k.

Increase the upper limit to which BIOSBLEN can raise bpf buffer-size
drastically, to 1 Mbyte.  State-of-the-art for packet capture circa
1999 was around 256k; savvy NetBSD developers now use 1 Mbyte.
Note that libpcap has been updated to do binary-search on BIOCSBLEN
values up to 1 Mbyte.

Work is in progress to make both values sysctl'able. Source comments
note that consensus on tech-net is that we should find some heuristic
to set the boot-time default values dynamically, based on system memory.
2004-01-21 22:15:16 +00:00
briggs e718f8d0be Updated firmware from QLogic via Matt Jacob (from his Jan 14 distribution).
12160 Firmware Version 10.04.41 (10:30 Mar 21, 2003)
2200  Firmware Version  2.02.06 (08:39 Jun 26, 2003)
2300  Firmware Version  3.02.15 (08:26 Jul 21, 2003)
Matt's done some testing with it, and I've also tested on a very basic
setup with a QLA 2310 and a tower of 4 FC drives.
Unfortunately, there doesn't seem to be any change log for the firmware.
2004-01-21 16:59:45 +00:00
heas c3ae7aa4c2 Add text descriptions for wskbd types sun and sun-type5. 2004-01-21 15:39:34 +00:00
skrll 3dfd94284a Leave errno as zero when we SIGSEGV. This means my CATS now passes
regress/lib/libc/siginfo/sigsegv

OK'd by christos.
2004-01-21 15:39:21 +00:00
jmmv be85fac5e9 Fix typo: 'Each characters' -> 'Each character' 2004-01-21 12:40:14 +00:00
mrg b1da97fd23 apply the patch from PR#24127: make audio_wav_parse_hdr() take u_int *
parameters for encoding, precision, sample rate and channels.
2004-01-21 11:55:07 +00:00
mrg 719a671e87 back out previous; it was only required for a dead function. 2004-01-21 11:31:20 +00:00
mrg 6f15ac16fc delete ktrsyscall32() prototype 2004-01-21 11:28:30 +00:00
wiz a57cf46007 postfix-2.0.17 out. 2004-01-21 07:22:52 +00:00
petrov e7595eb1ce For pci devices without ofw mapping find ino by pci bus/slot/device
information, from OpenBSD.
2004-01-21 07:16:07 +00:00
matt fa553aa877 Move clockctl.h to end of list 2004-01-21 03:28:00 +00:00
atatat f473152980 sysctl(9) man pages 2004-01-21 03:09:38 +00:00
atatat 6024d1b588 Man page for kernel's sysctl infrastructure. Thanks for being
patient.
2004-01-21 03:02:06 +00:00
jonathan 9c301eca05 Removed by request of Theo Deraadt <deraadt@cvs.openbsd.org>, pending
further resolution or re-implementation.
2004-01-21 03:01:16 +00:00
jonathan 70c91c4341 Add NetBSD RSSid. 2004-01-21 02:14:14 +00:00
atatat 4fe5b245f9 Fix the kern.mbuf tunables. 2004-01-21 02:11:20 +00:00
jonathan d222896fe4 Opencrypto "cryptotest" tool, from FreeBSD 4.8, courtesy of Sam
Leffler.  Sam obtained the original code from OpenBSD, attributed
largely to Theo Deraadt.
2004-01-21 02:06:25 +00:00
abs 637b0ef23e If we are explicitly asked for entropy, provide it. 2004-01-21 00:47:37 +00:00
bjh21 f782033436 Add RCSID comments. 2004-01-21 00:33:37 +00:00
tls feebdbf0f8 The previous version of this file had the wrong key for cvs.netbsd.org(!);
it had the key from before the machine was officially placed in service
as "cvs.netbsd.org".  Replace with correct key.  Duh.
2004-01-20 23:59:49 +00:00