Commit Graph

214467 Commits

Author SHA1 Message Date
skrll 08a4aba755 C99 types 2012-11-12 18:00:34 +00:00
hannken a672ee4873 Bring back Manuel Bouyers patch to resolve races between vget() and vrelel()
resulting in vget() returning dead vnodes.
It is impossible to resolve these races in vn_lock().

Needs pullup to NetBSD-6.
2012-11-12 11:00:07 +00:00
njoly a02a44ee48 Adjust for tests/lib/{libbpfjit,libsljit} debug entries. 2012-11-12 09:03:52 +00:00
christos bad5c3b320 Fix typo, from Kevin Lo 2012-11-12 05:13:28 +00:00
alnsn 465b9b9fbb Document sljit. 2012-11-11 21:03:21 +00:00
mbalmer 022a461990 It's Henry _Morton_ Stanley and Dr. Livingston_e_. Unfortunately. they did
not meet at an airport.
2012-11-11 20:25:19 +00:00
alnsn 062bf78a84 Build libbpfjit test to the build. 2012-11-11 17:41:31 +00:00
alnsn 65b4b42177 Add libbpfjit test. 2012-11-11 17:37:34 +00:00
alnsn 292a31115c Add libbpfjit library. 2012-11-11 17:34:06 +00:00
uwe b89e4203ae Each get function "has" a set counterpart, it doesn't "contain" it. 2012-11-10 23:12:36 +00:00
alnsn 85151d38ab Add RCSID and fix -Wsign-compare warnings. 2012-11-10 22:12:31 +00:00
wiz baebe9d053 Sync usage with man page. 2012-11-10 18:42:22 +00:00
wiz c6d7976845 Sort options (no-argument ones first, then argument-taking ones). 2012-11-10 18:41:10 +00:00
tsutsui 20f73e45ba - add dhcpcd support to x68k install ramdisk
- enable bpf(4) in INSTALL kernel for dhcpcd
- bump ramdisk size from 1400k to 1440k
No objection on port-x68k.
2012-11-10 17:40:09 +00:00
cherry d204c4c45c Remove e a redundant layer of function calling in the event handling path 2012-11-10 16:28:06 +00:00
christos 0002c266f0 Add an option to read with a different buffer size, and document the
buffer size we use. This allows us to cat -B 10000000 /proc/<pid>/maps
for example which cannot handle seeking.
2012-11-10 16:18:41 +00:00
njoly 8f831e5efb Add No macro to ensure that "and" word is not taken as function
argument.
2012-11-10 15:59:58 +00:00
apb 5f5f1a05cc Cause /etc/rc.d/random_seed to be the first script to run
after mountcritlocal.  Everything else that runs after
mountcritlocal depends directly or indirectly on bootconf, so
making random_seed run before bootconf has the desired result.
2012-11-10 15:10:22 +00:00
apb e36b9f4a97 Make /etc/rc.d/ttys run after /etc/rc.d/bootconf.sh,
because bootconf could conceivably change /etc/ttys.
2012-11-10 15:08:36 +00:00
apb f950d3cf71 The number of active vnodes may grow in between the sysctl call
that figures out the size, and the sysctl call that fetches the data.

Previously, any growth at all would have resulted in this error message:

        pstat: sysctl: KERN_VNODE: Cannot allocate memory

