summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add missing bus_dmamap_sync() calls for the work DMA map.marius2011-03-061-1/+14
| | | | MFC after: 2 weeks
* Add missing bus_dmamap_sync() calls for the work DMA map.marius2011-03-061-1/+17
| | | | MFC after: 2 weeks
* - Allocate the DMA memory used for the work area as coherent as at leastmarius2011-03-061-3/+4
| | | | | | | | the ataahci(4) and atamarvell(4) drivers share it between the host and the controller. - Spell some zeros as BUS_DMA_WAITOK when used as bus_dmamem_alloc() flags. MFC after: 2 weeks
* - Allocate the DMA memory shared between the host and the controller asmarius2011-03-063-31/+41
| | | | | | | | | | | | coherent. - Add some missing bus_dmamap_sync() calls. This includes putting such calls before calling reply handlers instead of calling bus_dmamap_sync() for the request queue from individual reply handlers as these handlers generally read back updates by the controller. Tested on amd64 and sparc64. MFC after: 2 weeks
* Mention setloginclass(2) in login_class(3).trasz2011-03-061-2/+7
|
* Move getloginclass(2) and setloginclass(2) to FBSD_1.2, where they should'vetrasz2011-03-061-2/+2
| | | | been added in the first place.
* Add FBSD_1.2; syscalls added in 9-CURRENT are supposed to go there.trasz2011-03-061-0/+3
| | | | Suggested by: kib
* Add manual page for getloginclass(2) and setloginclass(2).trasz2011-03-062-2/+100
|
* Fix libzpool build.pjd2011-03-063-1/+5
| | | | MFC after: 1 month
* Obligatory first commit to the include myself in the list ofkargl2011-03-061-0/+3
| | | | | | committers list. Approved by: das
* Add an EEPROM op that extracts out the power table offset.adrian2011-03-062-0/+8
| | | | | | | | | | It defaults to -5 dBm for eeproms earlier than v21. This apparently only applies to Merlin (AR9280) or later, earlier 11n chipsets have a power table offset of 0. All the code in ath9k which checks the power table offset and takes it into account first ensures the chip is Merlin or later.
* Make renaming of a ZVOL, ZVOL's parent directory and ZVOL snapshot work.pjd2011-03-055-2/+77
| | | | | Reported by: avg MFC after: 1 month
* Simplify zvol_remove_minors() a bit.pjd2011-03-051-7/+8
| | | | MFC after: 1 month
* Change HALDEBUG() to be a macro that conditionally calls the debug output ↵adrian2011-03-052-4/+11
| | | | | | | | | | | | routine. The earlier way of doing debugging would evaluate the function parameters before calling the HALDEBUG. In the case of detailed register debugging would mean a -lot- of unneeded register IO and other stuff was going on. This method evaluates the ath_hal_debug variable before the function parameters are evaluated, drastically reducing the amount of overhead enabling HAL debugging during compilation.
* Style(9) fix.dchagin2011-03-051-2/+2
| | | | | | Fix indentation in comment, double ';' in variable declaration. MFC after: 1 Week
* Partially reworked r219042.dchagin2011-03-051-29/+21
| | | | | | | | | | | | | | | | The reason for this is a bug at ktrops() where process dereferenced without having a lock. This might cause a panic if ktrace was runned with -p flag and the specified process exited between the dropping a lock and writing sv_flags. Since it is impossible to acquire sx lock while holding mtx switch to use asynchronous enqueuerequest() instead of writerequest(). Rename ktr_getrequest_ne() to more understandable name [1]. Requested by: jhb [1] MFC after: 1 Week
* Add two missing vertical bars.gavin2011-03-051-2/+2
|
* Export login class information via kinfo and make it possible to viewtrasz2011-03-057-3/+37
| | | | it using "ps -o class".
* sh: Fix some warnings in code for arithmetic expressions.jilles2011-03-052-3/+5
| | | | Submitted by: eadler
* Regenerate.trasz2011-03-0510-12/+75
|
* Add two new system calls, setloginclass(2) and getloginclass(2). This makestrasz2011-03-0516-7/+344
| | | | | | | | | it possible for the kernel to track login class the process is assigned to, which is required for RCTL. This change also make setusercontext(3) call setloginclass(2) and makes it possible to retrieve current login class using id(1). Reviewed by: kib (as part of a larger patch)
* Be sure to stay within the bounds of the mod_str array when displayingnp2011-03-051-2/+6
| | | | the transceiver type.
* There is no need to hold an ingress queue's lock while processing itsnp2011-03-051-8/+0
| | | | | | descriptors. MFC after: 1 week
* Calculate how many descriptors can be reclaimed before callingnp2011-03-051-37/+53
| | | | reclaim_tx_descs
* Tweaks for rx:np2011-03-052-85/+112
| | | | | | | | - everything related to LRO should be in #ifdef INET blocks - reorder sge_iq's fields so that the most frequently used are all together - pull all rx code into t4_intr_data directly - let go of the ingress queue lock when passing up data - refill the freelist only if it is short of at least 32 buffers
* Store the ifnet rather than the port_info in each txq and rxq struct.np2011-03-053-10/+10
| | | | MFC after: 1 week
* A txpkts work request should have a valid FID.np2011-03-052-2/+5
| | | | MFC after: 1 week
* Upgrade the firmware on the card automatically if a better version isnp2011-03-052-17/+58
| | | | | | available. Downgrade only for a major version mismatch. MFC after: 1 week
* Resume tx immediately in response to an SGE egress update from the hardware.np2011-03-053-42/+90
| | | | MFC after: 1 week
* Fix incorrect assertion.np2011-03-051-4/+5
| | | | MFC after: 3 days
* Flush both reads *and* writes to registers.mjacob2011-03-051-1/+1
| | | | | Obtained from: Miod Vallat in OpenBSD MFC after: 1 week
* Use ffs() to locate free bits in the inode bitmap rather than a loop withjhb2011-03-041-10/+6
| | | | | | | bit shifts. Reviewed by: mckusick MFC after: 1 month
* Fix a panic that can happen when trying to destroy a lagg(4) with scheduler ↵eri2011-03-041-1/+2
| | | | | | | set to none. Approved by: thompsa(mentor) MFC after: 1 week
* Make UFS use PSARC/2010/029 NFSv4 ACL semantics by default, just liketrasz2011-03-041-2/+2
| | | | | | ZFSv28 does. MFC after: 2 months
* POSIX.1-2008 moved some constants from the XSI option to the Base.jilles2011-03-042-5/+8
| | | | MFC after: 2 weeks
* One more fix. Now all ACL tests pass again.trasz2011-03-041-1/+1
|
* Adapt tools-crossfs.test to the new semantics.trasz2011-03-041-17/+9
|
* Make acl_strip_np(3) use new trivial ACL format for NFSv4 ACls (threetrasz2011-03-041-1/+1
| | | | | | | | entries instead of six). This makes "setfacl -b" do the right thing for ACLs on ZFS. UFS recognizes both kinds of trivial ACLs; no change there. MFC after: 2 months
* Adapt NFSv4 ACL regression test to the fact that the new ZFS usestrasz2011-03-041-2/+2
| | | | new semantics.
* Make ACL tests slightly easier to run.trasz2011-03-044-5/+5
|
* - Add a FEATURE for capsicum (security_capabilities).netchild2011-03-042-1/+3
| | | | | | - Rename mac FEATURE to security_mac. Discussed with: rwatson
* Add the Buffalo (Melco Inc.) WLI-UC-G301Ndaichi2011-03-043-0/+3
| | | | | | PR: usb/155229 Submitted by: Yoshiaki UCHIKAWA MFC after: 1 week
* Fix some _POSIX minimum/maximum values in limits.h:jilles2011-03-031-4/+15
| | | | | | | | | | | * Some values changed in POSIX.1-2001; provide the former value if a program requests compliance to an earlier version of POSIX. [1] * Add missing _POSIX_CLOCKRES_MIN constant. This is a maximum value but otherwise works the same as the minimum values. PR: standards/104743 Submitted by: bde [1] (not exact #ifdefs, but the values) MFC after: 2 weeks
* The sample rate module currently does the slightly wrong thing whenadrian2011-03-031-0/+1
| | | | | | | | | | | determining whether to use MRR or not. It uses the 11g protection mode when calculating 11n related stuff, rather than checking the 11n protection mode. Furthermore, the 11n chipsets can quite happily handle multi-rate retry w/ protection; the TX path and rate control modules need to be taught about that.
* Print out shared flag for debug purpose.dchagin2011-03-031-8/+8
| | | | MFC after: 1 Week
* Don't automatically send a START UNIT to sequential access devices-mjacob2011-03-031-0/+9
| | | | | | | this might cause them to load the tape unintentionally. Reviewed by: gibbs MFC after: 1 month
* Switch PROCESS_SHARE to AUTO_SHARE (as umtx do). Even for SHARED,dchagin2011-03-031-1/+1
| | | | | | | | if page mapped MAP_ANON linux uses private algorithm too. Disscussed with: jhb MFC after: 3 Days
* Make "struct pts_softc" point to ucred instead of uidinfo. This is no-op,trasz2011-03-031-12/+10
| | | | | | required for resource containers. Reviewed by: kib (as part of a larger patch), ed
* Unbreak the build for no options INET6.bz2011-03-032-0/+8
| | | | | PR: kern/155227 Submitted by: Dmitry Afanasiev (KOT MATPOCKuH.Ru)
* MFi386: revision 219186nyan2011-03-031-22/+7
| | | | | | | | | This patch shrinks boot2 a little. o It switches kname to be just a pointer instead of an array. o It changes ioctl to unsigned from uint8_t. o It changes the second keyhit limit to 3 seconds from 5. o It removes bi_basemem/bi_extmem/bi_memsizes_valid setting.
OpenPOWER on IntegriCloud