summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r277728:ngie2015-02-118-8/+51
| | | | | | | | r277728: Add MK_AUTOFS knob for building and installing autofs(4), et al Sponsored by: EMC / Isilon Storage Division
* MFC r277727:ngie2015-02-118-3/+34
| | | | | | | | r277727: Add MK_BHYVE knob for building and installing bhyve(4), et al Sponsored by: EMC / Isilon Storage Division
* MFC r277725:ngie2015-02-116-9/+37
| | | | | | | | r277725: Add MK_HAST knob for building and installing hastd(8), et al Sponsored by: EMC / Isilon Storage Division
* MFC r277675,r277726,r278070:ngie2015-02-119-14/+52
| | | | | | | | | | | | | | | | | | | | | | r277675: Add MK_ISCSI knob for building the iscsi initiator, iscsi daemon, kernel modules, etc Sponsored by: EMC / Isilon Storage Division r277726: Build sbin/iscontrol again if MK_ISCSI != no Pointyhat to: me r278070: Remove duplicate MK_ISCSI block and sort the conditional blocks so this error won't crop up again in the future Reported by: gjb
* MFC r277663:ngie2015-02-114-1/+27
| | | | | | | | r277663: Add MK_EE knob to control installing edit, ee, etc Sponsored by: EMC / Isilon Storage Division
* MFC r277854:cy2015-02-111-1/+0
| | | | | | | | | ipfilter 5.1.2 (vs 4.1.28 in previous releases of FreeBSD) stores IPv4 and IPv6 rules in a single table. ipf -6 -Fa will flush the whole table, including IPv4 rules. This patch removes the redundant ipf -I -6 -Fa statement. PR: 188318
* MFC: r276469marius2015-02-101-7/+43
| | | | | | | | | | - Switching the mode of Ricoh R5CE823 to SD2.0 causes their PCI device ID to change to 0xe822, which may be persistent across reboots and, thus, confuse other OSes. Therefore, restore the original mode and frequency setting on detach and shutdown. - Report Ricoh R5CE822 as such. - According to Linux, Ricoh R5CE822 also need SDHCI_QUIRK_LOWER_FREQUENCY. - Nuke an unused softc member.
* MFC 277709:jhb2015-02-101-13/+11
| | | | | | | | Use an sbuf to generate the output of the net.inet.tcp.hostcache.list sysctl to avoid a possible buffer overflow if the cache grows while the text is being generated. PR: 172675
* MFC: r273050marius2015-02-101-4/+0
| | | | | class, subclass and progif were never used, so don't bother setting them.
* MFC 273800:jhb2015-02-107-134/+187
| | | | | | | | | | | | | Rework virtual machine hypervisor detection. - Move the existing code to x86/x86/identcpu.c since it is x86-specific. - If the CPUID2_HV flag is set, assume a hypervisor is present and query the 0x40000000 leaf to determine the hypervisor vendor ID. Export the vendor ID and the highest supported hypervisor CPUID leaf via hv_vendor[] and hv_high variables, respectively. The hv_vendor[] array is also exported via the hw.hv_vendor sysctl. - Merge the VMWare detection code from tsc.c into the new probe in identcpu.c. Add a VM_GUEST_VMWARE to identify vmware and use that in the TSC code to identify VMWare.
* MFC r278105:hselasky2015-02-101-7/+22
| | | | | | Separate out detection of prevent and allow medium removal quirk. PR: 185747
* Append to the MFC of r278103 that we also pass along the M_FLOWID flag.hselasky2015-02-101-2/+2
| | | | Sponsored by: Mellanox Technologies
* MFC r278103:hselasky2015-02-101-0/+4
| | | | | | | | | The flowid and hashtype should be copied from the originating packet when fragmenting IP packets to preserve the order of the packets in a stream. Else the resulting fragments can be sent out of order when the hardware supports multiple transmit rings. Sponsored by: Mellanox Technologies
* MFC r278074:hselasky2015-02-102-4/+28
| | | | | | | Optimise allocation of USB DMA structures. By default don't double map allocations if only one element should be allocated per page cache. Make one allocation per element compile time configurable. Fix a comment while at it.
* MFC r278071:hselasky2015-02-103-1/+40
| | | | | | | Section 3.2.9 in the XHCI specification about control transfers says that we should use a normal-TRB if there are more TRBs extending the data-stage TRB. Add a dedicated state bit to the internal USB transfer flags to handle this case.
* MFC r278348:dim2015-02-101-2/+2
| | | | | | | | | Fix a number of -Wcast-qual warnings in ath's ar9300_attach.c, by making the ia_array field of struct ar9300_ini_array const, and removing the const-dropping casts. No functional change. Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D1725
* MFC r278323:jamie2015-02-106-4/+46
| | | | | | | | | Add mount.procfs jail parameter, so procfs can be mounted when a prison's root is in its fstab. Also fix a typo while I'm at it. PR: 197237 197066
* When upgrading, install the ELF runtime linkers before libraries.brooks2015-02-091-0/+9
| | | | | | | | | | This is required to prevent problems with nss modules that use libthr when upgrading from releases prior to 10.1. PR: 197366 Differential Revision: D1790 Reviewed by: cperciva Sponsored by: DARPA, AFRL
* MFC r278111: Retry indefinitely on SCSI BUSY status from VMware disks and CDs.mav2015-02-094-7/+35
| | | | | VMware returns BUSY status when storage has transient connectivity issues. It is often better to wait and let VM admin fix the problem then crash.
* MFC r278098, r278099: Add some fields and constants from RFC7144.mav2015-02-091-2/+16
|
* MFC r278297:dim2015-02-091-4/+2
| | | | | | | | | | | | | | | | | Fix two clang 3.6.0 warnings in usr.sbin/syslogd: usr.sbin/syslogd/syslogd.c:1023:10: error: address of array 'f->f_prevline' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion] f->f_prevline && !strcmp(msg, f->f_prevline) && ~~~^~~~~~~~~~ usr.sbin/syslogd/syslogd.c:1178:16: error: address of array 'f->f_prevline' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion] } else if (f->f_prevline) { ~~ ~~~^~~~~~~~~~ In both cases, the f_prevline field of struct filed is a char array, so it can never be null. Remove the checks. Reviewed by: jilles Differential Revision: https://reviews.freebsd.org/D1716
* MFC r278222:dim2015-02-091-1/+2
| | | | | Mark typedefs for manually implementing _Static_assert() as unused, so they won't show up unecessarily for -Wunused-local-typedefs.
* MFC r277953:dim2015-02-091-2/+2
| | | | | Fix a -Wcast-qual warning in smbfs_subr.c, by using __DECONST. No functional change.
* MFC r277958, r278061:rpaulo2015-02-092-7/+8
| | | | | | ti_pruss: make sure the mmap'ed memory region is uncacheable. am335x_clk_pruss_activate(): use the L3F clock.
* MFC: r276377, r276714marius2015-02-082-72/+12
| | | | | | | | - No longer exclude malo(4) and mwl(4), they have been fixed in r275870 (MFCed to stable/10 in r278415) and r275871 (MFCed to stable/10 in r278416) respectively to build with PAE enabled. - For the PAE kernel configuration file, no longer exclude devices that are known to be 64-bit DMA clean from amd64.
* MFC: r274054 (missed in r276076)marius2015-02-081-1/+1
| | | | Fix XEN kernel build.
* MFC r276359: symlink(7): Note that stat(1) does not follow symlinks byjilles2015-02-081-9/+8
| | | | default.
* MFC: r275871marius2015-02-081-2/+2
| | | | Update the use of bus space macros to be more correct.
* MFC r268857: ttyname(3): Fix EBADF/ENOTTY error descriptions.jilles2015-02-081-5/+21
| | | | | | | Also, make sure to document the return values and errors for all three functions in the man page. PR: 191931
* MFC: r275870marius2015-02-081-2/+2
| | | | Use the correct macro for listing the maximum bus space size.
* MFC r278038: ttyname_r(): Return actual error, not always [ENOTTY].jilles2015-02-082-5/+2
| | | | | | Adjust the test that used to fail because of this bug. PR: 191936
* Repair ia64 build after r278347 - remove const from set_mcontextpeter2015-02-081-1/+1
|
* MFC: r265863bapt2015-02-084-9/+35
| | | | | | | | | libedit: add H_SAVE_FP which saves history to a file pointer. H_SAVE_FP is similar to H_SAVE but operates on a FILE* instead of a filename. This is useful when operating in capability mode. Reviewed by: christos@NetBSD.org, pfg
* MFC r277862: sem_post(): Fix and document semaphore value overflow error.jilles2015-02-082-3/+8
| | | | | | | | The error code is per Austin Group issue #315. I provided different wording for the manual page change. Submitted by: pluknet
* MFC: r266744, r267712, r276351, r277043marius2015-02-081-0/+5
| | | | | | | | - Add PCI ID for AMT based serial interface found on the Lenovo T61. - add support for MosChip MCS9922... This is found on an ExpressCard.. [1] - Add PCI ID for the Oxford Semiconductor OXPCIe952 device. PR: 186891 [1]
* MFC: r276344marius2015-02-082-9/+9
| | | | | | - Const'ify the ahci_ids table. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers.
* MFC: r276313marius2015-02-081-3/+3
| | | | Const'ify a firmware image missed in r251142.
* MFC: r276299marius2015-02-082-12/+23
| | | | | | | | | - Make PCI_QUIRK_MSI_INTX_BUG work by using the ID of the actual PCI device for the lookup. - For devices affected by PCI_QUIRK_MSI_INTX_BUG, ensure PCIM_CMD_INTxDIS is cleared when using MSI/MSI-X. - Employ PCI_QUIRK_MSI_INTX_BUG for BCM5714(S)/BCM5715(S)/BCM5780(S) rather than clearing PCIM_CMD_INTxDIS unconditionally for all devices in bge(4).
* MFC r278001:kib2015-02-079-16/+16
| | | | Do not qualify the mcontext_t *mcp argument for set_mcontext(9) as const.
* MFC r278000:kib2015-02-071-0/+2
| | | | | Update directory times immediately after an entry is created or removed.
* MFC r277970:kib2015-02-071-2/+46
| | | | | Check for the cycle in the chain of dependency for priority-inheritance mutexes.
* MFC r277642:kib2015-02-072-26/+131
| | | | Provide individual prototype and generate macros for the red-black tree.
* Document a failure case when using freebsd-updategjb2015-02-061-0/+20
| | | | | | to upgrade systems that use nss_ldap. Sponsored by: The FreeBSD Foundation
* MFC 276065:jhb2015-02-061-0/+13
| | | | | | Explicitly treat timeouts when waiting for IBF or OBF to change state as an error. This fixes occasional hangs in the IPMI kcs thread when using ipmitool locally.
* MFC 277714:jhb2015-02-061-3/+3
| | | | | | | natd(8) will work with an unconfigured interface and effectively not do anything until the interface is assigned an address. This fixes ipfw_nat to do the same by using an IP of INADDR_ANY instead of aborting the nat setup if the requested interface is not yet configured.
* MFC 275808:jhb2015-02-062-2/+2
| | | | | Check for SS_NBIO in so->so_state instead of sb->sb_flags in soreceive_stream().
* MFC r278145:kib2015-02-061-4/+5
| | | | Fix use after free in pipe_dtor().
* MFC r277936:kib2015-02-061-5/+3
| | | | Use powerof2(). Remove single-use variable.
* MFC r277136:hselasky2015-02-055-66/+98
| | | | | | | | | | Resolve a special case deadlock: When two or more threads are simultaneously detaching kernel drivers on the same USB device we can get stuck in the "usb_wait_pending_ref_locked()" function because the conditions needed for allowing detach are not met. While at it ensure that "flag_iserror" is only written when "priv_mtx" is locked, which is protecting it.
* MFC 274402:jhb2015-02-051-0/+1
| | | | Add device ID for the T502-BT (dual-port 1G) adapter.
OpenPOWER on IntegriCloud