Commit Graph

123603 Commits

Author SHA1 Message Date
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
matt 4126327e1a Only include one of <sys/cdefs_elf.h> or <sys/cdefs_aout.h> depending on
__ELF__.  Only include <stdbool.h> if __GNUC__ > 2.
2004-01-20 23:45:09 +00:00
jonathan f0d1f46d5b Do runtime dynamic binary-search for maximum obtainable bpf capture
size (via BIOCSBLEN). Obtained from FreeBSD 4.x; originally from
http://www.tcpdump.org's version of libpcap.

Taken verbatim from the FreeBSD 4.9 version, lint and all, other than
increasing the maximum size from 32Kibyte to an extremely generous
4Mibytes.  We assume root will configure the in-kernel maximum value
sensibly on small-memory machines.
2004-01-20 23:31:20 +00:00
jonathan e139b2063a IPv6 mapped adddresses require us to cope with limited polymorphism
(struct in6pcb* versus struct inpcb*) in ipsec_getpolicybysock().

Add new macros (in lieu of an abstract data type) for a ``generic''
PCB_T (points to a struct inpcb* or struct in6pcb*) to ipsec_osdep.h.
Use those new macros in ipsec_getpolicybysock() and elsewhere.

As posted to tech-net for comment/feedback, late  2003.
2004-01-20 22:55:14 +00:00
zuntum 77c9ce3095 Add some Polish airports: WAW, GDN, KRK, KTW, LCJ, POZ, WRO 2004-01-20 22:30:11 +00:00
matt da824b22a2 Forgot to remove #include <stdbool.h> 2004-01-20 22:24:28 +00:00
matt d6276d7620 Remove "bool" support for now since some platforms are still not able to
cope with it.
2004-01-20 22:11:02 +00:00
jdolecek 46fdc63ac8 add register64_t which appears to be necessary for COMPAT_NETBSD32 nowadays 2004-01-20 20:30:41 +00:00
jdolecek f5f3fd557c fixup code for Elite card attachments, and adjust autoconfig messages
a little
2004-01-20 19:59:59 +00:00
jdolecek b5b875ef06 cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
  is included there too; dev/ic/lpt.c is not included if ppbus is
  configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
  glue moved to conf/files and dev/pci/files.pci respectively; remove
  device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
  glue
2004-01-20 19:58:01 +00:00
jdolecek 0fb67944af make compile - fix print formats 2004-01-20 19:58:00 +00:00
jdolecek 6c14651ea0 cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
  is included there too; dev/ic/lpt.c is not included if ppbus is
  configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
  glue moved to conf/files and dev/pci/files.pci respectively; remove
  device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
  glue
2004-01-20 19:58:00 +00:00
kleink 15afe0b4fc Move FP_ROP and FP_DIRTYZERO from <math.h> to <vax/math.h> (where they
would have ended up if I hadn't missed the latter file in the commit).
2004-01-20 19:52:40 +00:00