Commit Graph

237858 Commits

Author SHA1 Message Date
riz
caa8fbc640 Evil hack to ensure dtrace lockstat module builds on arm. 2015-09-10 19:57:48 +00:00
riz
3922b03876 include <sys/lwp.h> for curlwp. From ozaki-r. 2015-09-10 19:56:13 +00:00
sjg
0173eb921e Output Entering/Leaving messages for objdir when != srcdir and -w flag
This helps ensure Emacs can find source of error.

Reviewed by: christos
2015-09-10 17:15:11 +00:00
pooka
47ff0c720a regen 2015-09-10 16:21:48 +00:00
pooka
4e45dc4d2c Fix #define ERRNO EANOTHERRNO.
Was: #define RUMP_ERRNO EANOTHERRNO
Now: #define RUMP_ERRNO RUMP_EANOTHERRNO

pointed out by Sebastian Wicki on irc
2015-09-10 16:21:32 +00:00
pooka
fb48b34be8 regen 2015-09-10 16:16:35 +00:00
pooka
366a14d44d Ignore multiline IOC macros by default. 2015-09-10 16:14:22 +00:00
christos
ebe26a98ee namespace protect allocaddrinfo 2015-09-10 14:05:06 +00:00
uebayasi
a8bf1974db Fix dependency of *.d -> assym.h in `-S' mode. 2015-09-10 13:11:39 +00:00
wiz
6c66f8e126 Bump date for previous. 2015-09-10 12:30:08 +00:00
christos
37cb794041 mke allocaddrinfo static. 2015-09-10 11:33:27 +00:00
uebayasi
1214c2c69c Simplify the dependency line further. 2015-09-10 09:30:01 +00:00
he
84825b10fa Document frexpl() now that we have it as well. 2015-09-10 08:28:54 +00:00
skrll
575f73f90d Trailing whitespace. 2015-09-10 06:32:47 +00:00
hkenken
ebfb0c93bb USBMODE register's initialization should be done in sc_vendor_init() after sending EHCI_CMD_HCRESET command. 2015-09-10 04:00:32 +00:00
rjs
84b2125949 Regen. 2015-09-09 20:05:57 +00:00
rjs
27cc816172 Add some run(4) IDs from OpenBSD. 2015-09-09 20:03:48 +00:00
wiz
18373c2a42 New sentence, new line. Bump date for previous. 2015-09-09 17:42:35 +00:00
phx
d8d407e007 Tests showed that the sensor needs at least 30ms after a MR (measurement
request) to have valid data ready, so the driver didn't work very well.
Now the MR is sent in configurable intervals (hw.hythygtemp0.interval)
using callout(9), so that valid data is immediately available for
sysmon's sensor refresh. When the refresh comes too close after the last
MR, then the previous values are used.
2015-09-09 17:16:20 +00:00
skrll
62dbbeaaf2 Sync with OpenBSD. No functional change. 2015-09-09 11:56:53 +00:00
christos
8730816515 more recent information about unsupported drives. 2015-09-09 11:14:09 +00:00
ozaki-r
0cea365c35 Include several libc functions in rump.ping6
We need getaddrinfo, getifaddrs, if_indextoname and if_nametoindex
in addition to getnameinfo.
2015-09-09 10:06:05 +00:00
mlelstv
bf5ddae367 The iMX uSDHC controller doesn't have an interrupt error status flag,
the bit position is reserved and reads as value 0.
- Fake the flag if any of the error bits is set.
- uSDHC supports the 32bit access, the 16bit path doesn't need that quirk.
2015-09-09 08:09:28 +00:00
mlelstv
67a699c695 Don't test flags from error value in status value. Instead test the
error interrupt status.
2015-09-09 08:06:47 +00:00
mlelstv
e1ce7188c3 fix DPRINTF parameters 2015-09-09 08:04:33 +00:00
skrll
ac50f6c9a0 Make L2_S_CACHE_MASK_armv6n consistent with other *_CACHE_MASK_armv6n 2015-09-09 07:37:36 +00:00
palle
2ae392fea9 Fixed console logging when booting with -q 2015-09-09 03:47:58 +00:00
uebayasi
192b39cc22 Improve previous. 2015-09-09 03:27:15 +00:00
uebayasi
7c7453a6f8 Restore *.[sS] -> assym.h dependency in `-S' mode. 2015-09-09 03:16:14 +00:00
ozaki-r
30818f7132 Fix race condition on la_rt between lltable_free and other places touching la_rt
We have to touch la_rt always with holding softnet_lock. And we have to
use callout_halt with softnet_lock instead of callout_stop for
la_timer (arptimer) because arptimer holds softnet_lock inside it.

