summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add VirtIO to the i386 and amd64 GENERIC kernelsbryanv2013-01-137-9/+52
| | | | | | | | | This also removes the kludge from r239009 that covered only the network driver. Reviewed by: grehan Approved by: grehan (mentor) MFC after: 1 week
* Use the right format string for line buffer.delphij2013-01-131-1/+1
| | | | | PR: bin/174910 Submitted by: Fabian Keil <fk fabiankeil.de>
* Add now missing color.4th.marcel2013-01-121-0/+1
|
* Set WITHOUT_SVN=yes for textproc/docproj.hrs2013-01-121-1/+1
| | | | Submitted by: gjb
* procstat: only one mode flag can be specified, but required check for 'i'mjg2013-01-121-2/+2
| | | | | | and 'j' modes was missing. Fix that. MFC after: 3 days
* Windows handles INIT and VERIFY as array-wide and it doesn't specify whichmav2013-01-121-2/+15
| | | | | | disks should be rebuilt. Our rebuild code is same time disk-centric. To handle this situation properly check all disks for RBLD flags, and if no disk specified try rebuild/resync all of them except newly inserted.
* Quiesce a couple of clang warningssbruno2013-01-122-2/+2
| | | | | Submitted by: hiren panchasara <hiren.panchasara@gmail.com> Obtained from: Yahoo! Inc
* Implement migration from single disk to RAID1/IRRT for Intel metadata.mav2013-01-121-6/+48
| | | | | | | Windows driver uses such migration when it creates new arrays. While GEOM RAID has no mechanism to implement migration in general case, this specifc case still can be handled easily via degraded RAID1 creation followed by regular rebuild.
* Define VM_KMEM_SIZE_MAX as a fraction of the kernel address space sizealc2013-01-121-2/+3
| | | | | | | | rather than a constant so that VM_KMEM_SIZE_MAX will scale automatically with the kernel address space size. This is particularly important for MIPS because the same definition is used by both 32- and 64-bit kernels. Tested by: jchandra
* The new sade(8) is installed and works on all architectures, courtesy ofnwhitehorn2013-01-121-6/+0
| | | | | gpart having better portability than libdisk. Don't mark sade(8) as obsolete on non-x86 systems.
* Merge Perforce changeset 219933 and portions of 219962 (omits changes torwatson2013-01-121-2/+20
| | | | | | | | | | | | | | | | | | unmerged BERI DTS files) to head: Use the OFW compatible string "mips,mips4k" rather than "mips4k,cp0" for interrupt control using MIPS4k CP0. Suggested by: thompsa Implement a MIPS FDT PIC decode routine to use when no PIC has been configured, which assumes a cascade back to the nexus bus (e.g., the on-board CP0 interrupt management parts on the MIPS). If the soc bus in a MIPS DTS file is declared as "mips4k,cp0"-compatible, then this will be enabled. This is sufficient to allow IRQs to be configured on BERI. Sponsored by: DARPA, AFRL
* Fixed mbuf free when receive structures fail to allocate.smh2013-01-121-2/+2
| | | | | | | | | This prevents quad igb card on high core machines, without any nmbcluster or igb queue tuning wedging the boot process if all nics are configured. Reviewed by: jfv Approved by: pjd (mentor) MFC after: 1 week
* Note that cpufreq(4) is not available on all hardware.nwhitehorn2013-01-121-1/+1
| | | | | PR: bin/175139 MFC after: 2 weeks
* Merge Perforce changeset 219925 to head:rwatson2013-01-124-480/+14
| | | | | | | | | | | Provided a bus_space implementation for FDT, modelled on bus_space_generic, but with a local version of the map address routine that does a P->V translation, as is the case with NLM's similar routine for XLP. It's not clear to me that this is the right solution -- possibly this belongs in simplebus -- however, it is sufficient to get the DE4 LED driver working. Sponsored by: DARPA, AFRL
* Merge Perforce chance 219924 to head:rwatson2013-01-121-0/+681
| | | | | | | | | | | | | | | | | In a sign of weakness, replicate the MIPS bus_space_generic.c to produce a new FDT version, which will perform necessary address space translation for bus_space -- the solution used in NLM's MIPS FDT support, but possibly not quite the right thing. This is inconsistent with regular I/O via the nexus and the generic bus_space, which instead perform translation via pmap_mapdev() when a resource is activated. However, it will work while I attempt to identify what the right way to reconcile possible approaches. (Another approach might be to make simplebus use Nexus's activate routine instead of a generic one?) Sponsored by: DARPA, AFRL
* Merge Perforce change @219948 to head:rwatson2013-01-122-2/+25
| | | | | | | | | | Add code so that the BERI boot process can ask the kernel linker for DTB blobs that may have been left for it by the boot loader, as done on PowerPC and ARM. This will require both a more mature boot loader, and more mature boot loader argument passing mechanism, than currently supported on BERI. Sponsored by: DARPA, AFRL
* Merge Perforce change @219935 to head:rwatson2013-01-121-11/+11
| | | | | | | | | | Initialise Openfirmware/FDT code earlier in the FreeBSD/beri boot, so that the results will be available for configuring the console UART (eventually). Suggested by: thompsa Sponsored by: DARPA, AFRL
* Freeze device queue before returning errors to CAM. This is requiredmav2013-01-121-15/+20
| | | | | | for proper error recovery, including keeping original request order. Reviewed by: hselasky
* Fix libcxxrt / libc++ build with the clang in head.theraven2013-01-121-2/+2
| | | | Pointy hat to: theraven
* Add basic support for Intel Rapid Recover Technology (Intel RRT).mav2013-01-123-20/+102
| | | | | | | | | It is alike to RAID1, but with dedicating master and recovery disks and providing manual control over synchronization. It allows to use recovery disk as snapshot of the master disk from the time of the last sync. This implementation is not functionaly complete comparing to Windows, but it is better then silent conversion to RAID1 on first boot.
* Add FILES section.joel2013-01-121-0/+7
| | | | Submitted by: jmc@OpenBSD
* editrc only read from $HOME.joel2013-01-121-2/+0
| | | | Submitted by: LEVAI Daniel (via jmc@OpenBSD)
* Remove EOL whitespace.joel2013-01-122-3/+3
|
* Revert r245316. Systems with non-standard uids/gids are more prevalentbrooks2013-01-112-25/+41
| | | | | that I'd feared. Discussion is ongoing about the scope of a safer solution.
* MFi386: Make similar changes that were made to atkbdc in r245315.imp2013-01-111-7/+9
|
* Use the -N option to install and nmtree to eliminate the need for thebrooks2013-01-112-41/+25
| | | | | | checks for missing users and groups. Sponsored by: DARPA, AFRL
* Pass the device_t into atkbd_{probe,attach}_unit and get theimp2013-01-113-14/+11
| | | | | controller unit and keyboard unit from there. It will be needed for other things in the future as well...
* style(9) changes before I do more real changes.imp2013-01-111-83/+79
|
* Bump __FreeBSD_version for install -N and (belatedly) nmtree.brooks2013-01-111-1/+1
|
* Implement the -N <dbdir> option which allows an alternate passwd andbrooks2013-01-113-30/+61
| | | | | | | | | group file to be used. This is useful for installing on systems where a user or group does not currently exist. Sponsored by: DARPA, AFRL Obtained from: NetBSD MFC after: 5 days
* Add pwcache(3) and vis(3) to libegacy as install(1) is about to grow abrooks2013-01-111-0/+16
| | | | | | dependency on them. Sponsored by: DARPA, AFRL
* - Add missig xpt_schedule() call for cases when requested immediate CCBmav2013-01-111-5/+8
| | | | | | | priority is lower then payload/TUR one. - Reduce TUR priority and avoid sending them if there are any other outstanding commands, alike to DA driver.
* Use find -exec to install zoneinfo instead of requiring xargs to be anbrooks2013-01-112-3/+3
| | | | | | install tool. Suggested by: delphij
* Add contrib/libc-vis to the include path so we reliably pick up the rightbrooks2013-01-111-0/+1
| | | | | | version of vis.h. Reported by: dim
* Add support for Lua 5.2.obrien2013-01-111-0/+1
| | | | Submitted by: skreuzer
* Do not schedule periph for payload/TUR requests if reprobe is in progressmav2013-01-111-10/+15
| | | | | | | | | | to avoid sending extra READ CAPACITY requests by dastart(). Schedule periph again on reprobe completion, or otherwise it may stuck indefinitely long. This should fix USB explore thread hanging on device unplug, waiting for periph destruction. Reported by: hselasky
* In r244401 I accidently moved strunvis and strunvisx from version 1.0 tobrooks2013-01-111-2/+2
| | | | | 1.3 breaking the libc ABI. Revert that change (breaking the ABI again for users who updated after December 18th).
* Merge new version of libcxxrt. This brings in three fixes:theraven2013-01-114-34/+132
|\ | | | | | | | | | | | | | | | | | | - Don't treat pointers to members as pointers in catch blocks (they're usually fat pointers). - Correctly catch foreign exceptions in catchalls. - Ensure that a happens-before relationship is established when setting terminate handlers in one thread and calling them in another.
| * Import b9db3a010143160624f123763025ab544b69bd9a of libcxxrt. This brings intheraven2013-01-114-34/+132
| | | | | | | | | | | | | | | | | | | | | | | | three fixes: - Don't treat pointers to members as pointers in catch blocks (they're usually fat pointers). - Correctly catch foreign exceptions in catchalls. - Ensure that a happens-before relationship is established when setting terminate handlers in one thread and calling them in another.
| * Import new version of libcxxrt to vendor branch.theraven2012-03-204-105/+182
| | | | | | | | Approved by: dim (mentor)
| * Import new version of libcxxrt.theraven2012-03-1314-42/+381
| | | | | | | | Approved by: dim (mentor)
* | Add ID for Nuvoton WPCM450RA0BX found on Supermicro X9SCA-F motherboards.delphij2013-01-111-0/+19
| | | | | | | | | | | | | | While I'm there, also make this driver to attach to devices that have an unknown device ID. MFC after: 1 month
* | - Improve readability of sys_obreak().zont2013-01-111-22/+21
| | | | | | | | | | | | | | Suggested by: alc Reviewed by: alc Approved by: kib (mentor) MFC after: 1 week
* | Add flags argument to vfs_write_resume() and removekib2013-01-117-26/+14
| | | | | | | | | | | | vfs_write_resume_flags(). Sponsored by: The FreeBSD Foundation
* | Place-holders for enable/active parameter flags.adrian2013-01-111-0/+2
| |
* | Overhaul the stid allocator so that it can be used for IPv6 serversnp2013-01-114-36/+100
| | | | | | | | | | | | | | too. The entry for an IPv6 server in the TCAM takes up the equivalent of two ordinary stids and must be properly aligned too. MFC after: 1 week
* | Use better arm memory barrierimp2013-01-111-1/+2
| |
* | cxgbe(4): Add functions to help synchronize "slow" operations (those notnp2013-01-104-278/+393
| | | | | | | | | | | | | | | | | | | | | | | | | | | | on the fast data path) and use them instead of frobbing the adapter lock and busy flag directly. Other changes made while reworking all slow operations: - Wait for the reply to a filter request (add/delete). This guarantees that the operation is complete by the time the ioctl returns. - Tidy up the tid_info structure. - Do not allow the tx queue size to be set to something that's not a power of 2. MFC after: 1 week
* | Add an ugly hack to libgcc's unwind code, to make it behave properly atdim2013-01-101-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | runtime on amd64, when it is compiled by clang. Some versions of clang don't save and restore all callee registers, if a __builtin_eh_return() intrinsic is used in a function. This is particularly bad on amd64. Until the problem gets fixed by upstream, use an asm statement to force clang to assume the registers in question are clobbered, when invoking __builtin_eh_return(), so it will emit code to save and restore them. This should fix the crashes reported on -current with some C++ programs, particularly those that throw exceptions over multiple function boundaries. Reported by: stefanf MFC after: 3 days
* | Add xargs to the set of install tools when zoneinfo is not disabled.brooks2013-01-101-1/+1
| | | | | | | | | | | | This fixes installworld which I had broken in r245265. Reported by: Nikolai Lifanov <lifanov@mail.lifanov.com>
OpenPOWER on IntegriCloud