Commit Graph

209098 Commits

Author SHA1 Message Date
wiz
b3d989a54f Remove duplicate RS_LOCAL. From cppcheck via Henning Petersen in PR 46000. 2012-02-12 13:56:56 +00:00
wiz
bc52f506fb Consistently use ar5416SetPowerMode. From Henning Petersen in PR 45999. 2012-02-12 13:55:27 +00:00
wiz
a49dba341d Remove duplicate function declaration. From Henning Petersen in PR 45998. 2012-02-12 13:52:51 +00:00
wiz
6234e98d3f Remove unused variables. From cppcheck via Henning Petersen in PR 45997. 2012-02-12 13:51:29 +00:00
wiz
87b4d73fea Use correct return value. From clang via Henning Petersen in PR 45995. 2012-02-12 13:48:45 +00:00
wiz
498ae6154b Use correct return value. From clang via Henning Petersen in PR 45996. 2012-02-12 13:47:19 +00:00
martin
c6a7db15e9 Minor tweaks to posix_spawn error handling.
The standard allows "open" file actions for descriptors that are alreay
open, add support for that.
2012-02-12 13:14:37 +00:00
martin
0b454a86a3 fd_open(): fix confusion between userland and kernel encoding of open flags 2012-02-12 13:12:45 +00:00
sborrill
2e2406e56c Address kern/36526. Note, contrary to the PR, ; command separator works as
documented in ddb(4)
Document ddb.commandonenter sysctl. Note, commandonenter is not available
as a variable:
db{0}> print $onpanic
       1
db{0}> print $commandonenter
Unknown variable
So document the sysctl elsewhere, not in the variables section.
2012-02-12 12:43:51 +00:00
martin
6de241e7cd In uvm_proc_exit bail out early if we have no vmspace yet (as it happens
for failing posix_spawn child processes).
Fixes PR kern/45991.
2012-02-12 11:18:04 +00:00
njoly
f9ebaf519d Adjust debug objects for recent libc minor bump. 2012-02-12 10:01:57 +00:00
oki
b06b44a7b8 add RT3050 SYSCTL_CFG0 values. 2012-02-12 01:51:52 +00:00
martin
fcb6901656 Add missing <sys/spawn.h> include 2012-02-12 01:46:05 +00:00
martin
e9f7a2408f Note posix_spawn addition 2012-02-11 23:36:18 +00:00
martin
19f52532ad Add userland part of posix_spawn. Libc functions imported from FreeBSD.
Based on Charles Zhang's summer of code project.
2012-02-11 23:31:22 +00:00
martin
46f85e0ff1 Welcome to 5.99.65 - posix_spawn syscall added 2012-02-11 23:19:11 +00:00
martin
8cd221e226 Regen for posix_spawn 2012-02-11 23:18:13 +00:00
martin
f8c7c04bbe Add a posix_spawn syscall, as discussed on tech-kern.
Based on the summer of code project by Charles Zhang, heavily reworked
later by me - all bugs are likely mine.
Ok: core, releng.
2012-02-11 23:16:15 +00:00
jruoho
61f6cea600 Fix missing case for AMD 0x15. 2012-02-11 22:09:47 +00:00
jruoho
7738a236ec Add non-XPSS support for AMD family 15h a.k.a. "Bulldozer". Ok releng@. 2012-02-11 22:07:53 +00:00
chs
8c32ac1e0a zero out the unused parts of direct-map page-table pages.
these seem to cause problems even though they aren't actually referenced,
probably due to speculative execution.
fixes PR 45892.
2012-02-11 18:59:41 +00:00
tron
e658fe9f45 Re-apply NetBSD patches. 2012-02-11 18:22:58 +00:00
tron
d50d1d7f8b Initial import of "expat" 2.0.1 into base:
This is James Clark's expat XML parser library in C. It is a stream
oriented parser that requires setting handlers to deal with the
structure that the parser discovers in the document.

This is the first part of the fix for PR lib/40346.
2012-02-11 18:18:10 +00:00
kiyohara
50b77dae72 Fix panic() on KASSERT(len >= BAT_BL_8M) in oea_iobat_add(). Thanks phx@. 2012-02-11 13:53:59 +00:00
phx
31deee1300 Add support for ATAPI CD/DVD drives as well. 2012-02-11 12:31:47 +00:00
ast
bdf0a8da40 Use "NetBSD 6.0" and not "NetBSD 6" and sound less like a broken record.
Add note where the actual example is because that's where it's expected.
Part of earlier commit ok-ed by releng@
2012-02-11 07:27:25 +00:00
plunky
95c271b17f add Roland UM-ONE (essentially, same as Roland UM-1)
from PR/45908 by Tom Ivar Helbekkmo
2012-02-11 05:28:30 +00:00
plunky
a91d6dd5f6 add Telldus Tellstick and Tellstick Duo
from PR/45908 by Tom Ivar Helbekkmo
2012-02-11 05:27:55 +00:00
plunky
1632d6f534 USB_VENDOR_METAGEEK changed to USB_VENDOR_MISC as the Vendor-ID
is used by more than one manufacturer

