summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * When cross-building ${LIBSTAND} may be set to the host copy. Point to theandrew2015-05-051-0/+6
| | | | | | | | | | | | | | version built with the toolchain. Differential Revision: https://reviews.freebsd.org/D2312 Submitted by: jhb
| * Add support for Sierra MC7354 cardgarga2015-05-052-0/+2
| | | | | | | | | | | | | | | | Author: Jeremy Porter <jporter@netgate.com> Differential Revision: https://reviews.freebsd.org/D2444 Reviewed by: gnn, hselasky MFC after: 1 week Sponsored by: Netgate
| * Enlarge the buffer for storing macros as some macros can be longer than 5bapt2015-05-051-1/+1
| |
| * Update the list of known roff commands (adding the mdoc package)bapt2015-05-051-35/+54
| | | | | | | | Obtained from: NetBSD
| * Properly assign open and close brackets and checks memorybapt2015-05-051-2/+12
| | | | | | | | Obtained from: NetBSD
| * Add apple-boot, apple-hfs and apple-ufs aliases to MBR scheme.ae2015-05-053-3/+12
| | | | | | | | | | | | | | Sort DOSPTYP_* entries in diskmbr.h by value. Document these scheme-specific types in gpart(8). MFC after: 1 week
| * Ensure we read existing values of the stk tablebapt2015-05-051-2/+4
| | | | | | | | Obtained from: NetBSD
| * Use stdup(3) and check its return instead from homebrew version using strcpy(3)bapt2015-05-051-1/+2
| | | | | | | | | | | | and malloc(3) Obtained from: NetBSD
| * cosmetic fixesbapt2015-05-051-2/+2
| | | | | | | | Obtained from: NetBSD
| * Apply seom style(9) fixes from NetBSDbapt2015-05-052-31/+29
| | | | | | | | Obtained from: NetBSD
| * Prevent useless use of strdup(3)bapt2015-05-051-2/+4
| | | | | | | | Obtained from: NetBSD
| * Replace homebrewed NIL by NULLbapt2015-05-052-72/+69
| |
| * Use stdbool instead of homebrewed booleanbapt2015-05-053-69/+64
| |
| * Another function to ansifybapt2015-05-051-2/+2
| |
| * Remove unused variablesbapt2015-05-051-2/+0
| |
| * Explicitly use O_RDONLY instead of 0bapt2015-05-051-1/+1
| |
| * Use strlcpy(3) instead of strcpy(3)bapt2015-05-051-2/+2
| |
| * upper the warning level to 3bapt2015-05-051-1/+1
| |
| * Another bit of ansificationbapt2015-05-051-3/+1
| |
| * Ansify to allow to work on it laterbapt2015-05-053-39/+35
| |
| * Fix an error in r281551, part of the getfsstat() / kern_getfsstat()peter2015-05-051-3/+4
| | | | | | | | | | | | | | rework. The number of entries was supposed to be returned to the user, not used as a scratch variable. This broke RELENG_4 jails starting up on current systems.
| * Add some data found in TI's application note "SCPA035: PCI1510imp2015-05-051-0/+7
| | | | | | | | Implementation Guide" about default values.
| * When dealing with the TI12XX family of parts, we sometimes need toimp2015-05-051-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | initialize the MFUNC registers. Our old test of assuming that if this register is set at all is not quite right. Many scenarios (including the power-on defaults for chips w/o EEPROMs) land us in trouble. The MFUNC0 pin should be set to signal #INTA and the MFUNC1 pin should be set to signal #INTB of multi-socketed devices. Since my memory recalls issues with blindly clearing the upper bytes of this register, perform the heuristic only when both MFUNC0 and 1 are clear. We won't work well using these pins for GPIO, and the serial interrupts won't save us because we go out of our way to generally disable them. They are needed to support legacy drivers for 16-bit PC Cards that are hard-wired to specific IRQ values. Since FreeBSD never had any of these, we configure the more reliable direct signaling. This was just one small piece of that which had been left out back in the day.
| * Add a sanity check to the swap size in zfsboot of bsdinstallallanjude2015-05-051-4/+22
| | | | | | | | | | | | | | | | | | | | | | Loop until the user enters a valid size (>100mb or 0) Differential Revision: https://reviews.freebsd.org/D2299 Reported By: Shawn Webb Reviewed by: roberto Approved by: brd MFC after: 2 weeks Sponsored by: ScaleEngine Inc.
| * Now that DMA works, enable the audio driver on RPi 2.loos2015-05-051-2/+2
| |
| * Enable DMA for sdhci on RPi 2 (BCM2836).loos2015-05-051-8/+1
| |
| * Fix DMA on RPi 2.loos2015-05-051-3/+9
| | | | | | | | | | | | BCM2836 has a different base address for peripherals. Obtained from: netbsd
| * Remove limitation on input lines by using getline(3)bapt2015-05-042-7/+8
| |
| * Extend the list of known nroff/troff commandsbapt2015-05-041-12/+16
| | | | | | | | Obtained from: heirloom doctools
| * Take from heirloom's doctools version of checknr(1) some cosmetic fixesbapt2015-05-041-11/+14
| | | | | | | | This helps working on synchronising both tools
| * Remove "capability mode sandbox enabled" messages.brooks2015-05-043-7/+0
| | | | | | | | | | | | | | | | | | | | | | These messages serve little purpose and break some consumers. PR: 199855 Differential Revision: https://reviews.freebsd.org/D2440 Reviewed by: rwatson Approved by: pjd MFC after: 1 week Sponsored by: DARPA, AFRL
| * Remove a debugging line that snuck in with r282419.gjb2015-05-041-1/+0
| | | | | | | | | | | | | | Pointyhat: gjb MFC after: 3 days X-MFC-With: r282419 Sponsored by: The FreeBSD Foundation
| * MFV r225523, r282431:gjb2015-05-0414-269/+1131
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r225523 (hrs): Import openresolv-3.4.4. r282431: Import openresolv-3.7.0. PR: 199854 Submitted by: yuri@rawbw.com MFC after: 1 week Relnotes: yes Sponsored by: The FreeBSD Foundation
| | * Import openresolv 3.7.0.gjb2015-05-0413-252/+1042
| | | | | | | | | | | | | | | | | | PR: 199854 Obtained from: http://roy.marples.name/projects/openresolv Sponsored by: The FreeBSD Foundation
| | * Import of openresolv 3.4.4.hrs2011-09-1310-86/+166
| | | | | | | | | | | | | | | Obtained from: http://roy.marples.name/projects/openresolv Approved by: re (kib)
| * | In preparation for the next cycle of official ARM images, add ARM_NEW_PMAPloos2015-05-045-0/+5
| | | | | | | | | | | | | | | | | | | | | to supported kernels. This is a temporary solution and should be reverted when ARM_NEW_PMAP is enabled by default.
| * | Implement a driver for the PowerPC-base RouterBoard (RB333/600/800/1100)jhibbits2015-05-042-0/+276
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This has been tested on the RB800, but should work on the RB333, RB600, and RB1100 as well. It's currently missing ECC support, but read and write are complete. Reviewers: imp Reviewed By: imp Subscribers: imp Differential Revision: https://reviews.freebsd.org/D2223
| * | Implement in-order execution of non-NCQ commands.mav2015-05-041-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | Using status updates in r282364, block queue on BSY, DRQ or ERR bits set. This can be a performance penalization for non-NCQ commands, but it is required for proper error recovery and standard compliance. MFC after: 2 weeks
| * | Fix arithmetical bug in vnode_pager_haspage(). The check against object sizeglebius2015-05-041-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | should be done not with the number of pages in the first block, but with the overall number of pages. While here, add KASSERT that makes sure that BMAP doesn't return completely irrelevant blocks. Reviewed by: kib Tested by: pho Sponsored by: Netflix Sponsored by: Nginx, Inc.
| * | Parse filename until first space then print the rest of the line after filebapt2015-05-045-6/+25
| | | | | | | | | | | | | | | | | | inclusion This is the same behaviour of heirloom's soelim
| * | Implement a mechanism for making changes in the kernel<->driver PPSian2015-05-043-9/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | interface without breaking ABI or API compatibility with existing drivers. The existing data structures used to communicate between the kernel and driver portions of PPS processing contain no spare/padding fields and no flags field or other straightforward mechanism for communicating changes in the structures or behaviors of the code. This makes it difficult to MFC new features added to the PPS facility. ABI compatibility is important; out-of-tree drivers in module form are known to exist. (Note that the existing api_version field in the pps_params structure must contain the value mandated by RFC 2783 and any RFCs that come along after.) These changes introduce a pair of abi-version fields which are filled in by the driver and the kernel respectively to indicate the interface version. The driver sets its version field before calling the new pps_init_abi() function. That lets the kernel know how much of the pps_state structure is understood by the driver and it can avoid using newer fields at the end of the structure that it knows about if the driver is a lower version. The kernel fills in its version field during the init call, letting the driver know what features and data the kernel supports. To implement the new version information in a way that is backwards compatible with code from before these changes, the high bit of the lightly-used 'kcmode' field is repurposed as a flag bit that indicates the driver is aware of the abi versioning scheme. Basically if this bit is clear that indicates a "version 0" driver and if it is set the driver_abi field indicates the version. These changes also move the recently-added 'mtx' field of pps_state from the middle to the end of the structure, and make the kernel code that uses this field conditional on the driver being abi version 1 or higher. It changes the only driver currently supplying the mtx field, usb_serial, to use pps_init_abi(). Reviewed by: hselasky@
| * | Do not remove libmap32.conf in make delete-old as it may remove user modifiedbapt2015-05-041-1/+0
| | | | | | | | | | | | version by mistake
| * | Style fixbapt2015-05-041-2/+2
| | | | | | | | | | | | Reported by: bdrewery
| * | Remove now unneeded libmap32.confbapt2015-05-043-6/+1
| | |
| * | Rework PRIVATELIBbapt2015-05-049-86/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now when a lib is marked as PRIVATELIB it is renamed into libprivate$foo instead of being installed in /usr/lib/private and playing with rpath. Also allow to install headers for PRIVATELIBS in that case the headers will be installed in /usr/include/private/$foo Keep the headers under a private namespace to prevent third party build system to easily find them to ensure they are only used on purpose. This allows for non base applications to statically link against a library in base which is linked to a privatelib Treating PRIVATELIBS as regular libraries allows to push them into our current compatX packages if needed. While here finish promotion of libevent as PRIVATELIB Install header for bsdstat and libucl Differential Revision: https://reviews.freebsd.org/D2365 Reviewed by: brooks, des Discussed with: imp
| * | Add logic to detect if the net/bsdec2-image-upload port needsgjb2015-05-041-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to be installed. [1] For the cw-ec2-portinstall and ec2ami targets, touch the .TARGET file after completion to prevent duplicate invocations. Add cw-ec2-portinstall and ec2ami to CLEANFILES. Submitted by: cperciva[1] MFC after: 3 days Sponsored by: The FreeBSD Foundation
| * | On an icache sync by address/len, round the length up if the operation spansian2015-05-041-0/+3
| | | | | | | | | | | | | | | | | | | | | a cacheline boundary. PR: 199740 Submitted by: Juergen Weiss <weiss@uni-mainz.de>
| * | Various updates to the ftruncate(2) documentation:jhb2015-05-041-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Note that ftruncate(2) can operate on shared memory objects and cross reference shm_open(2). - Note that ftruncate(2) does not change the file position pointer (aka seek pointer) of the file descriptor. - ftruncate(2) will fail with EINVAL for all sorts of other fd types than just sockets, so instead note that it fails for all but regular files and shared memory objects. - Note that ftruncate(2) also appeared in 4.2BSD along with truncate(2). (Or at least the manpage for both appeared in 4.2, I did not check the kernel code itself to see if either predated 4.2.) PR: 199472 (2) Submitted by: andrew@ugh.net.au (2) MFC after: 1 week
| * | Partially revert r255486, the first argument to socketpair() is a socketjhb2015-05-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | domain, not a file descriptor. Use 'domain' instead of the original 'd' for this argument to match socket(2). PR: 199491 Reported by: sp55aa@qq.com MFC after: 1 week
| * | Restore CPU dependent compile time conditionals.cy2015-05-041-1/+21
| | | | | | | | | | | | MFC after: 1 month (with r281143 and r282408)
OpenPOWER on IntegriCloud