Commit Graph

230314 Commits

Author SHA1 Message Date
apb
85013cd7a1 Rephrase the NOTE about embedded NUL characters, using "apparent length"
for what strlen(3) reports, and "true length" for what the return value
reports.
2014-09-16 08:42:20 +00:00
msaitoh
2f9955008a Add some new I218 devices. 2014-09-16 07:06:42 +00:00
msaitoh
cadd6c87a2 Regen. 2014-09-16 07:06:14 +00:00
msaitoh
6e715d6cf9 Add some new Intel I218 devices. 2014-09-16 07:05:44 +00:00
christos
44751e4dbf belt-n-suspenders, close on exec catalog files. 2014-09-16 01:30:28 +00:00
christos
d7c0fb8fbb close on exec hostaliases 2014-09-16 01:30:00 +00:00
christos
9a0178b83d Mark the dup of the resolv fd for close on exec. 2014-09-16 01:29:48 +00:00
christos
9abd014fb5 mention what happens if the line contains NUL's. 2014-09-15 23:41:16 +00:00
christos
7a55074b17 fix markup. 2014-09-15 23:31:17 +00:00
christos
57367022db Fix documentation to reflect what happens when EOF is found before delimiter,
aligning us with POSIX.
2014-09-15 23:29:16 +00:00
riastradh
5c57068fcc Fix mistakes in Linux ww_mutex code.
I wrote some cases for the WW_WANTOWN state forgetting that there is
an acquisition context associated with it.

- On acceptance of a lock, allow WW_WANTOWN as well as WW_CTX.
- On unlock when WW_WANTOWN, decrement the context's acquire count.

Fixes KASSERT(ctx->wwx_acquired == 0) failure in ww_acquire_fini, and
would fix unlikely but possible kasserts in ww_mutex_lock* if another
lwp swoops in to lock without a context quickly enough.

While here, add some comments and kassert up the wazoo.
2014-09-15 20:24:55 +00:00
martin
c2db80d8f5 BOARDTYPE is now a string, use it directly. 2014-09-15 19:30:16 +00:00
martin
61ee040607 Pass BOARDTYPE as a string to awin_machdep.c 2014-09-15 19:28:49 +00:00
skrll
df48ab1cef Don't set CORTEXA9_AUXCTL_FW on A7. It's undefined.
Misc. cleanup while I'm here.
2014-09-15 19:02:38 +00:00
joerg
a1f9624941 Apply r1.2 from our GCC 4.8 version of the same file:
Kill the "throw()" on a forward declaration for posix_memalign (it does
not match our base declaration and may cause warnings).
2014-09-15 16:29:18 +00:00
ryo
c66b395b38 fix to invalidate all way of own processor 2014-09-15 11:49:01 +00:00
ozaki-r
75f57c494b Write about -vlanif in ifconfig.8
PR 49114
2014-09-15 06:48:05 +00:00
ozaki-r
adf2c730e5 Add -vlanif to the help message of ifconfig
PR 49114
2014-09-15 06:46:04 +00:00
ozaki-r
cb96c403a1 Delete link local addresses of a vlan interface when detaching its parent
This fixes PR 49197.
2014-09-15 06:07:37 +00:00
ozaki-r
c6219f41c7 Leave promiscuous mode when detaching a parent (ifconfig -vlanif)
We have to call ifpromisc(ifp, 0) for both a VLAN interface
and its parent when they are in promiscuous mode.

PR 49196
2014-09-15 05:54:02 +00:00
matt
6ab5cc49ed Make sure to read SCTRL no matter way CPU we are on. 2014-09-15 00:35:37 +00:00
skrll
1b7f4b19c8 Typo 2014-09-14 21:06:37 +00:00
jmcneill
d48142776d remove extra space between device name and "Ethernet address" 2014-09-14 21:06:12 +00:00
ryo
be4cd43a64 add memory access barrier 2014-09-14 20:35:45 +00:00
riastradh
2f4c673c6b Remove vestigial drm2pci module, replaced by drmkms_pci. 2014-09-14 20:16:07 +00:00
riastradh
8ed9fea46b Fix module build of drmkms_linux. 2014-09-14 20:09:18 +00:00
riastradh
6585c4c418 Fix module build of drmkms. 2014-09-14 20:08:21 +00:00
mrg
a4412a693b introduce a new option: ACPI__DIS_IS_BROKEN. this is a hack to
avoid calling the "_DIS" method during acpi interrupt link setup,
which hangs various nforce4 based motherboards.

