summaryrefslogtreecommitdiffstats
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* MFC r291891:ngie2015-12-131-16/+21
| | | | | | | | Use .Fx instead of explicitly spelling out FreeBSD Fix several warnings reported by igor Sponsored by: EMC / Isilon Storage Division
* MFC r291896:ngie2015-12-131-23/+0
| | | | | | | | | | | | Remove unused atf.test.mk variables - ATF_BUILD_CC - ATF_BUILD_CPP - ATF_BUILD_CXX - ATF_SHELL - ATF_PREFIX Sponsored by: EMC / Isilon Storage Division
* MFC r291238:kevlo2015-12-0512-11/+28
| | | | | | Add dependency to uether. Reviewed by: hselasky
* MFC r290083:bdrewery2015-12-0411-12/+12
| | | | Use more appropriate ${SHAREDIR} rather than /usr/share.
* MFC r289393:bdrewery2015-12-0413-0/+20
| | | | Add more SUBDIR_PARALLEL.
* MFC r289669:bdrewery2015-12-041-4/+6
| | | | Fix building in a directory with SUBDIRs and SUBDIR_PARALLEL.
* MFC r289289,r290181:bdrewery2015-12-041-3/+6
| | | | | | | | | r289289: Fix support for building a PROG_CXX, and PROG, directly. r290181: Unbreak bsd.progs.mk with PROGS (but not PROGS_CXX) and when invoking the "one of many" targets, e.g. `make hello_world`, where hello_world is a C program
* MFC r289286,r291338,r291340:bdrewery2015-12-041-0/+22
| | | | | | | | | | r289286: Follow-up r288218 by ensuring common objects are built before recursing. r291338: Fix the "common object" handling to not depend on ".o" if SRCS only contains headers. r291340: Follow-up r291338 to handle .d, .y and .l files better as well.
* MFC r289870,r289871:bdrewery2015-12-042-0/+3
| | | | | | | r289870: Add bsd.crunchgen.mk to bsd.README. r289871: Sort properly.
* MFC r289736:bdrewery2015-12-041-1/+8
| | | | Document that we use {} for variable expansion.
* MFC r289375:bdrewery2015-12-041-2/+2
| | | | Fix wrong use of .for; the iteration variable is not used in the loop.
* MFC r289374:bdrewery2015-12-041-1/+0
| | | | Remove excess .else
* MFC r289360,r289361,r289378,r289430,r289605,r289676:bdrewery2015-12-041-1/+1
| | | | | | | | | | | | | | | | | | | r289360: Add temporary workaround for .MAKE being applied to _worldtmp, since r251750. r289361: Consider top-level targets to be .PHONY as bmake won't build them otherwise if a file with the same name is found in the directory. r289378: Mark sub-make targets as .MAKE and .PHONY to handle -n and always-build properly. r289430: Remove .MAKE from targets that do more than just run sub-makes, such as calling rm or mtree. r289605: Add missing .PHONY for parallel subdir target. r289676: Add some missing '+', .MAKE, and .PHONY modifiers.
* MFC r284527,r284528,r284608,r285219,r291166,r291167:ngie2015-12-041-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r284527 (by imp): Update style.9 to reflect consensus on developer's mailing list allowing redundant braces. Differential Revision: https://reviews.freebsd.org/D2842 r284528 (by imp): Bump date. Submitted by: Xin Li r284608 (by imp): Back out contested change until dispute is resolved. This proved to be more contentious than I expected. r285219 (by imp): The results of the vote are in. This reflects that vote. Single line statements inside of braces is recognized as an acceptable style. http://reviews.freebsd.org/V3 As always, this isn't license for wholesale change, etc. r291166: Recommend cc -Wall instead of gcc -Wall r291167: Bump .Dd
* MFC r285118:ngie2015-12-011-0/+1
| | | | | | | | | | | | | r285118 (by jmmv): Add missing shebang Plain test programs are not preprocessed by the build system (as opposed to ATF test cases, which automatically gain a shebang pointing at atf-sh), so we must take care of providing the shebang ourselves. I'm not sure why this was not causing problems with Kyua 0.11, but the upcoming 0.12 release chokes on this particular issue.
* MFC r291221: Remove "disable" hint, which duplicates system-wide "disabled".mav2015-11-301-2/+0
|
* MFC r291209: Fix target mode support for Qlogic 2200 FC adapters.mav2015-11-301-18/+10
| | | | | Now target mode works for all supported FC adapters except ancient 2100, which is not tested.
* MFC r291188: Rip off target mode support for parallel SCSI QLogic adapters.mav2015-11-301-50/+34
| | | | | | | Hacks to enable target mode there complicated code, while didn't really work. And for outdated hardware fixing it is not really interesting. Initiator mode tested with Qlogic 1080 adapter is still working fine.
* MFC r290138, r290139: Some updates to isp(4) manual page.mav2015-11-301-29/+27
|
* MFC r275374: Document ISP 2532 support and hint.isp.0.vports tunable.mav2015-11-301-1/+5
|
* MFC r291126:mav2015-11-281-0/+12
| | | | | | | | | | Add API to obtain primary enclosure name and ID for /dev/sesX devices. sesX device number may change between reboots, so to properly identify the instance we need more data. Name and ID reported here may mach ones reported by SCSI device, but that is not really required by specs. Sponsored by: iXsystems, Inc.
* MFC r291072, r291168 and r291169:hselasky2015-11-232-0/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | Add the mlx5 and mlx5en modules to the i386 and amd64 kernel builds by default and add a manual page for mlx5en. The mlx5 module contains shared code for both infiniband and ethernet. The mlx5en module contains specific code for ethernet functionality only. A mlx5ib module is in the works for infiniband support. Supported hardware: - ConnectX-4: 10/20/25/40/50/56/100Gb/s speeds. - ConnectX-4 LX: 10/25/40/50Gb/s speeds (low power consumption) Refer to the mlx5en(4) manual page for a comprehensive list. The team porting the mlx5 driver(s) to FreeBSD: - Hans Petter Selasky <hselasky@freebsd.org> - Oded Shanoon <odeds@mellanox.com> - Meny Yossefi <menyy@mellanox.com> - Shany Michaely <shanim@mellanox.com> - Shahar Klein <shahark@mellanox.com> - Daria Genzel <dariaz@mellanox.com> - Mark Bloch <markb@mellanox.com> Differential Revision: https://reviews.freebsd.org/D4163 Sponsored by: Mellanox Technologies
* MFC r290870:ngie2015-11-231-2/+2
| | | | | | Add NO_WERROR and WARNS to PROG_OVERRIDE_VARS for bsd.prog.mk compatibility Sponsored by: EMC / Isilon Storage Division
* MFC r290400asomers2015-11-191-7/+4
| | | | Update authors' contact info and fix grammar bugs.
* MFC r289195:ngie2015-11-151-1/+7
| | | | | | | | | | | | | | | | | | | | | | Integrate the tests from lib/libarchive, usr.bin/cpio, and usr.bin/tar in to the FreeBSD test suite functional_test.sh was ported from bin/sh/tests/functional_test.sh, as a small wrapper around libarchive_test, bsdcpio_test, and bsdtar_test provided by upstream. A handful of testcases in lib/libarchive/tests have been disabled as they were failing when run with kyua test (see BROKEN_TESTS in lib/libarchive/tests/Makefile) As a sidenote: this removes the check/test targets from the Makefiles as they don't match the pattern used in the rest of the FreeBSD test suite. Sponsored by: EMC / Isilon Storage Division Conflicts: lib/libarchive/test usr.bin/cpio/test
* MFC r290659,r290660:ngie2015-11-152-4/+10
| | | | | | | | | | | | | | | | | | | r290659: - Move ng_bluetooth.4 under MK_BLUETOOTH != no - Move all section 5 bluetooth manpages under MK_BLUETOOTH != no PR: 193260 Reported by: Philippe Michel <philippe.michel7@sfr.fr> Sponsored by: EMC / Isilon Storage Division r290660: Move the MK_BLUETOOTH block down below the architecture specific sections by the other generic options PR: 193260 Sponsored by: EMC / Isilon Storage Divisions
* MFC r290428:bdrewery2015-11-141-1/+1
| | | | remove \, it confuses things.
* MFC 290414,290415:jhb2015-11-142-3/+77
| | | | | | | | | | | | | | | | | Additional PCI helper functions. 290414: Add helper routines for PCI device drivers to read, write, and modify PCI-Express capability registers (that is, PCI config registers in the standard PCI config space belonging to the PCI-Express capability register set). Note that all of the current PCI-e registers are either 16 or 32-bits, so only widths of 2 or 4 bytes are supported. 290415: Add a new helper function for PCI devices to locate the upstream PCI-express root port of a given PCI device.
* MFC r290450:smh2015-11-131-1/+3
| | | | | | Add sysctl to control LACP strict compliance default Sponsored by: Multiplay
* MFC r289913,r289916:ngie2015-11-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | r289913: Use 't' (bits) not 'i' (bytes) for describing MRIE (aka "Method of Reporting Informational Exceptions") in the SCSI mode database as the field described in X3T10/94-190 (revision 4; page 2, table 1) [1.] is 4 bits wide, not 4 bytes wide 1. http://ftp.t10.org/ftp/t10/document.94/94-190r4.pdf Bug 200619 Reported by: Michael Baptist <mbaptist@isilon.com> Submitted by: Lars Skodje <lskodje@isilon.com> Sponsored by: EMC / Isilon Storage Division r289916: Limit RESOLUTION_MAX to INT_MAX, not UINT_MAX (all spelled out) so the mode value isn't always clipped to -1 when (resolution * size) == 32, which would have been the case with values => {4i,32b,32t}. This seems to have been broken in r64382. PR: 200619 Reported by: Michael Baptist Submitted by: Lars Skodje Sponsored by: EMC / Isilon Storage Division
* MFC r289229:ngie2015-11-011-3/+3
| | | | | | | | | Replace references to /dev/acd0 with /dev/cd0 atapicd(4) was replaced by cd(4) with the atacam work done by mav@ and then removed in r249083 X-MFC to: stable/10
* MFC r289038,r289041:delphij2015-10-296-78/+78
| | | | | | | | | | | | | | | | | | | | | | | | | Add encoding for mime-types. Fix short month names and replace %b with %_m in date_fmt for Chinese locales. When using a Chinese locale, such as zh_TW.UTF-8 or zh_CN.UTF-8, nl_langinfo(ABMON_*) only returned numbers. For instance, nl_langinfo(ABMON_1) returns 1, nl_langinfo(ABMON_2) returns 2, and so on. This causes problems in applications that put the short month name and the day of the month together. For example, 'Apr 14' in English becomes '414日' in Chinese on the top bar of GNOME Shell. This problem may be resolved by appending '月' to all short month names and replacing %b with %_m in date_fmt. ja_JP.UTF-8 already does this, and this matches the en_US.ISO8859-1 behavior, which returns 'Oct'. The GNU C Library also returns values with '月' appended. PR: 199441 Submitted by: Ting-Wei Lan <lantw44 gmail com>
* MFC: r288419brueffer2015-10-261-5/+3
| | | | Join excessive split lines.
* Disable SSE in libthrvangyzen2015-10-261-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clang emits SSE instructions on amd64 in the common path of pthread_mutex_unlock. If the thread does not otherwise use SSE, this usage incurs a context-switch of the FPU/SSE state, which reduces the performance of multiple real-world applications by a non-trivial amount (3-5% in one application). Instead of this change, I experimented with eagerly switching the FPU state at context-switch time. This did not help. Most of the cost seems to be in the read/write of memory--as kib@ stated--and not in the #NM handling. I tested on machines with and without XSAVEOPT. One counter-argument to this change is that most applications already use SIMD, and the number of applications and amount of SIMD usage are only increasing. This is absolutely true. I agree that--in general and in principle--this change is in the wrong direction. However, there are applications that do not use enough SSE to offset the extra context-switch cost. SSE does not provide a clear benefit in the current libthr code with the current compiler, but it does provide a clear loss in some cases. Therefore, disabling SSE in libthr is a non-loss for most, and a gain for some. I refrained from disabling SSE in libc--as was suggested--because I can't make the above argument for libc. It provides a wide variety of code; each case should be analyzed separately. https://lists.freebsd.org/pipermail/freebsd-current/2015-March/055193.html Suggestions from: dim, jmg, rpaulo Sponsored by: Dell Inc.
* MFC r289451:ngie2015-10-261-1/+1
| | | | | | | | | | | Install share/zoneinfo in a deterministic way by sorting the results from find This helps produce deterministic METALOG output PR: 200674 Submitted by: Fabian Keil <fk@fabiankeil.de> Reviewed by: emaste Obtained from: ElectroBSD
* MFC r288295,r288298:ngie2015-10-252-7/+0
| | | | | | | | | | | | | | | | r288295: Posthumously remove all references to MFREE(9) The macro was removed in r90227 Sponsored by: EMC / Isilon Storage Division r288298: Remove MLINKS to more non-existent mbuf(9) macros Sponsored by: EMC / Isilon Storage Division
* Regen src.conf(5) after r289959ngie2015-10-251-7/+2
|
* MFC r286822:ngie2015-10-251-1/+0
| | | | | | | Reap MK_SYSINSTALL It's no longer in use in the tree (most likely missed when sade/sysinstall were removed)
* MFC r284405:ngie2015-10-251-83/+1
| | | | | | Remove ALLOW_DEPRECATED_ATF_TOOLS/ATFFILE support from atf.test.mk The legacy atf tools were removed in atf 0.20
* MFC r289146:mav2015-10-251-11/+20
| | | | | | | | | Make delete method set via kern.cam.da.X.delete_method persistent. This allows to set delete method via tunable, before device capabilities are known. Also allow ZERO method for devices not reporting LBP, if user explicitly requests it -- it may be useful if storage supports compression and WRITE SAME, but does not support UNMAP.
* MFC r288273:hselasky2015-10-131-3/+4
| | | | | | Fix spelling. PR: 203249
* Revert r289043.bdrewery2015-10-081-4/+0
| | | | | r284408 was marked for MFC but is not safe for stable/10 yet due to failing in bin/sh/tests.
* MFC r288201:bdrewery2015-10-081-1/+1
| | | | Don't recurse with cleanobj.
* MFC r288160:bdrewery2015-10-082-2/+18
| | | | Document bsd.progs.mk and add more variables overrides.
* MFC r288158:bdrewery2015-10-083-25/+12
| | | | Fix most cases of bsd.progs.mk running duplicate or missing commands.
* Direct commit to fix usage with fmake.bdrewery2015-10-082-0/+13
| | | | | | fmake does not have :tW, so use some clever :Q tricks to achieve the same result. This won't work if PATH actually contains spaces, but it's better than not working at all.
* MFC r288271:bdrewery2015-10-082-0/+95
| | | | Document bus_get_resource(9).
* MFC r284408:bdrewery2015-10-081-0/+4
| | | | Ensure TESTSDIR is defined before bsd.test.mk is .include'd
* MFC r288179:bdrewery2015-10-081-0/+7
| | | | | Fix running make in src directories without a Makefile giving confusing errors.
* MFC r284915:hselasky2015-10-082-24/+78
| | | | | | | | | | | | | | | | | Make the system queue header file fully usable within C++ programs by adding macros to define class lists. This change is backwards compatible for all use within C and C++ programs. Only C++ programs will have added support to use the queue macros within classes. Previously the queue macros could only be used within structures. The queue.3 manual page has been updated to describe the new functionality and some alphabetic sorting has been done while at it. Differential Revision: https://reviews.freebsd.org/D2745 PR: 200827 (exp-run)
OpenPOWER on IntegriCloud