from PR/45908 by Tom Ivar Helbekkmo
2012-02-11 05:27:23 +00:00
plunky
cb52bd273d regen 2012-02-11 05:27:00 +00:00
plunky
249b939e05 the ID 0x1781 is used by more than one vendor, so change it
from MetaGeek to "Misc Vendors"

add Telldus Tellstick and Tellstick Duo (under Misc Vendors)
add Roland UM-ONE MIDI interface

from PR/45908 by Tom Ivar Helbekkmo
2012-02-11 05:26:31 +00:00
riz
dd7b9d2970 Make English usage consistent with other manpages. From Snader_LB. 2012-02-10 23:47:49 +00:00
riz
e663b9b5f7 - mention GNU grep-2.10 as being the current upstream version;
- clarify / correct license information of GNU grep and GNU texinfo.

From Snader_LB
2012-02-10 23:46:25 +00:00
phx
78d2a3b33a Enable support for USB CD/DVD drives. OK releng@. 2012-02-10 21:09:19 +00:00
nakayama
6d92376f3a Remove "spif[0-9]*" case from ports other than sparc{,64} by using
%stty_chr% and %sbpp_chr%.

Fix "MAKEDEV: bpp: unknown device" error on sparc{,64}, which is
observed in PR toolchain/45620 but not the fix.

Approved by releng.
2012-02-10 20:54:11 +00:00
para
4c23b30cff proper sizing of kmem_arena on different ports
PR port-i386/45946: Kernel locks up in VMEM system
2012-02-10 17:35:47 +00:00
njoly
ca0e389587 Fix makemandb section. 2012-02-10 16:57:44 +00:00
wiz
9328365c03 Remove trailing whitespace. Put macro arguments on same line. 2012-02-10 16:25:47 +00:00
njoly
341370651e Add missing Fa macro argument. 2012-02-10 15:21:53 +00:00
phx
b1e3c118e1 oea_batinit() demands a minimum block size of 8M now. OK by releng@. 2012-02-10 12:02:33 +00:00
tsutsui
ddafd3b8c8 More SL-C7x0/860 support for Xorg server usage:
- pull touchpanel adjustment ioctls to w100lcd.c for SL-C7x0/860
  from zlcd.c for SL-C1000/3x00
- add sample xorg.conf for C7x0/860 (which have hardware screen rotation)
- rename old xorg.conf.sample for C1000/C3x00 to xorg.conf.C3x00
- adjust md set list

Ok releng@ nonaka@
2012-02-10 11:25:42 +00:00
nisimura
1978d7a31e - use a correct bit mask to pick SRCPND register indication.
- reading timer#4 possibly returns value '0'.  Having the
  '0' and a timer reload interrupt results in a too large
  number, meaning the next get_timecounter() call will
  return a smaller one than the previous, effectively kill
  things.  Handle this case.

ping(8) now shows better precisions.  Fixes from Paul Fleischer.

Ok by releng.
2012-02-10 09:17:49 +00:00
mhitch
0ab96436f4 Sigh, it's been too long since I've done some of this. Fix the RELOC(). 2012-02-10 06:28:39 +00:00
mhitch
0fc239ba27 Oops - have to RELOC(physmem) here. 2012-02-10 06:21:15 +00:00
matt
47dd0a4489 Switch VAX to use GCC 4.5 and GDB 7.
Change VAX to use DBG=-O2 like most other ports.
2012-02-10 05:57:42 +00:00
mhitch
2c61985659 The recent kmem changes allocate a large kernel address space before
pmap_init() is called, and the initial kernel PT pages aren't enough
for the allocations pmap_init().  This fails because pmap_kenter_pa()
tries to allocate a new kernel PT page and traps because the pmap has
not been initialized.  When computing the number if initial kernel PT
pages, include enough to allow kmem to map the physical memory.  This
should fix PR/45915.  OK by releng@.  One mac68k system has been verified
to boot.  Volunteers to test the others welcome.  Amigas with at least
up to 128MB of memory were OK, but larger memory will need some adjusting.
2012-02-10 04:49:44 +00:00
christos
b1c34b0c9a add __printflike where needed 2012-02-10 02:14:23 +00:00
christos
440da768fe fix printf formats. 2012-02-10 02:14:04 +00:00
matt
3ffd030673 Fix problem leading to triggering a BFD assert: when allocating space in the
got, do not allocate slots for symbols without default visibility.
2012-02-10 01:47:37 +00:00
christos
3ea0cfb9a1 Cosmetic:
- add %s: __func__, function names change [most of them were wrong]
- add a DIAGNOSTIC printf to help debug alignment fixups
2012-02-09 23:32:55 +00:00