when the problem is properly fixed, remove this hack.  for now,
it allows someone (me) to have a valid kernel config that doesn't
require a source hack every new tree.

ok chs@
2014-09-14 19:54:05 +00:00
riastradh
1a497622d8 Split drm ttm config into a separate file. 2014-09-14 19:06:00 +00:00
martin
37ad3d63c0 Add (disabled) debug code.
Fix DMA descriptor link initialization.
2014-09-14 18:28:37 +00:00
nonaka
8d0e2fed7e Avoid data abort at src/sys/dev/dkwedge/dkwedge_apple.c:swap_apple_drvr_descriptor() on zaurus.
apple_drvr_map.sb_dd (struct apple_drvr_descriptor) isn't located in the address is 4 bytes alignment. Unaligned address is passed from dkwedge_apple.c:swap_apple_drvr_map to dkwedge_apple.c:swap_apple_drvr_descriptor(). data abort occurs when read 4 bytes from that address for read apple_drvr_descriptor.descBlock.
2014-09-14 17:39:06 +00:00
riastradh
faa04ab45f Disable VGA plane after vga_cndetach.
Disabling the VGA plane requires access to the VGA registers, which
don't become available until vga_cndetach.  Oops!
2014-09-14 16:02:15 +00:00
jmcneill
04e518b82b return NULL when failing to establish interrupt 2014-09-14 14:29:57 +00:00
martin
518bac4921 Cleanup and __BIT()ify 2014-09-14 11:00:52 +00:00
jmcneill
d267d84121 __SHIFTOUT -> __SHIFTIN when writing to a reg 2014-09-14 09:34:12 +00:00
jmcneill
bc32fdecfc fix some more registers 2014-09-14 09:32:11 +00:00
apb
19f37cd621 Small markup fixes:
* Use \e instead of \\ to represent a backslash;
* Dont' start a line with .SUFFIXES.
2014-09-14 08:47:19 +00:00
skrll
618280a28e When doing vendor dma transfer wait for SDHC_TRANSFER_COMPLETE.
From jmcneill@ with some layout changes from me.
2014-09-14 08:47:08 +00:00
dholland
985229f07f bump date; I think I'm done for tonight 2014-09-14 04:32:42 +00:00
dholland
cf64c76e74 Add some notes on compatibility with other make dialects.
I was originally intending to preserve some of Jarmo Jaakkola's notes
on POSIX make from the PR 49085 changes... but really there's no point
wandering into details about $? and such when the big picture is
"almost everything in this manual works only in BSD make".

Maybe the exact details can be stuffed into a chapter of the mythical
make reference manual if that ever gets (re)written.
2014-09-14 04:32:07 +00:00
dholland
d8e17b53b4 Improve the documentation of rule-local variables. Cherry-picked from
the PR 49085 changes, with some adjustments by me.
2014-09-14 03:50:28 +00:00
dholland
7837a7ce15 Improvements pertaining to shell commands and chdir. Some of this
appeared in the PR 49085 changes, even though it's not actually
relevant there except tangentially. However, I've reworked most of
that for clarity and added some more.
2014-09-14 03:13:49 +00:00
dholland
d2a37b0d8b Fix handling of the silly $(@D) $(@F) etc. vars so modifiers on them
work. This is issue #1 in PR 49085 from Jarmo Jaakkola, but I've used
a different and cleaner patch this time.
2014-09-14 02:32:51 +00:00
dholland
58de96de3f Recognize the crazy POSIXisms $(?D) and $(?F); issue 2 in PR 49085
from Jarmo Jaakkola.
2014-09-13 23:21:01 +00:00
dholland
d32cd0af74 typo in comment, from the first reverted patch 2014-09-13 23:10:28 +00:00
jmcneill
72b51a432b if the bus driver supplies a fifo size and dynfifo is true, use it 2014-09-13 19:02:00 +00:00
jmcneill
04071f2324 set fifosize to 512, and fix swapped intrx/inttx params to motg_intr 2014-09-13 18:37:16 +00:00
skrll
c5d79ed594 Whitespace. 2014-09-13 18:36:45 +00:00
jmcneill
a9b0eb32e8 let the bus driver override fifo size 2014-09-13 18:36:39 +00:00
skrll
1d755e841c Fix reversed argument to USBHIST_LOG 2014-09-13 18:35:57 +00:00