Commit Graph

211582 Commits

Author SHA1 Message Date
christos
e11304f45e PR/46608: Jim Bernard: Add xz conversion "X" 2012-06-17 03:52:32 +00:00
isaki
b1d94e60d6 Remove unnecessary checkyesno which I commited before.
${rcvar}_start is skipped if rcvar is not set to YES.
Pointed out by joerg@ and tsutsui@.
Should be pulled up to netbsd-6.
2012-06-17 02:13:13 +00:00
dsl
c72955ee27 memseg_baseaddr() is only called from valid_user_selector() and
both only locally.
Make static, remove one of the functions, and remove the never-set args.
Code is still very dubious.
2012-06-16 20:47:04 +00:00
dsl
a25c7cabfc Add explicit (void *) casts for when sysctl_createv() is passed
CTLTYPE_INT but the address of a structure (and a function).
2012-06-16 19:54:01 +00:00
joerg
c91e3eb75b Unbreak compat. 2012-06-16 19:19:14 +00:00
joerg
ee99db43bc Allow USE_COMPILERCRTSTUFF=yes for platforms that use MACHINE_CPU !=
MACHINE_ARCH.
2012-06-16 18:19:39 +00:00
chs
22738551d6 reduce diff to freebsd:
rename "xcpu" back to "cpu" now that the conflicting global variable
has been renamed out of the way.  this also fixes some cases
where references to the local variable "cpu" had not been renamed
and thus were accidentally referring to the former global "cpu".
2012-06-16 17:31:47 +00:00
chs
4eb0eda427 rename the global variable "cpu" to "cputype" to avoid conflicting with
dtrace, which wants to use "cpu" as a local variable.
2012-06-16 17:30:18 +00:00
joerg
8df5dadc39 Don't bail out on unused private fields. 2012-06-16 17:02:33 +00:00
joerg
c9196b81ce Update LLVM/Clang snapshot to r158533. This brings in support for
stack-realignment in functions using alloca on x86. Move to
/usr/include/clang-3.2 to reflect the version.
2012-06-16 17:01:02 +00:00
joerg
80d74bd7f8 Annotate tautological if, so that clang doesn't warn about the dt usage
later on.
2012-06-16 16:42:26 +00:00
nonaka
b26cf6f64c urtw(4) and urtwn(4) first appeared in NetBSD 6.0. 2012-06-16 14:38:54 +00:00
kiyohara
fbd7a1ab43 Add '\n' to revision string. 2012-06-16 05:58:03 +00:00
christos
b416920400 remove error(1) output 2012-06-16 01:34:10 +00:00
christos
55cd49b90e make this compile again. 2012-06-16 01:31:33 +00:00
rmind
7a3e0c216a - Rework NPF NAT syntax to be more structured and support future additions
of different types and configurations of NAT.
- npfctl: improve disassemble and show-config command functionality.
- Fix custom ICMP code and type filtering.
2012-06-15 23:24:08 +00:00
joerg
56f9c3c6bd Don't use an empty body on the same line for the for loop. 2012-06-15 23:01:16 +00:00
joerg
4b586f4e8b Assert that out_hr is not NULL in hfslib_read_header_node 2012-06-15 21:59:39 +00:00
joerg
f6791aad72 Simplify ERR, so that it doesn't mess up Clang's
-Wsometimes-uninitialized scan on the function. This is tracked in LLVM
as http://llvm.org/bugs/show_bug.cgi?id=13093.
2012-06-15 19:54:21 +00:00
joerg
74a7f3e6f2 Do not mark pthread_cond_timedwait explicitly as inlineable, since it
calls pthread__self, which is static.
2012-06-15 19:20:44 +00:00
yamt
9700738834 whitespace 2012-06-15 14:23:46 +00:00
yamt
42b4b1a980 update a comment 2012-06-15 14:09:26 +00:00
yamt
f120cbc6a9 comment 2012-06-15 14:07:44 +00:00
yamt
c6f15cd7fe assertions. use a macro. no functional changes. 2012-06-15 14:02:41 +00:00
yamt
ea49698def comment 2012-06-15 13:58:34 +00:00
yamt
09d05f28e5 comments 2012-06-15 13:57:59 +00:00
yamt
e5b5bd7898 comment 2012-06-15 13:55:22 +00:00
yamt
c7b1cf3811 emap: reduce the number of atomic ops. 2012-06-15 13:53:40 +00:00
yamt
f562b34504 comments and assertions.
no functional changes.
2012-06-15 13:51:40 +00:00
joerg
403de81b16 Remove unused fields 2012-06-15 10:51:25 +00:00
martin
18118f60c8 Do not try to find the wedge we booted from if opendisk(booted_device)
failed.
2012-06-14 20:18:16 +00:00
joerg
0adfd5e0b3 Make sure temp_path is always initialised, even if mklocal fails.
Make sure to restore localvars, even if possibly leaking memory.
Discussed with christos@
2012-06-14 18:56:54 +00:00
bouyer
c3ff6f17e5 Disable the mmap_block test again, it doesn't panic when mmaping /dev/wd0d
only by accident. PR kern/46592.
2012-06-14 17:47:58 +00:00
sborrill
25290a5966 Set commented out maxproc-cur and openfiles-cur default values to the actual
defaults from sys/sys/syslimits.h. Bump maxproc-max too to a typical value.
2012-06-14 09:28:02 +00:00
manu
574c09729f Fix memory leak when we discard a voided setattr operation 2012-06-14 05:58:22 +00:00
blymn
78c0e4f5d2 Add the CDC protocol identifier "no class specific protocol required"
and allow the umodem match routine to match on this protocol.  This
allows some recent arduino boards serial interfaces to attach.
2012-06-14 05:14:41 +00:00
riz
94f4463123 Add urtw(4) to i386/amd64 GENERIC. 2012-06-14 04:23:48 +00:00
riz
49449523c7 Add firmware for the RealTek RTL8192CU family of wireless chipsets, and
adapt the urtwn(4) driver to use the new files.  The firmware files were
extracted from the Linux driver at www.realtek.com, version 0005.1230.2011
and the license permits redistribution without modification.

