summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ixl(4): Remove unsupported device IDs.erj2016-02-191-3/+0
| | | | | | | | | There is no official support for 20G SKUs on FreeBSD, and the KX_A device ID was never used. Differential Revision: https://reviews.freebsd.org/D5204 Reviewed by: sbruno, jeffrey.e.pieper@intel.com Sponsored by: Intel Corporation
* DIRDEPS_BUILD: Enable the post-build footer/stats display.bdrewery2016-02-191-0/+1
| | | | | | There is no real downside to this and it is useful to have enabled. Sponsored by: EMC / Isilon Storage Division
* ixl(4): Fix two important RSS bugs.erj2016-02-191-2/+12
| | | | | | | | | | | | | - Change tc_mapping field to assign 64 queues instead of 16 to the PF's VSI; add comments to describe how this is done. - Set hash lut size to 512 when setting filter control; the lut size defaults to 128 if this isn't set. Differential Revision: https://reviews.freebsd.org/D5203 Reviewed by: gallatin Tested by: jeffrey.e.pieper@intel.com Sponsored by: Intel Corporation
* sh: Rework code to remove '\0' from shell input.jilles2016-02-193-28/+37
| | | | | This fixes bugs where '\0' was not removed correctly and speeds up the parser.
* Modified the use of bxe_grc_dump() function so that it can be invoked ↵davidcs2016-02-192-42/+56
| | | | | | | | directly at any potential error path, where a fwdump is needed. The fwdump (a.k.a grcdump) is stored in a driver buffer. The sysctl grcdump_done indicates if a fwdump was taken and waiting to be retrieved. The sysctl trigger_grcdump can be used to manually trigger a fwdump. MFC after:5 days
* qlxgb: fix mismatch.pfg2016-02-191-1/+2
| | | | | | Found by: PVS Static Analysis Reviewed by: davidcs MFC after: 1 month
* sh: Add tests for comments in sh -c.jilles2016-02-193-0/+9
|
* Fix syntax error introduced in previous commit where I removed onese2016-02-191-1/+1
| | | | | character to few. I should have waited for the kernel compile to finish, even though the change seemed so trivial.
* Remove redundant check for "(dinfo != NULL)", it has already been performedse2016-02-191-3/+3
| | | | | | as the first part of this complex loop conditional. Found by: PVS Static Analysis
* Ext2: cleanup setting of ctime/mtime/birthtime.pfg2016-02-191-5/+3
| | | | | | | | | | | This adopts the same change as r291936 for UFS. Directly clear IN_ACCESS or IN_UPDATE when user supplied the time, and copy the value into the inode. This keeps the behaviour cleaner and is consistent with UFS. Reviewed by: bde MFC after: 1 month (only 10)
* firewire: fix a mismatch introduced in r230558.pfg2016-02-191-1/+1
| | | | | | Found by: PVS Static Analysis Reviewed by: sbruno MFC after: 1 month
* Remove objcopy in WITHOUT_TOOLCHAIN if it's from elftoolchainemaste2016-02-191-0/+4
|
* Add initial support for the Allwinner A31i and A31s. This just adds theandrew2016-02-192-0/+38
| | | | | | | | FDT platform code to detect when we are booting on one of these SoCs. The driver changes will be added shortly. Submitted by: Emmanuel Vadot <manu@bidouilliste.com> Differential Revision: https://reviews.freebsd.org/D5338
* Include ofw_bus_subr.h before ofw_pci.h for the definition of structandrew2016-02-191-1/+1
| | | | | | ofw_bus_iinfo. Sponsored by: ABT Systems Ltd
* Fix possible out-of-bounds access detected by Ulrich Spörleins "scan-build".se2016-02-191-19/+15
| | | | | | | | | | | Some invalid PCI device selectors could cause read access to an initialized variable next to the array (local loop index variable). While here, the parser has been made more strict with regard to the syntax of PCI device selectors as documented in the man-page. E.g. "pci:" used to be interpreted as "pci0:0". MFC after: 3 days
* Use the SCTP level pointer, not the interface level.tuexen2016-02-191-3/+2
| | | | MFC after: 3 days
* Remove not used static function pmap_kenter_attr().skra2016-02-191-7/+0
|
* Remove not used definitions and fix some style nits.skra2016-02-191-24/+12
| | | | No functional changes.
* Remove AP_KRW definition not needed after r295801.skra2016-02-191-10/+0
|
* Rename pte.h to pte-v4.h and start including directly either pte-v4.hskra2016-02-197-20/+16
| | | | | | | | | | | | | | or pte-v6.h in files which needs it. There are quite internal definitions in pte-v4.h and pte-v6.h headers specific for corresponding pmap implementation. These headers should be included only in very few files and an intention is to not hide for which implementation such files are. Further, sys/arm/arm/elf_trampoline.c is an example of file which uses armv4 like pmap implementation for both armv4 and armv6 platforms. This is another reason why pte.h which includes specific header according to __ARM_ARCH is not created.
* Remove O_SYNC from the options passed to dbmopen().se2016-02-191-1/+1
| | | | | | | | | | | | | | | | The output file is created as a temporary file that is moved over the existing file after completion. Thus there is no need to immediately flush all created db records to the temporary file. This speeds up creation of the termcap db by a factor of 40 on my ZFS based /etc filesytem (from 25 seconds to 0.6 seconds). I have compared multiple output files created with and without O_SYNC and they came out identical each time. Nonetheless it might be best to MFC this change and the similar one for services_mkdb (r295465) at the same time when the changes to hash.c in review D5186 are merged. MFC: 1 week
* Move common definitions from both pmap-v4.h and pmap-v6.h into pmap.h.skra2016-02-193-42/+27
| | | | | | (1) MI interface needed for vm subsystem. (2) MD interface created for ARM architecture to be used in files shared by armv4 and armv6 platforms.
* Rename pmap.h to pmap-v4.h and remove pmap-v6.h include from it.skra2016-02-193-517/+552
| | | | | | | | Create new pmap.h which includes specific header according to __ARM_ARCH. Note that <machine/pmap.h> is included from <vm/pmap.h> so one common <machine/pmap.h> must exist.
* Remove sys/types.hkevlo2016-02-191-2/+1
|
* Fix regression introduced on 272446r.araujo2016-02-191-1/+1
| | | | | | | | | | | | | lagg(4) supports the protocol none, where it disables any traffic without disabling the lagg(4) interface itself. PR: 206921 Submitted by: Pushkar Kothavade <pushkarbk@gmail.com> Reviewed by: rpokala Approved by: bapt (mentor) MFC after: 3 weeks Sponsored by: gandi.net Differential Revision: https://reviews.freebsd.org/D5076
* net80211: add few missing subtype names.avos2016-02-197-3/+11
| | | | | | | | | | | - Add definitions for Timing Advertisement and Control Wrapper frames. - Refresh ieee80211_mgt_subtype_name and ieee80211_ctl_subtype_name arrays. - Count Timing Advertisement frames as discarded management frames in all modes. Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D5331
* hyperv/hn: Free the txdesc buf_ring when the TX ring is destroyedsephe2016-02-191-0/+5
| | | | | | | | Reviewed by: adrian Approved by: adrian (mentor) MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D5318
* hyperv/hn: Enable IP header checksum offloading for WIN8 (WinServ2012)sephe2016-02-191-1/+1
| | | | | | | | | | Tested on Windows Server 2012. Reviewed by: adrian Approved by: adrian (mentor) MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D5317
* hyperv/hn: Add option to bind TX taskqueues to the specified CPUsephe2016-02-191-3/+30
| | | | | | | | | | | It will be used to help tracking host side transmission ring selection issue; and it will be turned on by default, once we have concrete result. Reviewed by: adrian, Jun Su <junsu microsoft com> Approved by: adrian (mento) MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D5316
* document some ACPI related sysctls.adrian2016-02-191-4/+8
| | | | | | Submitted by: Oliver Pinter <oliver.pinter@hardenedbsd.org> Sponsored by: HardenedBSD Differential Revision: https://reviews.freebsd.org/D5263
* Replace several bus_alloc_resource() calls using default arguments with ↵jhibbits2016-02-1927-92/+91
| | | | | | | | | bus_alloc_resource_any() Since these calls only use default arguments, bus_alloc_resource_any() is the right call. Differential Revision: https://reviews.freebsd.org/D5306
* Remove bogus cast.kevlo2016-02-191-1/+1
|
* Add missing parentheses.kevlo2016-02-191-1/+1
| | | | Found by: PVS-Studio
* Ensure that we test the event condition when a disabled kevent is enabled.markj2016-02-192-17/+16
| | | | | | | | | | | | | | | | r274560 modified kqueue_register() to only test the event condition if the corresponding knote is not disabled. However, this check takes place before the EV_ENABLE flag is used to clear the KN_DISABLED flag on the knote, so enabling a previously-disabled kevent would not result in a notification for a triggered event. This change fixes the problem by testing for EV_ENABLED before possibly checking the event condition. This change also updates a kqueue regression test to exercise this case. PR: 206368 Reviewed by: kib Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D5307
* Return an error if both EV_ENABLE and EV_DISABLE are specified for a kevent.markj2016-02-191-0/+3
| | | | | | | | Currently, this combination results in EV_DISABLE being ignored. Reviewed by: kib Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D5307
* - language tighteningjgh2016-02-191-11/+12
| | | | | | | - cleanup SEE ALSO section (thanks brueffer@) Approved by: wblock (mentor) Differential Revision: https://reviews.freebsd.org/D5335
* Fix section number of .Xr geom_uzip in r295782.sobomax2016-02-191-1/+1
| | | | | MFC after: 1 months (together with r295782)
* Clear up confision as to who the original historical authors of codesobomax2016-02-191-4/+15
| | | | | | | | | | | | | | | | | | and manual page were. For whatever reason it listed myself as a primary author, which is just not true. Also, majority of the manpage is copied verbatim from the geom_uzip(4), contributed by ceri, with only minor adjustments from loos, so put ceri back into the copyright secrion where he belongs and reflect that in the AUTHORS section. For what it's worth, I think this one should be deleted and LZMA support just folded back into geom_uzip(4) / mkuzip(4) whete it really belongs. MFC after: 1 month
* FAST_DEPEND: Apply conditional -MF from r291945 to kernel as well.bdrewery2016-02-191-0/+7
| | | | Sponsored by: EMC / Isilon Storage Division
* DIRDEPS_BUILD: Add dependencies somehow missed in r295681.bdrewery2016-02-191-0/+66
| | | | Sponsored by: EMC / Isilon Storage Division
* Avoid reading .depend.* in simple cases where not needed.bdrewery2016-02-192-2/+21
| | | | | | | | | | This will speed up some tree-walks with FAST_DEPEND which otherwise would include length(SRCS) .depend files. This also uses a trick suggested by sjg@ to still read them in when specifying _V_READ_DEPEND=1 in the env/make args. Sponsored by: EMC / Isilon Storage Division
* cxgbe: catch up with the latest hardware-related definitions.np2016-02-198-90/+21241
| | | | | Obtained from: Chelsio Communications Sponsored by: Chelsio Communications
* Remove a bogus bzero() call.jkim2016-02-181-1/+0
| | | | Found by: PVS-Studio
* Optimize ROL and ROR emulations and fix comments.jkim2016-02-181-19/+15
|
* Silence VPS-Studio errors (V646). These is no functional change.jkim2016-02-181-3/+3
|
* - add dma(8) to examples in mailer.conf(5)jgh2016-02-181-1/+15
| | | | | | | PR: 207026 Submitted by: lifanov@mail.lifanov.com Approved by: wblock (mentor) Differential Revision: https://reviews.freebsd.org/D5259
* Add protection code.tuexen2016-02-181-6/+8
| | | | | MFC after: 3 days CID: 748858
* Add some protection code.tuexen2016-02-181-2/+4
| | | | | CID: 1331893 MFC after: 3 days
* Fix reporting of mapped addressed in getpeername() and getsockname() fortuexen2016-02-181-25/+24
| | | | | IPv6 SCTP sockets. This bugs were found because of an issue reported by PVS / D5245.
* Use __unused instead of casting to void to silence the unused parameterse2016-02-182-10/+4
| | | | | | | | warning. Fix the indentation of 2 lines to conform with the style of this file. Submitted by: jhb
OpenPOWER on IntegriCloud