msaitoh
07fcf9a40c
Regen.
2014-08-20 08:00:39 +00:00
msaitoh
9eeedb9728
BCM5714 and BCM5780 are used for both copper and fiber.
2014-08-20 08:00:18 +00:00
macallan
f190e8714e
don't blindly assume that PAGE_SIZE == 4kB
...
Now X works again.
2014-08-20 00:40:33 +00:00
jnemeth
0e7c8bd031
Sync with sparc/dev/fd.c:1.155.
...
Fix panic() on opening fd(4), caused by a wrong pointer passed to memset().
I'm not sure why this 18 year old bug didn't cause problem before
(at least my old 5.99.23 kernel worked), but probably it's triggered
by new gcc 4.8 which might do more aggressive memory allocation.
The problem is found by Nobuyoshi Sato on trying eject(1) against fd(4).
Should be pulled up to netbsd-7.
2014-08-19 18:20:51 +00:00
reinoud
5d42d105e8
Implement i2c using gpio for Exynos5 and Odroid-XU
2014-08-19 16:18:15 +00:00
matt
ef1ba863e5
Compute u<type>_max by doing 2u<x>*type_max+1u<x>.
2014-08-19 15:46:46 +00:00
manu
fb724fffd1
Remove usless warning that happens often with direct IO
2014-08-19 15:29:14 +00:00
tsutsui
09d162f919
Fix panic() on opening fd(4), caused by a wrong pointer passed to memset().
...
I'm not sure why this 18 year old bug didn't cause problem before
(at least my old 5.99.23 kernel worked), but probably it's triggered
by new gcc 4.8 which might do more aggressive memory allocation.
The problem is found by Nobuyoshi Sato on trying eject(1) against fd(4).
Should be pulled up to netbsd-7.
2014-08-19 14:43:41 +00:00
christos
eceaff9abc
cleanup properly on error.
2014-08-19 14:43:28 +00:00
martin
551f6cb995
Make sure to not dereference a NULL pointer.
2014-08-19 13:44:31 +00:00
martin
7a7d59f635
Cosmetic changes trying to appease coverity scan.
2014-08-19 13:41:08 +00:00
martin
722a22e445
Check return values from stat before comparing contents of the result
...
structures. Pointed out by coverity scan.
2014-08-19 13:36:04 +00:00
martin
3221cb6f7f
if chdir() fails, try chdir /
2014-08-19 13:30:32 +00:00
martin
ffc1983074
Make an invariant more clear to avoid fals positives from coverity scan
2014-08-19 13:26:27 +00:00
martin
fe0740f823
Check return value from getenv() before using the value. Pointed out by
...
coverity scan.
2014-08-19 13:04:45 +00:00
martin
14d42b6c1e
Make sure the interface name is 0 terminated, pointed out by coverity scan.
2014-08-19 13:01:48 +00:00
christos
7de48e21c0
PR/49125: Havard Eidnes: /bin/sh does not support redirecting to or from FDs > 9
...
According to:
http://pubs.opengroup.org/onlinepubs/009604599/utilities/xcu_chap02.html#tag_02_07
Redirection support for fds > 9 is optional but allowed.
2014-08-19 12:36:58 +00:00
matt
b191cce33b
Add ./usr/include/sys/common_{ansi,limits}.h
2014-08-19 07:28:45 +00:00
matt
4ae77e2dce
More "common" includes which use the preprocessor defined macros.
2014-08-19 07:27:31 +00:00
matt
48ea0054a1
EM_OPENRISC is now EM_OR1K but keep a define of EM_OPENRISC to EM_OR1K around.
2014-08-19 07:26:45 +00:00
martin
36f4a5867f
Remove (accidently) duplicated code - pointed out by coverity scan.
2014-08-19 06:49:21 +00:00
martin
eee31b641f
Remove duplicate fclose(), pointed out by coverity scan.
2014-08-19 06:47:15 +00:00
matt
4264da7fa4
Install common_wchar_limits.h and update set list.
2014-08-18 22:33:25 +00:00
matt
a115e74120
Add common_wchar_limits.h for those compilers that emit
...
__W{CHAR,INT}_{MIN,MAX}__
2014-08-18 22:21:39 +00:00
agc
f37d41b3ae
Avoid a memory leak - from maxv
2014-08-18 17:16:19 +00:00
riastradh
0d847ab144
Restore Intel opregion stuff.
2014-08-18 16:55:34 +00:00
pooka
65016d742c
Might as well byteswap when we assign to local variables instead of when
...
we use said variables.
2014-08-18 14:40:17 +00:00
pooka
c0fd8e41a5
quasi-cosmetic nit to previous: limit variable scope
2014-08-18 14:35:29 +00:00
pooka
6dd8e526f0
Add compat for bus version 2.
...
Fixes tests, but, XXX, should add tests for bus version 3.
2014-08-18 14:33:23 +00:00
pooka
c31e06706c
make name more descriptive: SWAPME -> FIXENDIAN
...
no functional change
2014-08-18 14:23:24 +00:00
pooka
756b0ff491
fix tyop in error message
2014-08-18 14:21:44 +00:00
pooka
3b9faec799
support endian-independent operation on all platforms
2014-08-18 14:21:18 +00:00
apb
922995f705
Use FSTYPE_DEFN from <sys/disklabel.h> to generate case branches for
...
conversions from all known disklabel fstypes to strings. This replaces
the hand-coded list of conversions for only a few of the known types.
2014-08-18 14:18:59 +00:00
apb
1ed52851f5
Don't ignore unrecognised partition types in BSD disklabels;
...
instead, add them with wedge partition type "unknown#%u", where
%u is the underlying numeric partition type from the BSD disklabel.
2014-08-18 13:46:07 +00:00
christos
5e59f268f4
mention that -x is the default.
2014-08-18 09:45:52 +00:00
christos
f3fb7b3c54
remove XXX, fix error message
2014-08-18 09:16:35 +00:00
christos
519e6f9271
make this behave like linux; make -x the default
2014-08-18 09:14:03 +00:00
joerg
6616828fd2
Restore explicit rule for swap*.o.
2014-08-18 08:07:02 +00:00
plunky
57d482b751
remove obsolete BUILD_CC_LIB_BASEDIR and BUILD_CC_LIB_BASETARGET vars
2014-08-18 07:52:40 +00:00
christos
f8c3486fb6
fix param name
2014-08-18 07:33:21 +00:00
wiz
8ad71c32db
Fix typo.
2014-08-18 07:16:32 +00:00
wiz
a9bf595198
Put local change in sorted location.
2014-08-18 07:12:47 +00:00
christos
e093601120
mention gmake
2014-08-18 07:03:33 +00:00
christos
d4bb329df7
moved to external/gpl2/gmake
2014-08-18 06:59:28 +00:00
christos
2b177d3981
switch to the new gmake
2014-08-18 06:58:51 +00:00
christos
dace66f063
merge local changes
2014-08-18 06:57:25 +00:00
christos
69606e3f5c
import latest gpl2 make
2014-08-18 06:46:46 +00:00
christos
409d07743a
- Enable Wedge support for MBR/BSDLABEL where it was commented out.
...
- Add apple partition support where it was missing
- Add comments where missing
2014-08-18 06:31:24 +00:00
jnemeth
e0eccc7b53
- when checking hostname of incoming remote messages, fallback to checking
...
remote host if the message doesn't contain a hostname
- don't truncate IP addresses when reading syslogd.conf
2014-08-18 05:21:16 +00:00
christos
b65f2d484f
ALLOW_FILTER_AAAA_ON_V4 has been renamed to ALLOW_FILTER_AAAA (John D. Baker)
2014-08-18 04:40:51 +00:00