]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/log
FreeBSD/stable/10.git
10 years agoMFC r263289: Update NetBSD Foundation copyrights to 2-clause BSD
emaste [Mon, 24 Mar 2014 13:48:04 +0000 (13:48 +0000)]
MFC r263289: Update NetBSD Foundation copyrights to 2-clause BSD

  The NetBSD Foundation states "Third parties are encouraged to change the
  license on any files which have a 4-clause license contributed to the
  NetBSD Foundation to a 2-clause license."

  This change removes clauses 3 and 4 from copyright / license blocks that
  list The NetBSD Foundation as the only copyright holder.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@263687 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r263471:
kib [Mon, 24 Mar 2014 12:40:53 +0000 (12:40 +0000)]
MFC r263471:
Initialize vm_map_entry member wiring_thread on the map entry creation.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263684 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMerge r263497: fix ipfw + VIMAGE sysctls.
glebius [Mon, 24 Mar 2014 10:19:07 +0000 (10:19 +0000)]
Merge r263497: fix ipfw + VIMAGE sysctls.

PR: kern/187665

git-svn-id: svn://svn.freebsd.org/base/stable/10@263680 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC: r263441:
pfg [Sun, 23 Mar 2014 19:48:30 +0000 (19:48 +0000)]
MFC: r263441:

msdosfs: minor format fix - spaces vs tab

git-svn-id: svn://svn.freebsd.org/base/stable/10@263670 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMerge r263658 from head: remove unneeded fake _KERNEL definition.
glebius [Sun, 23 Mar 2014 19:07:14 +0000 (19:07 +0000)]
Merge r263658 from head: remove unneeded fake _KERNEL definition.
Should fix broken builds.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263668 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoTurn off warnings for building aicasm. Various versions of yacc exist,
dim [Sun, 23 Mar 2014 14:18:40 +0000 (14:18 +0000)]
Turn off warnings for building aicasm.  Various versions of yacc exist,
which can result in different warnings-as-errors in this tool, but these
are all completely harmless.

This is a direct commit to stable/7, stable/8, stable/9 and stable/10,
since this kernel build tool has already been removed in head.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263665 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoFurther refine the auth fail regex to catch more auth failures and
brueffer [Sun, 23 Mar 2014 12:58:48 +0000 (12:58 +0000)]
Further refine the auth fail regex to catch more auth failures and
reduce false positives.

The committed patch was provided by Christian Marg.

PR: 91732
Submitted by: Daniel O'Connor <doconnor at gsoft.com.au>
   Skye Poier <spoier at gmail.com>
   Alan Amesbury <amesbury at umn.edu>
   Christian Marg <marg at rz.tu-clausthal.de>

git-svn-id: svn://svn.freebsd.org/base/stable/10@263661 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMerge missed r262819, that fixes broken build.
glebius [Sun, 23 Mar 2014 06:05:58 +0000 (06:05 +0000)]
Merge missed r262819, that fixes broken build.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263657 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r263434:
gjb [Sun, 23 Mar 2014 02:29:28 +0000 (02:29 +0000)]
MFC r263434:
  Update commit template to include 'Relnotes:' tag, to
  help re@ track release notes candidates.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@263655 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r263159:
hselasky [Sat, 22 Mar 2014 17:18:44 +0000 (17:18 +0000)]
MFC r263159:
Workaround for USB MIDI adapters which use non-supported values of
wMaxPacketSize for BULK endpoints.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263643 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r263155:
hselasky [Sat, 22 Mar 2014 17:16:40 +0000 (17:16 +0000)]
MFC r263155:
Add support for more sample rates to USB audio driver.

PR: usb/171254

git-svn-id: svn://svn.freebsd.org/base/stable/10@263642 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC of 263062:
mckusick [Sat, 22 Mar 2014 11:43:35 +0000 (11:43 +0000)]
MFC of 263062:

Avoid segment fault when attempting to clean up cylinder group
buffer cache.

PR:             187221
Submitted by:   Petr Lampa <lampa@fit.vutbr.cz>
Obtained from:  Petr Lampa <lampa@fit.vutbr.cz>
MFC after:      1 week

MFC of 262488:

Arguments for malloc and calloc should be size_t, not int.
Use proper bounds check when trying to free cached memory.

Spotted by: Xin Li
Tested by:  Dmitry Sivachenko
MFC after:  2 weeks

git-svn-id: svn://svn.freebsd.org/base/stable/10@263629 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r263181:
bdrewery [Sat, 22 Mar 2014 10:47:49 +0000 (10:47 +0000)]
MFC r263181:

  Fix ASSUME_ALWAYS_YES not being parsed properly from config after UCL conversion.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263624 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r263180:
bdrewery [Sat, 22 Mar 2014 10:40:04 +0000 (10:40 +0000)]
MFC r263180:

  Fix ABI from /usr/local/etc/pkg.conf not being respected.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263621 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC 262999
edavis [Fri, 21 Mar 2014 23:04:23 +0000 (23:04 +0000)]
MFC 262999
Fixed MSI interrupt allocation and handling.
Fixed a DMA mapping leak that occurs when defragmenting packet chains.

