Commit Graph

213413 Commits

Author SHA1 Message Date
tsutsui
9b4e990907 Regen from miidevs rev 1.109:
> Add another Broadcom OUI and BCM57765 1000BASE-T media interface.
> Per PR kern/46961.
2012-09-17 11:43:50 +00:00
tsutsui
fc46c9fb13 Add another Broadcom OUI and BCM57765 1000BASE-T media interface.
Per PR kern/46961.
2012-09-17 11:42:38 +00:00
tsutsui
daf0382432 Regen from pcidevs rev 1.1134:
> Add Broadcom BCM57762 Gigabit Ethernet, per PR kern/46961.
2012-09-17 11:38:33 +00:00
tsutsui
48cfe5f05a Add Broadcom BCM57762 Gigabit Ethernet, per PR kern/46961. 2012-09-17 11:35:30 +00:00
dholland
b23ea7fc20 Strengthen the entry about the openssl update, to clarify and emphasize
that just doing a non-update build isn't enough; you really do have to
nuke $DESTDIR.
2012-09-17 05:56:27 +00:00
christos
6010f05a86 spelling 2012-09-17 02:10:46 +00:00
sjg
cf6e63e419 Document the fact that lack of shell meta chars in a command
results in direct exec in compat mode.
2012-09-17 01:23:45 +00:00
rmind
1219124711 Describe kcpuset_export_u32(9) routine. 2012-09-16 22:22:45 +00:00
rmind
4dc5d07777 Rename kcpuset_copybits() to kcpuset_export_u32() and thus be more specific
about the interface.
2012-09-16 22:09:33 +00:00
tls
ae06293860 Take wiz's suggestion. 2012-09-16 22:08:17 +00:00
wiz
a08950765e New sentence, new line.
Sort option descriptions.
Comment out partial sentence.
Sort SEE ALSO and remove trailing comma.
Use more markup.
2012-09-16 21:33:30 +00:00
nonaka
d98e6e7107 Added some debug libs. 2012-09-16 20:23:20 +00:00
tls
e6ea0ca4b6 *Sigh* provide, by default, the dumb "allocate 64K on the stack" variant
of the lzf_compress API by default.  This is because there is evidently
code floating around out there in the world with broken autoconf scripts that
don't check for LZF_STATE_ARG in the lzf header files and just assume the
dumb version of the API.

We rename the sane API to lzf_compress_r and implement the dumb API in
terms of it.  Consequently, bump liblzf major version number.  This is
fine because nothing used our liblzf with the old API.

Add lzf(1) utility from LZF distribution.  Add manual page for lzf(1).
2012-09-16 18:59:24 +00:00
tls
6feccdf81f Add forgotten CHANGES entries for rndctl entropy save/load and all the
kernel entropy changes.
2012-09-16 18:56:12 +00:00
rkujawa
6ccd41645c Remove information about possibility of running out of KVA space, that was fixed some time ago. 2012-09-16 17:16:18 +00:00
rmind
94cf4e2062 Add /usr/lib/npf. 2012-09-16 16:15:29 +00:00
skrll
f26f274521 Attempt to describe the gcc 4.5 method (untested) 2012-09-16 15:09:55 +00:00
christos
fae2443c7b PR/46973: Dr. Wolfgang Stukenbrock: kauth_authorize_action_internal() returns
non-macro value as it should do
2012-09-16 14:35:26 +00:00
skrll
a82d72d3a2 Don't depend on any memory split for initial L1 table. Size kernel mapping
according to actual size.
2012-09-16 14:14:56 +00:00
rmind
8c6e21bf5e Implement dynamic NPF extensions interface. An extension consists of
dynamically loaded module (.so) supplementing npfctl(8) and a kernel
module.  Move normalisation and logging functionality into their own
extensions.  More improvements to come.
2012-09-16 13:47:41 +00:00
skrll
85b8a2dc6a Whitespace 2012-09-16 13:46:49 +00:00
rmind
0c665aa87f npf_icmp_uniqid: split into npf_icmp_uniqid4() and npf_icmp_uniqid6() parts. 2012-09-16 13:44:14 +00:00
he
b4a9a21535 Be consistent with applying __HAVE_PCI_CONF_HOOK around bcmpax_conf_hook
implementation as well.  Fixes build for BCM5301X evbarm kernel.
2012-09-16 12:10:57 +00:00
msaitoh
6fdd74c593 Fix gcc bugid 51408 for arm.
Fixes PR#46972.
2012-09-16 07:26:30 +00:00
dholland
9669e9c542 SAR (search and rescue) 2012-09-16 00:02:41 +00:00
spz
411032beb5 remove dubious cast 2012-09-15 19:31:12 +00:00
plunky
eb32d0353f WPA_TRACE_REF() provides optional content, potentially leaving an extra
semicolon within the struct declarator list. This is not permitted
according to C99 "6.7.2.1 Structure and union specifiers", so instead
have the macro provide the semicolon as required.
2012-09-15 18:37:27 +00:00
plunky
ea7708e17f IPF 5.1.2 is in external/bsd/ipf and sys/external/bsd/ipf now;
these files are obsolete
2012-09-15 18:12:17 +00:00
dholland
26b6cbe8db Fix typo, noticed by stu314 on freenode. 2012-09-15 18:03:42 +00:00
jdf
339b2058bc Add Spanish translations for sysinst's new configuration menu, plus adding a few
that were left previously.
Translation provided by jmmv.
2012-09-15 17:56:28 +00:00
plunky
19ea14f457 does not need -I${NETBSDSRCDIR}/sys/dist/ipf here, the include files
are installed in /usr/include/netinet
2012-09-15 17:46:25 +00:00
plunky
faaf3691d2 does not need -I${NETBSDSRCDIR}/sys/dist/ipf here, the files are
installed in /usr/include/netinet
2012-09-15 17:45:35 +00:00
plunky
72f78fcb94 reinstate "Update ftp-proxy for changes to ipnat_t" from Darren Reed 2012-09-15 17:42:43 +00:00
plunky
69b4eb723b install header files from IPF 5.1.2 (sys/external/bsd/ipf) instead of
older IPF (sys/dist/ipf).

