summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a new HAL call to extract out the HAL enterprise bits from theadrian2012-11-032-1/+23
| | | | AR9300 HAL.
* 1. Have the APs initialize the TLB1 entries from what has beenmarcel2012-11-034-58/+89
| | | | | | | | | | | | | | programmed on the BSP during (early) boot. This makes sure that the APs get configured the same as the BSP, irrspective of how FreeBSD was loaded. 2. Make sure to flush the dcache after writing the TLB1 entries to the boot page. The APs aren't part of the coherency domain just yet. 3. Set pmap_bootstrapped after calling pmap_bootstrap(). The FDT code now maps the devices (like OF), and this resulted in a panic. 4. Since we pre-wire the CCSR, make sure not to map chunks of it in pmap_mapdev().
* Add a MD_ROOT_FSTYPE kernel option. The option specifies themarcel2012-11-032-1/+6
| | | | | file system part for the MD_ROOT mount string. Hardcoding the the file system type as "ufs" is too restrictive.
* Add the bus attachment for the embedded EHCI HC.marcel2012-11-031-0/+1
|
* Allow using the embedded EHCI host controller in Freescale SoCsmarcel2012-11-032-6/+12
| | | | by adding the missing bits. See ehci_fsl.c for their use.
* Add the buildLINT convenience target, handy for build automation.marcel2012-11-031-0/+3
| | | | | | | | The automation can set TARGET_ARCH and TARGET and then make various top-level targets, including buildLINT and buildkernel (with KERNCONF=LINT). Previously there was no way to generate the LINT kernel configuration without having to do something exceptionally painful.
* o DragonFly 2.3.1 added.maxim2012-11-031-1/+2
|
* When a file is first being written, the dynamic block reallocationmckusick2012-11-032-2/+75
| | | | | | | | | | | | | | | | | | | | | | (implemented by ffs_reallocblks_ufs[12]) relocates the file's blocks so as to cluster them together into a contiguous set of blocks on the disk. When the cluster crosses the boundary into the first indirect block, the first indirect block is initially allocated in a position immediately following the last direct block. Block reallocation would usually destroy locality by moving the indirect block out of the way to keep the data blocks contiguous. This change compensates for this problem by noting that the first indirect block should be left immediately following the last direct block. It then tries to start a new cluster of contiguous blocks (referenced by the indirect block) immediately following the indirect block. We should also do this for other indirect block boundaries, but it is only important for the first one. Suggested by: Bruce Evans MFC: 2 weeks
* Replace log(3) with flsll(3) for watchdogd(8) and drop libm dependency.delphij2012-11-032-3/+4
| | | | MFC after: 2 weeks
* Merge r242395,242483 from mutex implementation:attilio2012-11-033-43/+155
| | | | | | | | | | | | | | | | | give rwlock(9) the ability to crunch different type of structures, with the only constraint that they have a lock cookie named rw_lock. This name, then, becames reserved from the struct that wants to use the rwlock(9) KPI and other locking primitives cannot reuse it for their members. Namely such structs are the current struct rwlock and the new struct rwlock_padalign. The new structure will define an object which has the same layout of a struct rwlock but will be allocated in areas aligned to the cache line size and will be as big as a cache line. For further details check comments on above mentioned revisions. Reviewed by: jimharris, jeff
* Revert the change that makes less default.eadler2012-11-032-2/+2
| | | | | | | | | | | | | | | | | Since I've committed this I've receieved roughly an equal amount of email thanking me for making this change and asking me to revert it. I've resisted making this change because new users tend to prefer less over more and these users are the least likely to know how to change the PAGER on their own. Requested by: many Objected to: just as many Decision made by: core Approved by: cperciva MFC after: 3 days
* Fix errno in a couple of error cases.tuexen2012-11-031-1/+3
| | | | MFC after: 3 days
* Print a newline after the error message.jh2012-11-031-0/+1
| | | | | PR: bin/168447 Submitted by: Boris Kochergin
* HAL API updates, from the previous couple of HAL commits.adrian2012-11-031-2/+4
|
* HAL API changes!adrian2012-11-033-3/+15
| | | | | | | | * introduce a new HAL API method to pull out the TX status descriptor contents. * Add num_delims to the 11n first aggr method. This isn't used by the driver at the moment so it won't affect anything.
* Add a debug method to dump the EDMA TX status descriptor contents out.adrian2012-11-032-0/+14
| | | | | This requires some HAL API changes to be useful, as there's no way right now to pull out the TX status descriptor contents.
* Sync strlcpy with userland version.delphij2012-11-031-33/+17
| | | | MFC after: 1 month
* Sync strlen with userland implementation.delphij2012-11-031-13/+98
| | | | MFC after: 1 month
* Fix typobapt2012-11-031-1/+1
|
* If no contents keyword is specified, the default for files issjg2012-11-031-0/+47
| | | | | | the named file. Approved by: marcel (mentor)
* Add a couple of examples.joel2012-11-021-1/+65
| | | | Obtained from: OpenBSD
* Copy code from scsi_read_write() as mfi_build_syspd_cdb() to build SCSIdelphij2012-11-021-26/+82
| | | | | | | | | | | command properly. Without this change, mfi(4) always sends 10 byte READ and WRITE commands, which will cause data corruption when device is larger than 2^32 sectors. PR: kern/173291 Submitted by: Steven Hartland <steven.hartland multiplay.co.uk> Reviewed by: mav MFC after: 2 weeks
* Update nsamples and nbuffers defaults to match reality.jimharris2012-11-021-3/+3
|
* A few minor adjustments after r242424:joel2012-11-021-9/+6
| | | | | | | | - Sort entries in SYNOPSIS. - Start sentence on a new line. - Remove redundant textdump dump description. Submitted by: bde
* - In cancel_mkdir_dotdot don't panic if the inodedep is not available. Ifjeff2012-11-021-1/+1
| | | | | | | | | the previous diradd had already finished it could have been reclaimed already. This would only happen under heavy dependency pressure. Reported by: Andrey Zonov <zont@FreeBSD.org> Discussed with: mckusick MFC after: 1 week
* Merge 242488, better use of strlcpy.alfred2012-11-021-2/+3
| | | | Submitted by: Eric van Gyzen <eric@vangyzen.net>
* Document that you can use -v along with -l.alfred2012-11-022-1/+2
| | | | Noticed by: pjd
* Tweak comment to make more clear why it will fail.attilio2012-11-021-1/+1
| | | | Submitted by: jimharris
* kdump: Also decode fcntl commands containing underscores and digits.jilles2012-11-021-1/+1
| | | | | The commands F_SETLK_REMOTE, F_DUPFD_CLOEXEC and F_DUP2FD_CLOEXEC were not decoded.
* Add more obsolete files.antoine2012-11-021-0/+9
|
* Don't allow for more than one segment for the control space sincemjacob2012-11-021-3/+2
| | | | | | | we're not set up to deal with that. X-MFC: 242479 MFC after: 1 week
* Don't allow for more than one segment for the control space sincemjacob2012-11-021-3/+2
| | | | | | we're not set up to deal with that. MFC after: 1 week
* The r241025 fixed the case when a binary, executed from nullfs mount,kib2012-11-0210-15/+78
| | | | | | | | | | | | | | | | | | | | | | | was still possible to open for write from the lower filesystem. There is a symmetric situation where the binary could already has file descriptors opened for write, but it can be executed from the nullfs overlay. Handle the issue by passing one v_writecount reference to the lower vnode if nullfs vnode has non-zero v_writecount. Note that only one write reference can be donated, since nullfs only keeps one use reference on the lower vnode. Always use the lower vnode v_writecount for the checks. Introduce the VOP_GET_WRITECOUNT to read v_writecount, which is currently always bypassed to the lower vnode, and VOP_ADD_WRITECOUNT to manipulate the v_writecount value, which manages a single bypass reference to the lower vnode. Caling the VOPs instead of directly accessing v_writecount provide the fix described in the previous paragraph. Tested by: pho MFC after: 3 weeks
* - Fix struct and struct fields names.glebius2012-11-021-41/+31
| | | | | | - Remove NGM_ATM_CARRIER_CHANGE, which was removed in r118175. Submitted by: Mamontov Roman <mr.xanto gmail.com>
* Remove separate paragraph on ASCII messages and insteadglebius2012-11-021-49/+27
| | | | | | | provide this information along with messages documentation, like this done in manual pages for other netgraph nodes. Submitted by: Mamontov Roman <mr.xanto gmail.com>
* Fix broken macro checking in the libc++ Makefile, introduced in r241909.dim2012-11-021-1/+1
| | | | | | | This caused -std=c++0x not to be passed to the build by default. Pointy hat to: dim MFC after: 3 days
* MFV pciids-20121024, r242469philip2012-11-021-687/+2141
| | | | | | Update to use the latest version of the PCI IDs Repository. MFC after: 1 week
* o OpenBSD 5.2 added.maxim2012-11-021-0/+2
|
* - If DRM_DEBUG_DEFAULT_ON is defined, then initialize drm_debug_flagi toglebius2012-11-021-2/+3
| | | | | | | | | | | all supported debugging bits. - If DRM_DEBUG_DEFAULT_ON isn't defined, then initialize drm_debug_flag to zero. DRM_DEBUG_DEFAULT_ON is defined when module is build with -DDEBUG_DRM or if kernel config has 'options DEBUG_DRM'. Reviewed by: kib
* Drop this from 500 to 128, to save a little space on memory constrainedadrian2012-11-021-1/+1
| | | | platforms.
* Free the dma map -after- it's checked, not before. Or you'll beadrian2012-11-021-1/+1
| | | | potentially referencing already-freed memory.
* Remove the recently added sysctl variable net.pfil.forward.ae2012-11-0217-59/+38
| | | | | | | | | Instead, add protocol specific mbuf flags M_IP_NEXTHOP and M_IP6_NEXTHOP. Use them to indicate that the mbuf's chain contains the PACKET_TAG_IPFORWARD tag. And do a tag lookup only when this flag is set. Suggested by: andre
* 10 years too late add support for "2.88MB 3.5in Extra High Density"eadler2012-11-021-0/+6
| | | | | | | | | | | | | | floppies. Its unlikely that anyone actually uses these or cares about these anymore, since we support other floppy types and this change doesn't hurt - just add it. PR: conf/40777 Submitted by: Antti Kantee <pooka@cubical.fi> Arrival-Date: Fri Jul 19 08:50:02 PDT 2002 Approved by: cperciva (implicit) MFC after: 1 week
* fopen(3): Mention that the "x" mode option is from C11.jilles2012-11-011-1/+5
| | | | MFC after: 1 week
* Add descriptions for callout_reset_on and callout_schedule_on andjimharris2012-11-011-1/+35
| | | | | | | their curcpu variants. Discussed with: mav, davide MFC after: 1 week
* Correct buffer size printout.hselasky2012-11-011-10/+4
| | | | MFC after: 1 week
* Increase default volume for FastTracker playback channels.hselasky2012-11-011-1/+4
| | | | MFC after: 1 week
* Don't disable PCIe just because the host is not a PCI host; the latter flagjmallett2012-11-011-4/+4
| | | | | only applies to non-PCIe systems. If PCIe is in target mode, it will simply and gracefully fail to attach of its own accord.
* Fix sysctl free bug in last commit, which eventually leads to a panic.hselasky2012-11-011-14/+188
| | | | | | | | | Add software mixer table for FastTrack Ultra. Only set volume controls which are valid at startup for standard USB audio devices, so that settings like treble and bass use the reset defaults. MFC after: 1 week
* The test fails with "exit 1" if /usr/games/fortune doesn't actuallyeadler2012-11-011-1/+1
| | | | | | | | | | | exist. Fix that. PR: conf/71994 Submitted by: Mikael Eklund <rma@ludd.ltu.se> Reviewed by: crees Reviewed by: jilles Approved by: cperciva (implicit) MFC after: 3 days
OpenPOWER on IntegriCloud