While I'm here, install the files in /libdata/firmware/if_urtwn, like
most of the other network adapter firmware.

urtwn(4) can now operate without needing external files installed.  Tested
on my Edimax adapter.
2012-06-14 04:14:35 +00:00
agc
4775edcbb6 calculate inode capacities using the correct values 2012-06-14 01:08:22 +00:00
macallan
ebbeb0ed68 more preparation for alpha support:
- use R3G3B2 colour map
- consistently use ri_devcmap[]
- reshuffle cmap setup, screen cleaning, msg buffer replay etc. to deal
  with the above
2012-06-14 00:56:37 +00:00
christos
e5d78d1189 don't print the NULL, but the error 2012-06-14 00:39:33 +00:00
macallan
651641ee60 do some minimal setup if we're not the console 2012-06-14 00:21:55 +00:00
macallan
a0d170a779 cosmetics:
- fix/remove outdated comments
- printf() -> aprint_*()
- #if 1 removal
2012-06-14 00:15:07 +00:00
riz
7f5267ea9d Sort SUBDIR alphabetically. Tested with build.sh -j8 on amd64. 2012-06-13 23:41:09 +00:00
joerg
110cea35a1 Kill conditionals that are always true. Drop a dead assignment. 2012-06-13 23:00:05 +00:00
joerg
15a60c04b8 Ensure that error is initialized in all code paths. 2012-06-13 22:56:50 +00:00
riz
76d99a8a77 Add a closing '$' to the RCSID tag. 2012-06-13 21:17:29 +00:00
martin
c2e51849fc Per discussion on tech-userlevel, finally fix PR 10127:
move all ttyE* entries that use "vt100" emulation to wsvt25 term type.
The terminfo vt220 entry lacked (correctly) a delete key entry, which
was a regression against the netbsd-5 termcap entry. On the other hand,
only a very small number of foreign systems lacks support for wsvt25
nowadays.
2012-06-13 20:49:11 +00:00
mlelstv
6e129cea4e Make detection of root on wedges (dk(4)) machine independent. Remove
MD code for zaurus.
2012-06-13 20:04:30 +00:00
martin
1ed0d3ad05 On second thought, do not store a binary file in the repository, instead
use the uuencoded version.
2012-06-13 19:44:14 +00:00