Commit Graph

229420 Commits

Author SHA1 Message Date
matt 2592319eb4 Back out last change. 2014-08-13 19:51:27 +00:00
matt efe99ca41d include <sys/common_int_fmtio.h> if __INTPTR_FMTd__ is defined 2014-08-13 19:48:17 +00:00
plunky 7300f5c795 C99 6.5.15 Conditional operator note 3 states that the second and
third operators of a ?: operation shoud (amongst other conditions)
either both be integer type, or both void type. cast the second
to (void) then, as log() is already a void and no result is desired.
2014-08-13 19:43:47 +00:00
matt 9a93ad7170 Use __ATOMIC_RELAXED in __cpu_simple_lock_init 2014-08-13 19:32:35 +00:00
justin 9f706c8b92 Respect EXTERNAL_TOOLCHAIN on aarch64 2014-08-13 18:25:11 +00:00
justin 0d185a7a63 Add formatting for aarch64 as using arm ones errors for ll on 64 bit types 2014-08-13 17:14:41 +00:00
joerg 8a961968a8 Build position independent on PPC64, too. 2014-08-13 15:56:52 +00:00
hannken dd877031a4 Adapt to reality -- already open BSD style nodes do not appear on
ptyfs mounts (this changed some months ago).
2014-08-13 15:48:38 +00:00
joerg d213e5903a [] -> () 2014-08-13 15:41:21 +00:00
joerg bd7693847a Spell LdAddr consistently 2014-08-13 15:19:22 +00:00
matt 4b104a55c9 Fix for PR/49061
only kassert in pmap_kenter_pa if PMAP_CACHE_PIVT && !ARM_MMU_EXTENDED
2014-08-13 15:06:28 +00:00
pooka ee9aa9eca6 Add component for the pcnet PCI driver to rump kernels. Virtualbox
emulates it by default, so it's nice-to-have for that.
2014-08-13 15:01:32 +00:00
joerg 9074b7ff29 Use the lint path as workaround for Clang on 32bit PPC for now.
Document this hack.
2014-08-13 14:43:48 +00:00
joerg edff4300ae powerpc64 uses the same sources as powerpc and needs the long double as
double-double sources.
2014-08-13 14:41:45 +00:00
pooka 8f4ce02319 Don't use config_deferred_interrupts() for vioif_deferred_init(),
just run it once as part of if_init().  The problem with the former
is that it will execute the deferred init routine in-place when !cold,
and since vioif_deferred_init() finishing depends on virtio interrupts
which are established only after config_deferred_interrupts() is called,
the vioif attach method would deadlock when !cold.
2014-08-13 14:35:46 +00:00
apb 3c11b029a5 Interleave 0 means concatenate serially, do not interleave.
This information was in the ccd(4) man page, but not
in ccdconfig(8) or ccd.conf(5).
2014-08-13 14:13:04 +00:00
hannken 2607f151da - Add a map of active controlling ptys per mount and no longer abuse
the vnode lifecycle.
- No longer set "recycle" on VOP_INACTIVE().
- Make ptyfs_used_get() private to ptyfs_subr.c
- Stop copying device attributes from traditional ptys on first allocation.
- Remove unneeded argument "lwp" from ptyfs_allocvp() and ptyfs_free_get().

