Commit Graph

237627 Commits

Author SHA1 Message Date
uebayasi
c74142254f Specifiy explicit output (-o) to ${CC}. 2015-08-29 04:43:05 +00:00
uebayasi
ca847f032e Revert "Retire optional rule' argument of file' command". It is still used
in m68k ports.
2015-08-29 02:54:07 +00:00
mlelstv
5f6641165b move entropy gathering into dksubr. 2015-08-28 17:41:49 +00:00
rjs
34d5c6e6a9 Don't set M_PROTO1 in mbuf flags.
This was left over from the old usage of gif(4) with bridges.
2015-08-28 14:23:18 +00:00
joerg
026a5b18f9 Cast to uint64_t first in case the input is negative. 2015-08-28 14:06:01 +00:00
nonaka
10d8438176 Add support for Realtek RTL8168H/8111H variant. 2015-08-28 13:20:46 +00:00
nonaka
02b27ef42d regen 2015-08-28 13:10:42 +00:00
nonaka
8216083951 Add Intel Dual Band Wireless AC 3165. 2015-08-28 13:09:48 +00:00
joerg
b5b69f0009 Simplify. 2015-08-28 13:04:48 +00:00
joerg
f1688a8203 Don't left-shift negative numbers by making them unsigned. 2015-08-28 13:04:29 +00:00
joerg
a05bf9d163 Add parenthesis for a macro to prevent surprises when it is negated. 2015-08-28 13:03:36 +00:00
joerg
b573c5e0d5 Fix obviously broken condition. 2015-08-28 12:17:41 +00:00
joerg
10100b028a Simplify. 2015-08-28 12:04:08 +00:00
joerg
e78620fb9b Don't unconditionally pass MLIBDIR via CPPFLAGS. Drop now dead branch. 2015-08-28 11:45:02 +00:00
joerg
550539830b Fix check for non-positive timestamps. 2015-08-28 11:38:57 +00:00
joerg
09dfb13f83 Be explicit about what is negated. 2015-08-28 11:29:48 +00:00
joerg
503be5a657 Simplify to avoid negation-only-applies-to-LHS warning. 2015-08-28 11:20:55 +00:00
joerg
0555fac4ac ~0 and -1 are the same for two-complement machines. ISO C says left
shifts of negative values are UB, so do the shift for the unsigned
equivalent and cast to int afterwards.
2015-08-28 09:42:07 +00:00
pooka
3030f667e1 Convert to __cpu_simple_lock_nv_t. Somehow missed alpha in the earlier
commit.  Thanks to uebs for pointing it out.
2015-08-28 09:30:01 +00:00
uebayasi
b5595827d0 Simplify. 2015-08-28 09:16:29 +00:00
nonaka
d29e8b42dd Add ifconfig.if(5) to SEE ALSO. 2015-08-28 09:06:45 +00:00
uebayasi
54e231918a Retire optional rule' argument of file' command.
This has existed since Rev. 1.1 of Torek's config(8) [1], but probably has
never been used by anyone.