This adds ipf_rb.h
2012-09-15 17:41:59 +00:00
plunky
2bcdfeae54 install example rules from the 5.1.2 distribution in external/bsd/ipf/dist
rather than the old one..  "mediaone" does not seem to exist though, so
mark it obsolete
2012-09-15 17:33:27 +00:00
pooka
bb49dc5937 In the "interlock" case (where the scheduler lock is used as the condvar
lock), we need to take the CPU interlock before releasing the CPU.
Otherwise other threads can be scheduled before we get the interlock,
leading to e.g. missed condvar wakeups.  This affected only "locks_up.c"
locking (nomen est omen?).

Also, remove various __predicts since they don't have a positive
performance impact in any setup.
2012-09-15 17:15:01 +00:00
plunky
80f5e4f0af the result of the construct
#define FOO	defined(BAR)

#if FOO
 [conditional code]
#endif

is "undefined", according to C99 6.10.1 note 4. So, change code like
that to use the following paradigm

#if defined(BAR)
#define FOO	1
#else
#define FOO	0
#endif

#if FOO
 [conditional code]
#endif
2012-09-15 16:56:05 +00:00
plunky
baa3f70feb correct spelling of file to clean 2012-09-15 16:22:58 +00:00
matt
76a03311f2 #include <sys/atomic.h> 2012-09-15 06:25:47 +00:00
kiyohara
2fcc3f0a20 Add malo@pcmcia. 2012-09-15 06:13:43 +00:00
matt
0378db1171 Add __HAVE_ATOMIC64_OPS and __HAVE_PCI_CONF_HOOK 2012-09-15 06:10:50 +00:00
matt
03dd36c2d1 Add some PCI devices 2012-09-15 06:10:13 +00:00
rmind
1e84067639 - Manage anonymous UVM object reference count with atomic ops.
- Fix an old bug of possible lock against oneself (uao_detach_locked() is
  called from uao_swap_off() with uao_list_lock acquired).  Also removes
  the try-lock dance in uao_swap_off(), since the lock order changes.
2012-09-14 22:20:50 +00:00
rmind
8c26068070 - Describe uvm_aobj and the lock order.
- Remove unnecessary uao_dropswap_range1() wrapper.
- KNF.  Sprinkle some __cacheline_aligned.
2012-09-14 18:56:15 +00:00
pooka
8b5f6f3669 Do not assume that O_FOO flags have matching values in the rump kernel
and hypervisor.
2012-09-14 16:29:21 +00:00
joerg
c4eabd7bd6 More __dead 2012-09-14 15:37:03 +00:00
joerg
af71fc1536 Fix GCC to correctly implement the i386 psABI on NetBSD.
This consists of two parts:
- for NetBSD/i386 and NetBSD/AMD64 with -m32, use a default stack
  alignment of 23bit as specified by the ABI
- ensure that double and long long variables on the stack are by default
  only aligned to 32bit, if there is nothing else in the function
  needing a larger stack alignment

The combination ensures that SSE variables on the stack trigger the
realignment logic, but just using double or long long doesn't.
2012-09-14 13:00:01 +00:00
matt
894fca2713 Beginnings of PCI support. Interrupts still need to be done. 2012-09-14 04:53:58 +00:00
matt
5187e69fd3 Fix CFG_ADDR_REG 2012-09-14 04:52:34 +00:00
matt
fbf46fbaf0 Only fetch savecode if scp is word aligned (prevents recursive ddb faults). 2012-09-14 03:58:47 +00:00