This fix may solve a kernel panic christos@ encountered.
2015-09-09 01:26:50 +00:00
ozaki-r
4c03bf20c9 Remove wrong KASSERT in arptfree
la_rt can be NULL because arptimer that calls arptfree doesn't always
free llentry so llentry can remain with la_rt == NULL. So we instead
check whether la_rt is NULL or not and do arptfree if not.

This fixes PR kern/50184 (confirmed by martin@) and
PR kern/50186 (maybe).
2015-09-09 01:24:01 +00:00
ozaki-r
c2ed920b63 Revert v1.176 for further proper fix 2015-09-09 01:22:28 +00:00
plunky
bd4132cd78 according to C99 6.5.15 in a conditional expression, both
operands should be of compatible types.

So, use ((void)0) here to match `void dbprintf()'
2015-09-08 18:33:12 +00:00
uebayasi
45ccdffc42 Revert previous. It was not wrong, but not necessary for everyone.
(If really wanted, *.a generation rule can be easily overriden locally.)
2015-09-08 16:06:42 +00:00
nakayama
a2f6aae19d Fix build w/o options SUN4V.
mdesc_get_len() and mdesc_init() are used outside of #ifdef SUN4V,
and eliminated by optimization if SUN4V isn't defined.
2015-09-08 13:18:06 +00:00
pooka
72c697bfc0 Remove solved item. 2015-09-08 12:14:20 +00:00
jnemeth
7c8eb9ef85 Pretty difficult for a TV show (Star Trek) to have a first airing
on two different dates.  Dump the erroneous one.
2015-09-08 11:07:37 +00:00
msaitoh
dc6eeed0a2 Fix incorrect argument of mii_anar(). Fixes PR#50206.
XXX pullup -[567]
2015-09-08 10:16:53 +00:00
bad
6c69384dad Rename argument of rf_output_devname() from devname to name to avoid a
warning about shadowing a global symbol when compiled by buildrump.sh.
Discussed with mrg.
2015-09-08 08:59:09 +00:00
leot
5abfef80e1 Add some missing fixes to alc(4) to sync with the latest FreeBSD and OpenBSD
alc(4)s.

Fix a long standing bug in MAC statistics register access. One
additional register was erroneously added in the MAC register set
such that 7 TX statistics counters were wrong. (from OpenBSD, if_alc.c 1.29)

Remove setting an initial assumed baudrate upon driver attach which is not
necessarily correct, there might not even be a link when attaching.
(from OpenBSD, if_alc.c 1.22)

Add some missing bus_dmamap_sync()'s and sync the others with
the FreeBSD code. (from OpenBSD, if_alc.c 1.21)

Help with the watchdog timeouts seen when unplugging the cable from
the alc(4) NIC while running or the NIC not working if the cable is
not plugged in upon boot up. (from OpenBSD, if_alc.c 1.16)

ok mrg@
2015-09-08 08:24:42 +00:00
uebayasi
6639db6cc2 About ${CTFCONVERT}. 2015-09-08 05:48:07 +00:00
dholland
814554f5b1 Clear the XFAIL from PR 45391. 2015-09-08 05:24:27 +00:00
dholland
3f3a74a05e Apply patch in PR 45391 from Yui NARUSE: generate HUGE_VAL rather than
-HUGE_VAL for 0^negative. No objection after asking nearly two years
ago if I shouldn't just commit it.
2015-09-08 05:23:31 +00:00
palle
df6d76d7bd Improve printout duing autoconfiguration 2015-09-08 04:04:33 +00:00
uebayasi
fe281df765 ${MD_OBJS} and friends. 2015-09-08 02:23:34 +00:00
uebayasi
0e43d38dc2 ${LD} input files and library (*.a) support. 2015-09-08 00:53:39 +00:00
phx
f2c8a119f8 Create /dev/flashN device nodes for all_md. 2015-09-07 23:02:07 +00:00
phx
4b0f549af2 Enable cfi/nor/flash devices as reading from flash seems to work now. 2015-09-07 23:01:08 +00:00
phx
fe7eab31af Fix nor-flash bus space: extent limit should not be zero and bus space is
definitely big-endian. Reading the flash via /dev/flash0 works now.
Writing is untested.
2015-09-07 23:00:08 +00:00
palle
c30a63571e Move function prototypes for cpu_ecache_associativity() and cpu_ecache_size() outside the MULTIPROCESSOR block so a GENERIC.UP kernel will build again 2015-09-07 20:00:49 +00:00