(I can not imagine how a `file' like look like if `rule' is specified.)

[1] http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.sbin/config.new/Attic/files.c?rev=1.1
2015-08-28 09:04:02 +00:00
uebayasi
36644ae2ff Error out if a given path is absolute. 2015-08-28 08:56:39 +00:00
uebayasi
47065f5afc Accept only relative paths (from $S) for file' and object'. Simplify code.
config(1) does not need to be super-smart about path handling, because it is
usually used with make(1), that is much smarter.

Pre-compiled object files, specified using `object', are regarded as read-only
input, thus they should be put under $S (or $S/..), as part of a source tree.
2015-08-28 08:31:28 +00:00
wiz
571f656db2 Bump date for previous. 2015-08-28 08:01:15 +00:00
wiz
b4cc4d35f4 Remove reference to non-existing hostname.if(5). 2015-08-28 08:00:32 +00:00
knakahara
bb29ae9814 fix interrupt_* stubs. reported by skrll@n.o 2015-08-28 07:18:39 +00:00
mlelstv
462e0f0bd2 remove unused include sys/rndsource.h 2015-08-28 06:04:43 +00:00
mlelstv
432d09fb65 Prevent race condition where two threads can defer a buffer. 2015-08-28 05:49:31 +00:00
uebayasi
50408f97eb Global paths looked up at output stage (mk*()) are relative to `srcdir'.
Ignore "prefix" by not calling sourcepath().
2015-08-28 03:55:15 +00:00
uebayasi
0b9ddf3cc0 Paths given to "file" and "object" are relative from "prefix" if defined. 2015-08-28 02:59:09 +00:00
uebayasi
b225b197bd Try config(5) "prefix" to shorten lines. 2015-08-28 02:33:59 +00:00
uebayasi
a72d45f1a5 + suffix rules 2015-08-28 01:01:57 +00:00
jklos
df1053a2d2 Cosmetic fix for VAXstation 4000/90, 90a, 96 dmesg output from Felix
Deichmann.
2015-08-27 17:18:58 +00:00
mrg
4ff1396ff2 s/dirname/dirpath/ to avoid potentially shadowing dirname(3). 2015-08-27 17:12:18 +00:00
nonaka
e10e75fcab note rtwn(4). 2015-08-27 14:17:14 +00:00
nonaka
5e4eaa25ce Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices.  Ported from OpenBSD.
2015-08-27 14:04:07 +00:00
rjs
aefbc039cf Don't make fifofs test depend on rump. 2015-08-27 12:59:36 +00:00
pooka
a3a1685910 update c++/volatile/constexpr entry 2015-08-27 12:32:05 +00:00
pooka
01d7ebdd80 Fix PTHREAD_FOO_INITIALIZER for C++ by not using volatile in the relevant
pthread types in C++ builds, attempt 2.

The problem with attempt 1 was making assumptions of what the MD
__cpu_simple_lock_t (declared volatile) looks like.  To get a same type
except non-volatile, we change the MD type to __cpu_simple_lock_nv_t
and typedef __cpu_simple_lock_t as a volatile __cpu_simple_lock_nv_t.
IMO, __cpu_simple_lock_t should not be volatile at all, but changing it
now is too risky.

Fixes at least Rumprun w/ gcc 5.1/5.2.  Furthermore, the mpd application
(and possibly others) will no longer require NetBSD-specific patches.

Tested: build.sh for i386, Rumprun for x86_64 w/ gcc 5.2.

Based on the patch from Christos in lib/49989.
2015-08-27 12:30:50 +00:00
uebayasi
5e9af25b8a + copy symtab 2015-08-27 10:22:12 +00:00
phx
1e0831b986 Added some missing SPI device names. 2015-08-27 09:59:06 +00:00
nonaka
9d7098509e regen 2015-08-27 09:34:18 +00:00
nonaka
bdf701803a Added Realtek RTL8192CE. 2015-08-27 09:30:36 +00:00
christos
19d6b8392c PR/50179: Timo Buhrmester: sh(1) variable expansion bug 2015-08-27 07:46:47 +00:00
uebayasi
0d89ac2159 netbsd depends on $S/kern/kern_ksyms_buf.c; rarely updated but better safe. 2015-08-27 06:28:09 +00:00
mlelstv
7874349bce Make dksubr use a spin-mutex again, since some drivers still call dk_done
from hardware interrupt. Instead, release mutex while calling start routine.

The buffer peek/use/get sequence which can no longer be atomic. So consume
the buffer directly and on error privately save and retry the buffer later.
The dk_drain function is used to flush such a deferred buffer together with
the buffer queue.
Adjust drivers to use dk_drain.

Fix an error path where dk_done was called while the lock was already held.
2015-08-27 05:51:50 +00:00
uebayasi
d6cc60697d Tweak previous. 2015-08-27 03:20:13 +00:00
uebayasi
33dfd38556 Echo exact objects (swap*.o etc.) when linking kernel. 2015-08-27 03:17:46 +00:00
uebayasi
144fbf59d9 Constify a little. 2015-08-27 02:43:20 +00:00