Now allow for growth of 100 vnodes, or 5%, or both.  Growth in
excess of 2% or 6000 vnodes has been observed in practice.  Also
ignore ENOMEM from the second sysctl call, in case the growth was
even more than we anticipated.
2012-11-10 11:01:52 +00:00
nakayama ca7ee96235 Revise comment. 2012-11-10 01:47:25 +00:00
nakayama 4dcb9bbc0e Use macro instead of magic number. 2012-11-10 01:35:14 +00:00
alnsn 929b2d397c Apply adapted patch from joerg@ to fix clang build. 2012-11-09 23:09:31 +00:00
pgoyette 922089c955 More clean-up, and adjust timing of kevent test to avoid issues with
PR kern/43887
2012-11-09 20:13:24 +00:00
rkujawa 80834f0fe6 Note 3Dfx Voodoo Banshee support. 2012-11-09 19:59:41 +00:00
rkujawa 8aa0f99637 Note Voodoo Banshee support. 2012-11-09 19:53:17 +00:00
rkujawa 73133c0024 Differentiate between Voodoo 3 and Voodoo Banshee (MAX_CLOCK).
Ok'd by macallan@.
2012-11-09 19:50:22 +00:00
skrll ff098e3001 tcsd is part of TPM 2012-11-09 19:47:11 +00:00
sjg 15b27c94a1 Add a unit-test for .ORDER 2012-11-09 19:08:28 +00:00
sjg d6f9abca71 Do not stop looking for children, just because one has a .ORDER dependency. 2012-11-09 18:53:05 +00:00
bouyer 43d500aa17 MFI_STATE_BOOT_MESSAGE_PENDING also needs to be handed for non-TBOLT
controllers, from FreeBSD. tested by Hugo Silva against a GEN2 controller.
2012-11-09 18:46:54 +00:00
rkujawa 12cc872652 Add tdvfb - tested and works. Also add commented out TDVFB_CONSOLE option. 2012-11-09 12:52:33 +00:00
rkujawa e180b43f97 The voodoofb driver also works with Voodoo Banshee. Tested using card from
martin@. Should be modified to take different MAX_CLOCK value into account.
2012-11-09 11:28:40 +00:00
nakayama 782b2ad353 Make setstick() and getstick() to inline functions. 2012-11-09 10:05:59 +00:00
msaitoh af1c5c02a9 Add MVGBE_EVENT_COUNTERS for debugging. Count rxoverrrun and wdogsoft. 2012-11-09 09:04:19 +00:00
wiz f63ef6e441 New sentence, new line. Whitespace nits. 2012-11-09 07:37:38 +00:00
wiz 18b8d06bdc New sentence, new line. Fix typo. 2012-11-09 07:37:25 +00:00
msaitoh b6620403e7 Add missing free() in error path. 2012-11-09 06:27:17 +00:00
pgoyette 8ff87897e6 Remove unnecessary header file and an unused variable.
Adjust timing parameters to reduce overall elapsed time, and document
the parameters.
Clean-up status handling for kevent test.
Deal with QEMU timer-related issues (PR-43997).
2012-11-09 04:43:25 +00:00
rkujawa 7d0fe75394 Bring up to date with reality, add HISTORY and AUTHORS sections. 2012-11-08 23:42:35 +00:00
rkujawa 00ade96f61 Note that X-Surf's IDE controller is not supported. 2012-11-08 23:41:39 +00:00
matt 4a56214169 Reduce burstlen for RCV/XMT from 128bits to 96bits. 2012-11-08 21:32:48 +00:00
dyoung 216b022d43 Use NetBSD's own KASSERT() and KASSERTMSG() instead of #undef and re-#defining
KASSERT(), which is awkward at best.
2012-11-08 20:43:55 +00:00
dyoung 4494a8ee18 Use native NetBSD macros instead of compatibility macros.
This change compiles, but I don't have an et(4) with which to test.
2012-11-08 20:36:16 +00:00
christos 98f3134321 If you cannot parse .SH NAME, like in the case of the ksh93 man page
where the .SH is followed by a conditional:

.SH NAME
.if \nZ=0 \{\
text text text
.\}

at least don't core-dump.
2012-11-08 19:17:54 +00:00
rkujawa b57caf8fee Add driver for Delfina 1200 / Delfina Flipper. Useless now (doesn't support
audio or DSP), but is able to disable interrupts which is important if booting
NetBSD from AmigaOS to avoid unhandled interrupts.
2012-11-08 18:30:21 +00:00
joerg 66eae2a69d Merge r163231 from upstream to fix xulrunner build with Clang. 2012-11-08 18:13:53 +00:00
rkujawa 3b84b9cffd Make Amiga video drivers work again after device/softc changes.
Patch from chs@.
2012-11-08 18:04:56 +00:00
christos 53627aeceb If you are going to dick around with p_stat, remember to put it
back so that spawn processes with attributes don't end up starting
up stopped!
XXX: pullup to 6.
2012-11-08 17:40:46 +00:00
nakayama 8d28da981c Rename ASR_IDSR to ASI_IDSR, which is ASI (Address Space Identifier),
not ASR (Ancillary State Register).
2012-11-08 16:36:53 +00:00