Commit Graph

214454 Commits

Author SHA1 Message Date
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
pgoyette c75e6b56d0 Provide clear explanation of test-case failures. 2012-11-08 16:33:26 +00:00
nakayama b6111fc1b6 Move ASRs macro to more appropriate header.
While there remove useless macro.
2012-11-08 16:30:12 +00:00
msaitoh 04c8bb64f2 Fix a bug that MVGBE_JLEN is miscalculated. 2012-11-08 15:39:29 +00:00
dholland c006430089 regen 2012-11-08 15:25:01 +00:00
dholland 43c1d01a08 MKCATPAGES defaults to no these days; noted on netbsd-docs by Luc van
der Veen.
2012-11-08 15:24:40 +00:00
msaitoh c9fb3a9800 When an interrput is link change, notify link change to mii layer using
mii_pollstat().
2012-11-08 14:37:47 +00:00
msaitoh 4d1a9736e4 Don't use M_HASFCS flag. 2012-11-08 14:32:01 +00:00
joerg 6677762418 Provide copy constructor and copy assignment operators for C++11.
Clang implements the C++11 semantics properly that require the default
to be implicitly deleted.
2012-11-08 11:24:00 +00:00
apb 418a93cd57 Mark inline function in_word_set(str, len) as static.
The function uses a static variable (stringpool_contents)
and this is not allowed in an inline function with external linkage.
Found by clang -Wstatic-in-inline.
2012-11-08 08:46:26 +00:00
skrll 11765be24f Use ENTRY_NP for lwp_trampoline 2012-11-08 08:22:56 +00:00
skrll 3e481406ce unifdef __OLD_INTERRUPT_CODE 2012-11-08 08:19:50 +00:00
pgoyette 57f73370f4 Remove a debug printf(), and fix the format in another.
Should resolve build break.
2012-11-08 04:58:44 +00:00
pgoyette b05ea33883 The sleeping test has been converted to ATF 2012-11-08 03:16:04 +00:00