OK: Christos Zoulas
2014-08-13 14:10:00 +00:00
wiz b8a1052d67 Add missing TP so that -a is not hidden in the -A description.
From Anon Ymous.
2014-08-13 13:53:14 +00:00
plunky aa224e71db update to r1.377 from upstream, commit message from ragge:
Allow for use of restrict in array declarations (as gcc does).
Fixes gnu regex compilation as reported by William D. Jones on
NetBSD current-users.
2014-08-13 13:37:20 +00:00
plunky 9b491c8bb2 remove unused variable, as reported by Brad Harder 2014-08-13 13:18:08 +00:00
apb 31ea3cc275 Interleave 0 means concatenate serially, do not interleave.
This information was in the ccd(4) man page, but not
in ccdconfig(8) or ccd.conf(5).
2014-08-13 13:14:35 +00:00
christos eefaa0a08a PR/49109: Jeremie Le Hen: fix sed relative addressin (1,+N)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192108
http://svnweb.freebsd.org/base?view=revision&revision=269302
XXX: pullup 7.
2014-08-13 11:35:34 +00:00
macallan 99d6352116 if we get garbage from the RTC try again a couple times
this seems to happen more frequently when the PRAM battery goes bad
2014-08-13 10:56:35 +00:00
macallan 7bd75daa63 add PRAM access commands 2014-08-13 09:41:50 +00:00
skrll 1673781687 SS device detection needs more work. #if 0 previous attempt for now.
PR/49106: panic: ehci_open: bad device speed 4
2014-08-13 06:26:32 +00:00
matt da70694235 Fix for PR/49107.
Make sure pmap_copy_page_xscale clears the ptes afters its done with them.
2014-08-13 05:56:03 +00:00
pooka 48fac693b7 Update hardcoded fd expectations now that rump kernels open 0/1/2.
(since we exec, it's convenient to just assume the values of first 4 fds)
2014-08-13 00:03:00 +00:00
pooka df2711f4e7 In case of no dup2'd fd's, make sure that F_CLOSEM for the
rump kernel starts from 0.

Fixes rumphijack fdoff test (notably, this bug had nothing to do with
fdoff, and was exposed >3 years after writing the test when rump kernels
started providing fd's 0/1/2)
2014-08-12 23:47:09 +00:00
matt 35031b132a Fix c&p error: libisc.a->libirs.a 2014-08-12 20:57:59 +00:00
joerg 691c317038 Avoid unncessary use of double in the kernel. With this change,
a LLVM build kernel fully works on TWRP1025.
2014-08-12 20:27:10 +00:00
skrll 5fd7c05ae4 Add a UPS_SUPER_SPEED. From Takahiro HAYASHI. 2014-08-12 14:22:51 +00:00
martin 6aecae818d PR port-sparc/49103: add device name mapping for "qfe" (quad hme) cards.
From MOCHIDA Shuji.
2014-08-12 13:53:49 +00:00
skrll 2f2d03bc09 Set the correct MPS for LS devices. From Takahiro HAYASHI. 2014-08-12 13:50:42 +00:00
skrll 917e6b7a1f Serialise xhci_intr1 calls with sc_intr_lock. From Takahiro HAYASHI. 2014-08-12 13:48:29 +00:00
skrll 46ef4b0409 Report super speed devices. From Takahiro HAYASHI. 2014-08-12 13:40:07 +00:00
skrll be08e709ea Some USB3 / SS support - baby steps. From Takahiro HAYASHI. 2014-08-12 13:36:40 +00:00
skrll d7d05ee629 Add XHCI_DEBUG. From Takahiro HAYASHI with tweaks from me.
One day someone(tm) will tidyup USB debug stuff.
2014-08-12 13:28:44 +00:00
skrll c137e912d5 Define AXEN_DEBUG. From Takahiro HAYASHI. 2014-08-12 13:24:40 +00:00
gson 9f88f3f33c Mark udf_lookup_complex as an expected failure, referencing PR kern/49033.
Since it does not fail reliably, force it to fail to avoid spurious failure
reports due to unexpected success.
2014-08-12 12:13:09 +00:00
martin c2426fb47b Add firmware images to this image, as discussed on port-arm. 2014-08-12 11:49:04 +00:00
martin d4a4ba1584 Add a IMAGEPREBUILD option for makefiles to ovveride (e.g. to additionally
add files to the staging directory)
2014-08-12 11:48:22 +00:00
apb 94b079ef04 In get_makevar, ask make to recursively expand the variable,
not just print the unexpanded value.  This is done by
using make -V '${VAR}' instead of make -V 'VAR'.
2014-08-12 09:12:18 +00:00
apb 02561653c9 Quoting fixes in several eval commands. 2014-08-12 08:32:43 +00:00
apb 1bbb38d5f6 Check for and delete ${DEST_DIR}/@RUNDIR@, not /@RUNDIR@.
Also remove an unnecessary eval in do_dhcpcdrundir and
fix a typo in the description.
2014-08-12 08:28:04 +00:00
skrll 202b0f6aeb Make this compile when DIAGNOSTIC isn't defined. 2014-08-12 08:06:46 +00:00
skrll 4965989154 Trailing whitespace. 2014-08-12 08:06:07 +00:00
maxv 10b6c96ec4 http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-2
#04-0x01: Uninitialized var 'rqp' (does not compile anyway)
2014-08-12 06:57:20 +00:00
maxv 7078ad0de8 http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-2
#04-0x02: Remove 'doclusterread' and 'doclusterwrite' (unused).
2014-08-12 06:49:10 +00:00
rmind 670c10ba87 - Add and use npf_alg_export().
- npf_conn_import: handle NAT metadata correctly.
- npf_nat_newpolicy: restore the policy ID.
- npfctl_load: fix error code handling for the limit cases.
- npf_config_import: fix the inverted logic.
- npfctl_load: improve error handling.
2014-08-11 23:48:01 +00:00
justin 1624076525 Fix inconsistent use of inline in prototype and definition 2014-08-11 22:36:49 +00:00