Approved by: davidch (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/10@263581 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262868
asomers [Fri, 21 Mar 2014 22:43:00 +0000 (22:43 +0000)]
MFC r262868

Only use -lpthread for unix_seqpacket_test, not for all test programs.

MFC r262894

kern/Makefile
        Set WARNS=5 for all files in this directory
kern/unix_seqpacket_test.c
Fix compiler warnings.  Most were benign, but rcvbuf_oversized
wasn't working as intended because I forgot to set the buffer sizes.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263572 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC 261991:
dim [Fri, 21 Mar 2014 17:53:59 +0000 (17:53 +0000)]
MFC 261991:

Upgrade our copy of llvm/clang to 3.4 release.  This version supports
all of the features in the current working draft of the upcoming C++
standard, provisionally named C++1y.

The code generator's performance is greatly increased, and the loop
auto-vectorizer is now enabled at -Os and -O2 in addition to -O3.  The
PowerPC backend has made several major improvements to code generation
quality and compile time, and the X86, SPARC, ARM32, Aarch64 and SystemZ
backends have all seen major feature work.

Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.4/docs/ReleaseNotes.html>
<http://llvm.org/releases/3.4/tools/clang/docs/ReleaseNotes.html>

MFC 262121 (by emaste):

Update lldb for clang/llvm 3.4 import

This commit largely restores the lldb source to the upstream r196259
snapshot with the addition of threaded inferior support and a few bug
fixes.

Specific upstream lldb revisions restored include:
   SVN      git
  181387  779e6ac
  181703  7bef4e2
  182099  b31044e
  182650  f2dcf35
  182683  0d91b80
  183862  15c1774
  183929  99447a6
  184177  0b2934b
  184948  4dc3761
  184954  007e7bc
  186990  eebd175

Sponsored by: DARPA, AFRL

MFC 262186 (by emaste):

Fix mismerge in r262121

A break statement was lost in the merge.  The error had no functional
impact, but restore it to reduce the diff against upstream.

MFC 262303:

Pull in r197521 from upstream clang trunk (by rdivacky):

  Use the integrated assembler by default on FreeBSD/ppc and ppc64.

Requested by: jhibbits

MFC 262611:

Pull in r196874 from upstream llvm trunk:

  Fix a crash that occurs when PWD is invalid.

  MCJIT needs to be able to run in hostile environments, even when PWD
  is invalid. There's no need to crash MCJIT in this case.

  The obvious fix is to simply leave MCContext's CompilationDir empty
  when PWD can't be determined. This way, MCJIT clients,
  and other clients that link with LLVM don't need a valid working directory.

  If we do want to guarantee valid CompilationDir, that should be done
  only for clients of getCompilationDir(). This is as simple as checking
  for an empty string.

  The only current use of getCompilationDir is EmitGenDwarfInfo, which
  won't conceivably run with an invalid working dir. However, in the
  purely hypothetically and untestable case that this happens, the
  AT_comp_dir will be omitted from the compilation_unit DIE.

This should help fix assertions occurring with ports-mgmt/tinderbox,
when it is using jails, and sometimes invalidates clang's current
working directory.

Reported by: decke

MFC 262809:

Pull in r203007 from upstream clang trunk:

  Don't produce an alias between destructors with different calling conventions.

  Fixes pr19007.

(Please note that is an LLVM PR identifier, not a FreeBSD one.)

This should fix Firefox and/or libxul crashes (due to problems with
regparm/stdcall calling conventions) on i386.

Reported by: multiple users on freebsd-current
PR: bin/187103

MFC 263048:

Repair recognition of "CC" as an alias for the C++ compiler, since it
was silently broken by upstream for a Windows-specific use-case.

Apparently some versions of CMake still rely on this archaic feature...

Reported by: rakuco

MFC 263049:

Garbage collect the old way of adding the libstdc++ include directories
in clang's InitHeaderSearch.cpp.  This has been superseded by David
Chisnall's commit in r255321.

Moreover, if libc++ is used, the libstdc++ include directories should
not be in the search path at all.  These directories are now only used
if you pass -stdlib=libstdc++.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263508 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMerge r262763, r262767, r262771, r262806 from head:
glebius [Fri, 21 Mar 2014 15:15:30 +0000 (15:15 +0000)]
Merge r262763, r262767, r262771, r262806 from head:
  - Remove rt_metrics_lite and simply put its members into rtentry.
  - Use counter(9) for rt_pksent (former rt_rmx.rmx_pksent). This
    removes another cache trashing ++ from packet forwarding path.
  - Create zini/fini methods for the rtentry UMA zone. Via initialize
    mutex and counter in them.
  - Fix reporting of rmx_pksent to routing socket.
  - Fix netstat(1) to report "Use" both in kvm(3) and sysctl(3) mode.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263478 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r263304:
kib [Fri, 21 Mar 2014 13:31:56 +0000 (13:31 +0000)]
MFC r263304:
Trim at EOL.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263470 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262408 (by ian):
dim [Fri, 21 Mar 2014 00:19:20 +0000 (00:19 +0000)]
MFC r262408 (by ian):

Eliminate an unused-var warning by wrapping #if 0 around some tables of
values that were probably entered "for completeness" from a datasheet, and
for all I know may be useful/necessary some day.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263456 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262393 (by ian):
dim [Thu, 20 Mar 2014 23:48:18 +0000 (23:48 +0000)]
MFC r262393 (by ian):

Fix a typo _IMX51_TZICRREG_H_ -> _IMX51_TZICREG_H_ (extra R)

git-svn-id: svn://svn.freebsd.org/base/stable/10@263455 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r260183: MFV r260154 + 260182:
delphij [Thu, 20 Mar 2014 00:28:53 +0000 (00:28 +0000)]
MFC r260183: MFV r260154 + 260182:

4369 implement zfs bookmarks
4368 zfs send filesystems from readonly pools

Illumos/illumos-gate@78f171005391b928aaf1642b3206c534ed644332

git-svn-id: svn://svn.freebsd.org/base/stable/10@263407 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r259850: MFV r258384:
delphij [Thu, 20 Mar 2014 00:24:35 +0000 (00:24 +0000)]
MFC r259850: MFV r258384:

2583 Add -p (parsable) option to zfs list

illumos/illumos-gate@43d68d68c1ce08fb35026bebfb141af422e7082e

git-svn-id: svn://svn.freebsd.org/base/stable/10@263405 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r256999 (smh):
delphij [Thu, 20 Mar 2014 00:10:58 +0000 (00:10 +0000)]
MFC r256999 (smh):

Added support for the 'zfs list -t snap' and 'zfs snap' aliases which are
available under Oracle Solaris 11.

This includes an update to the ZFS(8) man page to reflect all the
available alias (snap, umount, and recv).

Initial changes obtained from ZFS On Linux + fixes for man page and cmd
help:
https://github.com/zfsonlinux/zfs/commit/10b75496bb0cb7a7b8146c263164adc37f1d176a
https://github.com/zfsonlinux/zfs/commit/cf81b00a73fe47fdb21586ac1cc179b734540973

Obtained from:  https://github.com/zfsonlinux/zfs

git-svn-id: svn://svn.freebsd.org/base/stable/10@263403 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r260181:
delphij [Thu, 20 Mar 2014 00:05:23 +0000 (00:05 +0000)]
MFC r260181:

Fix build on platforms where atomic_swap_64 is not available.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263401 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r260157: MFV r260153:
delphij [Thu, 20 Mar 2014 00:01:19 +0000 (00:01 +0000)]
MFC r260157: MFV r260153:

4121 vdev_label_init should treat request as succeeded when pool
     is read only

illumos/illumos-gate@973c78e94bf9634782164382c9e291bf81161fa5

git-svn-id: svn://svn.freebsd.org/base/stable/10@263399 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r260150: MFV r259170:
delphij [Wed, 19 Mar 2014 23:55:03 +0000 (23:55 +0000)]
MFC r260150: MFV r259170:

4370 avoid transmitting holes during zfs send

4371 DMU code clean up

illumos/illumos-gate@43466aae47bfcd2ad9bf501faec8e75c08095e4f

NOTE: Make sure the boot code is updated if a zpool upgrade is
done on boot zpool.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263397 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r260141: MFV r258385:
delphij [Wed, 19 Mar 2014 23:50:13 +0000 (23:50 +0000)]
MFC r260141: MFV r258385:

(Note: this change is not applicable to FreeBSD and the file
is not included in build.  It's integrated for completeness).

4128 disks in zpools never go away when pulled

illumos/illumos-gate@39cddb10a31c1c2e66aed69e6871d09caa4c8147

git-svn-id: svn://svn.freebsd.org/base/stable/10@263395 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r260138: MFV r242733:
delphij [Wed, 19 Mar 2014 23:44:03 +0000 (23:44 +0000)]
MFC r260138: MFV r242733:

3306 zdb should be able to issue reads in parallel
3321 'zpool reopen' command should be documented in the man page
and help message

illumos/illumos-gate@31d7e8fa33fae995f558673adb22641b5aa8b6e1

FreeBSD porting notes: the kernel part of this changeset depends
on Solaris buf(9S) interfaces and are not really applicable for
our use.  vdev_disk.c is patched as-is to reduce diverge from
upstream, but vdev_file.c is left intact.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263393 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r259813 + r259813: MFV r258374:
delphij [Wed, 19 Mar 2014 23:36:12 +0000 (23:36 +0000)]
MFC r259813 + r259813: MFV r258374:

4171 clean up spa_feature_*() interfaces

4172 implement extensible_dataset feature for use by other zpool
features

illumos/illumos-gate@2acef22db7808606888f8f92715629ff3ba555b9

git-svn-id: svn://svn.freebsd.org/base/stable/10@263390 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r259860 (by mjacob):
dim [Wed, 19 Mar 2014 22:50:14 +0000 (22:50 +0000)]
MFC r259860 (by mjacob):

Harvest one no longer used constant string.

Remove another and place it into play in the
normally ifdef protected zone it would be used
int.

Noticed by: dim

git-svn-id: svn://svn.freebsd.org/base/stable/10@263384 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r258005: Merge upstream LLVM r192118:
emaste [Wed, 19 Mar 2014 20:46:02 +0000 (20:46 +0000)]
MFC r258005: Merge upstream LLVM r192118:

  Formally added an explicit enum for DWARF TLS support. No functionality
  change.

Sponsored by: DARPA, AFRL

git-svn-id: svn://svn.freebsd.org/base/stable/10@263378 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r258003: Merge upstream LLVM r182803:
emaste [Wed, 19 Mar 2014 19:31:21 +0000 (19:31 +0000)]
MFC r258003: Merge upstream LLVM r182803:

  [Mips] Add Mips specific dynamic table entry tags.

Sponsored by: DARPA, AFRL

git-svn-id: svn://svn.freebsd.org/base/stable/10@263374 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMerge r257485: install netpfil/pf includes.
glebius [Wed, 19 Mar 2014 13:37:51 +0000 (13:37 +0000)]
Merge r257485: install netpfil/pf includes.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263370 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r258897: Update LLDB to upstream r196322 snapshot
emaste [Wed, 19 Mar 2014 13:24:47 +0000 (13:24 +0000)]
MFC r258897: Update LLDB to upstream r196322 snapshot

  Upstream revisions of note:
  r196298 - Fix use of std::lower_bound
  r196322 - Fix log message for new invalidation checks

Sponsored by: DARPA, AFRL

git-svn-id: svn://svn.freebsd.org/base/stable/10@263369 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r258892: lldb: Threaded inferior support for FreeBSD
emaste [Wed, 19 Mar 2014 13:19:56 +0000 (13:19 +0000)]
MFC r258892: lldb: Threaded inferior support for FreeBSD

  This is in the process of being submitted to the upstream LLDB
  repository.  The thread list functionality is modelled in part on
  GDBRemoteCommunicationClient.

  LLDB bug pr16696 and code review D2267

Sponsored by: DARPA, AFRL

git-svn-id: svn://svn.freebsd.org/base/stable/10@263368 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r258884: Update LLDB to upstream r196259 snapshot
emaste [Wed, 19 Mar 2014 13:18:42 +0000 (13:18 +0000)]
MFC r258884: Update LLDB to upstream r196259 snapshot

Sponsored by: DARPA, AFRL

git-svn-id: svn://svn.freebsd.org/base/stable/10@263367 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r258873: Workaround lldb issue with main module base address
emaste [Wed, 19 Mar 2014 13:16:58 +0000 (13:16 +0000)]
MFC r258873: Workaround lldb issue with main module base address

  On FreeBSD lldb sometimes reloads the the main module's (executable's)
  symbols at the wrong address.  Work around this for now by explicitly
  reloading at base_address=0 when it happens.

  A proper fix is needed but early testers have reported this issue so
  this workaround should allow them to make further progress.

  http://llvm.org/bugs/show_bug.cgi?id=17880

Sponsored by: DARPA, AFRL

git-svn-id: svn://svn.freebsd.org/base/stable/10@263366 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r258098: Merge upstream LLDB r194487:
emaste [Wed, 19 Mar 2014 13:15:16 +0000 (13:15 +0000)]
MFC r258098: Merge upstream LLDB r194487:

  Log failure to restore thread state in ThreadPlanCallFunction::DoTakedown

  In order to help track down llvm.org/pr17226.

Sponsored by: DARPA, AFRL

git-svn-id: svn://svn.freebsd.org/base/stable/10@263365 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r258094: lldb: Correct a standalone debug file path
emaste [Wed, 19 Mar 2014 13:13:47 +0000 (13:13 +0000)]
MFC r258094: lldb: Correct a standalone debug file path

  For a file /bin/ls with a .gnu_debuglink entry of "ls.debug" the path
  should be /usr/lib/debug/bin/ls.debug, not /usr/lib/debug/bin/ls.

  ref: https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html

  Upstream defect pr17903 (http://llvm.org/pr17903)

Sponsored by: DARPA, AFRL

git-svn-id: svn://svn.freebsd.org/base/stable/10@263364 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r258054: Update LLDB to upstream r194122 snapshot
emaste [Wed, 19 Mar 2014 13:11:35 +0000 (13:11 +0000)]
MFC r258054: Update LLDB to upstream r194122 snapshot

  Inludes minor changes relative to upstream, for compatibility with
  FreeBSD's in-tree LLVM 3.3:

  - Reverted LLDB r191806, restoring use of previous API.
  - Reverted part of LLDB r189317, restoring previous enum names.
  - Work around missing LLVM r192504, using previous registerEHFrames API
    (limited functionality).
  - Removed PlatformWindows header include and init/terminate calls.

Sponsored by: DARPA, AFRL

git-svn-id: svn://svn.freebsd.org/base/stable/10@263363 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r263095:
kib [Wed, 19 Mar 2014 13:09:17 +0000 (13:09 +0000)]
MFC r263095:
Initialize paddr to handle the case of zero size.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263360 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r263092:
kib [Wed, 19 Mar 2014 13:04:16 +0000 (13:04 +0000)]
MFC r263092:
Do not vdrop() the tmpfs vnode until it is unlocked.  The hold
reference might be the last, and then vdrop() would free the vnode.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263359 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r263080:
kib [Wed, 19 Mar 2014 13:02:17 +0000 (13:02 +0000)]
MFC r263080:
Use correct types for sizeof() in the calculations for the malloc(9) sizes.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263357 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r263079:
kib [Wed, 19 Mar 2014 12:55:57 +0000 (12:55 +0000)]
MFC r263079:
The auio structure is only initialized when the vnode is symlink,
avoid reading from it otherwise.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263354 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMerge r259562,r259566,r259638,r259645,r260124 by melifaro:
glebius [Wed, 19 Mar 2014 09:36:29 +0000 (09:36 +0000)]
Merge r259562,r259566,r259638,r259645,r260124 by melifaro:

  Switch netstat -rn to use standard API for retrieving list
  of routes instead of peeking inside in-kernel radix via kget.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263335 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMerge r262747: remove extraneous ifa_ref()/ifa_free().
glebius [Wed, 19 Mar 2014 09:23:58 +0000 (09:23 +0000)]
Merge r262747: remove extraneous ifa_ref()/ifa_free().

git-svn-id: svn://svn.freebsd.org/base/stable/10@263334 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r263105, r263106:
gjb [Wed, 19 Mar 2014 01:43:03 +0000 (01:43 +0000)]
MFC r263105, r263106:

r263105:
  Add hyperv manual pages provided by Microsoft, formatted
  for FreeBSD standards.  Very little, if any, content was
  modified.

r263106:
  Connect the hyperv driver manuals to the build.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@263330 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r263021:
bdrewery [Wed, 19 Mar 2014 00:53:24 +0000 (00:53 +0000)]
MFC r263021:

  Support Last-Modified behind proxies which return UTC instead of GMT.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263325 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMerge r263091: fix mbuf flags clash that lead to failure of operation
glebius [Tue, 18 Mar 2014 16:56:05 +0000 (16:56 +0000)]
Merge r263091: fix mbuf flags clash that lead to failure of operation
of IPSEC and packet filters.

PR: kern/185876
PR: kern/186755

git-svn-id: svn://svn.freebsd.org/base/stable/10@263307 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262741:
mav [Tue, 18 Mar 2014 14:18:45 +0000 (14:18 +0000)]
MFC r262741:
Do not retry on CAM_FUNC_NOTAVAIL error, but return immediately.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263299 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262754: MFV r253848 (mm):
delphij [Tue, 18 Mar 2014 00:59:49 +0000 (00:59 +0000)]
MFC r262754: MFV r253848 (mm):

Update vendor/xz from v5.0 branch to post-5.0.5

git-svn-id: svn://svn.freebsd.org/base/stable/10@263285 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262325:
markj [Tue, 18 Mar 2014 00:55:19 +0000 (00:55 +0000)]
MFC r262325:
Print a backtrace if the SDT(9) stub gets called so that there's at least
some hope of figuring out how it happened.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263283 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r259535:
markj [Tue, 18 Mar 2014 00:29:33 +0000 (00:29 +0000)]
MFC r259535:
The fasttrap fork handler is responsible for removing tracepoints in the
child process that were inherited from its parent. However, this should
not be done in the case of a vfork, since the fork handler ends up removing
the tracepoints from the shared vm space, and userland DTrace probes in the
parent will no longer fire as a result.

Now the child of a vfork may trigger userland DTrace probes enabled in its
parent, so modify the fasttrap probe handler to handle this case and handle
the child process in the same way that it would handle the traced process.
In particular, if once traces function foo() in a process that vforks, and
the child calls foo(), fasttrap will treat this call as having come from the
parent. This is the behaviour of the upstream code.

While here, add #ifdef guards to some code that isn't present upstream.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263281 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r263120:
dim [Mon, 17 Mar 2014 20:42:45 +0000 (20:42 +0000)]
MFC r263120:

Pull in r201021 from upstream libc++ trunk:

  Fix for PR18735 - self-assignment for map/multimap gives incorrect
  results in C++03

(Please note: that is an LLVM PR identifier, not a FreeBSD one.)

Reported by: rakuco

git-svn-id: svn://svn.freebsd.org/base/stable/10@263272 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262676:
delphij [Mon, 17 Mar 2014 19:09:00 +0000 (19:09 +0000)]
MFC r262676:

All callers of static method load_nvlist() in spa.c handles error case,
so there is no reason to assert that we won't hit an error.  Instead,
just return that error to caller and have the upper layer handle it.

Obtained from: FreeNAS
Reported by: rodrigc
Reviewed by: Matthew Ahrens

git-svn-id: svn://svn.freebsd.org/base/stable/10@263269 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262972:
hselasky [Mon, 17 Mar 2014 06:38:40 +0000 (06:38 +0000)]
MFC r262972:
Ignore USB keyboard driver calls from critical sections.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263261 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r263107:
davidxu [Mon, 17 Mar 2014 05:03:53 +0000 (05:03 +0000)]
MFC r263107:

To avoid missing a chance to cancel thread, call _pthread_testcancel at the
beginning of _sem_timedwait.

Submitted by: Eric van Gyzen &lt; eric at vangyzen dot net &gt;

git-svn-id: svn://svn.freebsd.org/base/stable/10@263258 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r263153, r263154:
kevlo [Mon, 17 Mar 2014 02:14:13 +0000 (02:14 +0000)]
MFC r263153, r263154:

- Similar to r246614, fix panic on removing urtwn(4).  It happens because
  nodes are freed after the adapter is gone.

- Reset the bit of the R92C_MCUFWDL associated with checksum report
  before loading firmware page.  It may fix this problem:
  "urtwn0: timeout waiting for checksum report"

git-svn-id: svn://svn.freebsd.org/base/stable/10@263256 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoPull in r192123 from upstream llvm trunk (by Benjamin Kramer):
dim [Sun, 16 Mar 2014 16:33:25 +0000 (16:33 +0000)]
Pull in r192123 from upstream llvm trunk (by Benjamin Kramer):

  X86: Fix type check. Just because an integer type is illegal doesn't
  mean it's i64.

  Fixes PR17495, where an i24 triggered this code. It's intended to
  optimize i64 loads on 32 bit x86.

Fixes "Cannot select" fatal errors when building the audio/jack port
with ALSA support turned on.

This is a direct commit to stable/9 and stable/10, since head already
has the commit as part of an upgrade to llvm/clang 3.4.

Reported by: Radim Kolar <hsn@sendmail.cz> via http://llvm.org/bugs/

git-svn-id: svn://svn.freebsd.org/base/stable/10@263247 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262663:
hselasky [Sat, 15 Mar 2014 18:19:09 +0000 (18:19 +0000)]
MFC r262663:
- Make pointer easier to control when moving slowly.
- Increase chance of vertical scrolling as vertical scrolling is used more often.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263208 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r261421
jhibbits [Sat, 15 Mar 2014 00:23:35 +0000 (00:23 +0000)]
MFC r261421

Add driver for the ADT7460/ADT7467 fan controller found in later PowerBooks
and iBooks.  Original work by andreast.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263197 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r261422
jhibbits [Fri, 14 Mar 2014 16:42:20 +0000 (16:42 +0000)]
MFC r261422

Make gas accept any PowerPC instruction by default.  This is a local change,
and will not be submitted upstream.

Discussed with:       nwhitehorn,rdivacky

git-svn-id: svn://svn.freebsd.org/base/stable/10@263177 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC
hselasky [Fri, 14 Mar 2014 09:42:57 +0000 (09:42 +0000)]
MFC
Sync usb.conf file to head branch.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263164 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262550, r262551 and r262554:
hselasky [Fri, 14 Mar 2014 09:11:09 +0000 (09:11 +0000)]
MFC r262550, r262551 and r262554:
Add support for kqfilter to USB character devices.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263162 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262886:
mav [Fri, 14 Mar 2014 07:47:28 +0000 (07:47 +0000)]
MFC r262886:
Fix support for increased logical sector size (4K-native drives).

- Logical sector size is measured in words, not bytes.
- If physical sector is not bigger then logical sector, it does not mean
it should be set equal to 512 bytes, but set to logical sector.

PR: misc/187269
Submitted by: Ravi Pokala <rpokala@panasas.com>

git-svn-id: svn://svn.freebsd.org/base/stable/10@263156 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262547
jhibbits [Fri, 14 Mar 2014 04:35:18 +0000 (04:35 +0000)]
MFC r262547

Fix callchain capture for hwpmc(4).  While here, some style(9) fixes, too.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263151 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262530
jhibbits [Fri, 14 Mar 2014 02:37:07 +0000 (02:37 +0000)]
MFC r262530

Add missing file to Makefile

git-svn-id: svn://svn.freebsd.org/base/stable/10@263132 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262577: MFV r262570:
delphij [Fri, 14 Mar 2014 01:09:42 +0000 (01:09 +0000)]
MFC r262577: MFV r262570:

4626 libzfs memleak in zpool_in_use()

git-svn-id: svn://svn.freebsd.org/base/stable/10@263127 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262572:
delphij [Fri, 14 Mar 2014 00:57:32 +0000 (00:57 +0000)]
MFC r262572:

Get rid of the 'chan' from softc structure and use the latter
directly as sleep channel.

PR: kern/174684
Submitted by: jmg

git-svn-id: svn://svn.freebsd.org/base/stable/10@263125 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r261342
jhibbits [Fri, 14 Mar 2014 00:12:53 +0000 (00:12 +0000)]
MFC r261342

Add hwpmc(4) support for the PowerPC 970 class processors, direct events.
This also fixes asserts on removal of the module for the mpc74xx.

The PowerPC 970 processors have two different types of events: direct events
and indirect events.  Thus far only direct events are supported.  I included
some documentation in the driver on how indirect events work, but support is
for the future.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263122 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262540:
eadler [Thu, 13 Mar 2014 04:25:59 +0000 (04:25 +0000)]
MFC r262540:
r262540 | eadler | 2014-02-26 19:52:34 -0500 (Wed, 26 Feb 2014) | 2 lines

I had some unrelated (wrong) changes to makewhatis.  Undo them.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263104 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262539:
eadler [Thu, 13 Mar 2014 03:42:00 +0000 (03:42 +0000)]
MFC r262539:
linprocfs: add support for /sys/kernel/random/uuid

PR: kern/186187

git-svn-id: svn://svn.freebsd.org/base/stable/10@263101 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262220:
bdrewery [Thu, 13 Mar 2014 01:12:27 +0000 (01:12 +0000)]
MFC r262220:

  Add missing Save Cursor support for VT520

PR: conf/174937

git-svn-id: svn://svn.freebsd.org/base/stable/10@263098 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMerge r256514:
glebius [Wed, 12 Mar 2014 11:09:17 +0000 (11:09 +0000)]
Merge r256514:
  - While we are spreading the counter(9) across network stack, more userland
  tools would need to know about the counter_u64_t type. Allow to include
  sys/counter.h from userspace.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263088 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoBulk sync of pf changes from head, in attempt to fixup broken build I
glebius [Wed, 12 Mar 2014 10:45:58 +0000 (10:45 +0000)]
Bulk sync of pf changes from head, in attempt to fixup broken build I
made in r263029.

Merge r257186,257215,257349,259736,261797.

These changesets split pfvar.h into several smaller headers and make
userland utilities to include only some of them.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263086 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262732:
hselasky [Wed, 12 Mar 2014 08:32:01 +0000 (08:32 +0000)]
MFC r262732:
Add new quirk.

PR:             usb/187188

git-svn-id: svn://svn.freebsd.org/base/stable/10@263076 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262795:
hselasky [Wed, 12 Mar 2014 08:25:25 +0000 (08:25 +0000)]
MFC r262795:
- Temporary fix for race in RUN driver which can
cause freed memory to be accessed.
- Properly lock callout_reset()'s.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263073 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262477:
hselasky [Wed, 12 Mar 2014 08:23:27 +0000 (08:23 +0000)]
MFC r262477:
Updates for WSP driver.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263072 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC: r261710
brueffer [Wed, 12 Mar 2014 08:15:15 +0000 (08:15 +0000)]
MFC: r261710

Only count table lookups when we're actually processing packets.

PR: 183462
Submitted by: Sven-Thorsten Dietrich <thebigcorporation at gmail.com>
Reviewed by: bms

git-svn-id: svn://svn.freebsd.org/base/stable/10@263069 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262789, r262847:
mav [Wed, 12 Mar 2014 07:27:05 +0000 (07:27 +0000)]
MFC r262789, r262847:
Remove custom bus scanner code and fix use of CAM's default scanner.

This fixes kernel panic during boot, caused by incompatibility of recent
CAM locking changes and this bus scanner code.

Submitted by: Microsoft

git-svn-id: svn://svn.freebsd.org/base/stable/10@263065 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262417, r262439, r262454, r262455 and r262478:
hselasky [Wed, 12 Mar 2014 07:15:41 +0000 (07:15 +0000)]
MFC r262417, r262439, r262454, r262455 and r262478:
- Several updates and improvements to ATP driver.
- Start effort merging WSP and ATP driver.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263063 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC of 263041, tzdata2014a:
edwin [Tue, 11 Mar 2014 20:47:01 +0000 (20:47 +0000)]
MFC of 263041, tzdata2014a:

- Fix historical info about asia/Zion, Ukraine
- Fiji starts DST at 02:00 instead of 03:00
- Turkey will move to DST at 31 March this year.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263046 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMerge r261882, r261898, r261937, r262760, r262799:
glebius [Tue, 11 Mar 2014 15:43:06 +0000 (15:43 +0000)]
Merge r261882, r261898, r261937, r262760, r262799:
  Once pf became not covered by a single mutex, many counters in it became
  race prone. Some just gather statistics, but some are later used in
  different calculations.

  A real problem was the race provoked underflow of the states_cur counter
  on a rule. Once it goes below zero, it wraps to UINT32_MAX. Later this
  value is used in pf_state_expires() and any state created by this rule
  is immediately expired.

  Thus, make fields states_cur, states_tot and src_nodes of struct
  pf_rule be counter(9)s.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263029 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC 261030:
jhb [Tue, 11 Mar 2014 15:28:41 +0000 (15:28 +0000)]
MFC 261030:
Similar to cap_mkdb(1), add endianness support to services_mkdb(1)
to support cross-builds once this is invoked during releases.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263028 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMerge r261029: remove NULL pointer dereference.
glebius [Tue, 11 Mar 2014 15:20:47 +0000 (15:20 +0000)]
Merge r261029: remove NULL pointer dereference.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263027 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMerge r261028: fix resource leak and simplify code for DIOCCHANGEADDR.
glebius [Tue, 11 Mar 2014 15:19:11 +0000 (15:19 +0000)]
Merge r261028: fix resource leak and simplify code for DIOCCHANGEADDR.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263026 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMerge r261169: Fix compilation with IGB_LEGACY_TX defined.
glebius [Tue, 11 Mar 2014 15:17:04 +0000 (15:17 +0000)]
Merge r261169: Fix compilation with IGB_LEGACY_TX defined.

PR: 185909

git-svn-id: svn://svn.freebsd.org/base/stable/10@263025 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r257847, r260243: Update aacraid to version 3.2.5.
achim [Tue, 11 Mar 2014 14:59:34 +0000 (14:59 +0000)]
MFC r257847, r260243: Update aacraid to version 3.2.5.

Approved by: emaste (co-mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/10@263024 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC 261243:
jhb [Tue, 11 Mar 2014 14:33:42 +0000 (14:33 +0000)]
MFC 261243:
Some BIOSes incorrectly use standard memory resource ranges to list
the memory ranges that they decode for downstream devices rather than
creating ResourceProducer range resource entries.  The result is that
we allocate the full range to the PCI root bridge device causing
allocations in child devices to all fail.

As a workaround, ignore any standard memory resources on a PCI root
bridge device.  It is normal for a PCI root bridge to allocate an I/O
resource for the I/O ports used for PCI config access, but I have not
seen any PCI root bridges that legitimately allocate a memory resource.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263022 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agor262400,r262401,r262418
bapt [Tue, 11 Mar 2014 13:16:03 +0000 (13:16 +0000)]
r262400,r262401,r262418

Sync pkg(7) with head

git-svn-id: svn://svn.freebsd.org/base/stable/10@263020 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC: r262398,r262399,r262410,r262975
bapt [Tue, 11 Mar 2014 13:06:09 +0000 (13:06 +0000)]
MFC: r262398,r262399,r262410,r262975

Import libucl into head

UCL is heavily infused by nginx configuration as the example of a convenient
configuration system. However, UCL is fully compatible with JSON format and is
able to parse json files.

UCL is used by pkg(8) for its configuration file as well for the manifest format
in packages, it will be used in base for the pkg boostrap (signature checking
and configuration file parsing.)

libucl has been developped and is maintained by vsevolod@

git-svn-id: svn://svn.freebsd.org/base/stable/10@263019 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262020:
jhay [Tue, 11 Mar 2014 12:58:45 +0000 (12:58 +0000)]
MFC r262020:

Make it possible to use the env kernel config file option for AVILA
and CAMBRIA boards that does not use loader to load the kernel. This
is basically how it was done for i386. This way tunables can also be
set. For example in config file:

env "/conf/AVILA.env"

And in AVILA.env:

vfs.unmapped_buf_allowed=0

git-svn-id: svn://svn.freebsd.org/base/stable/10@263017 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262036
jhay [Tue, 11 Mar 2014 12:04:58 +0000 (12:04 +0000)]
MFC r262036

etcupdate should use the src tree from where the release is built, not
the default (/usr/src) tree.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263015 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262822:
kevlo [Tue, 11 Mar 2014 07:33:33 +0000 (07:33 +0000)]
MFC r262822:

Fix a logic error when enabling MAC.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263000 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262930
rpaulo [Tue, 11 Mar 2014 05:58:52 +0000 (05:58 +0000)]
MFC r262930
 Call ieee80211_dump_pkt() based on IFF_DUMPPKTS().

git-svn-id: svn://svn.freebsd.org/base/stable/10@262998 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC: r262746, r262748, r262750, r262752
jkim [Mon, 10 Mar 2014 20:47:24 +0000 (20:47 +0000)]
MFC: r262746, r262748, r262750, r262752

Move fpusave() wrapper for suspend hander to sys/amd64/amd64/fpu.c.

git-svn-id: svn://svn.freebsd.org/base/stable/10@262981 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r261535:
markj [Mon, 10 Mar 2014 02:31:50 +0000 (02:31 +0000)]
MFC r261535:
Add support for MegaRAID Fury cards. The main change needed to boot from a
9341-4i controller was to ensure that scatter/gather lists are ended with
an end-of-list marker. Both the mrsas and Linux megaraid_sas drivers use
this marker with Invader cards as well, so we do the same thing, though
it is apparently not strictly necessary.

PR: 187312

git-svn-id: svn://svn.freebsd.org/base/stable/10@262967 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262890:
eadler [Mon, 10 Mar 2014 00:53:37 +0000 (00:53 +0000)]
MFC r262890:
libc man pages: Remove reference to non-existent FreeBSD Security
Architecture

git-svn-id: svn://svn.freebsd.org/base/stable/10@262965 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r262689:
ache [Sun, 9 Mar 2014 23:47:34 +0000 (23:47 +0000)]
MFC r262689:

Add fetch and patch to .PHONY and .NOTMAIN only if PORTNAME is defined.
Unconditional addition cause real fetch(1) and patch(1) programs are
builded every time.

git-svn-id: svn://svn.freebsd.org/base/stable/10@262964 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f