summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* When constructing a new cpuset, apply the parent cpuset's mask to the newjhb2011-03-081-4/+4
| | | | | | | | set's mask rather than the root mask. This was causing the root mask to be modified incorrectly. Reviewed by: jeff MFC after: 1 week
* Update to keep in sync with the HALadrian2011-03-081-7/+5
|
* Tunes and fixes the new DC-CC to seem to hit therrs2011-03-0814-205/+583
| | | | | | | | | right mix. Still may need some tweaks but it appears to almost not give away too much to an RFC2581 flow, but can really minimize the amount of buffers used in the net. MFC after: 3 months
* Do not assert buffer lock in VFS_STRATEGY() when kernel already paniced.kib2011-03-081-1/+1
| | | | | Sponsored by: The FreeBSD Foundation MFC after: 1 week
* - Bugfix: Root HUBs do not support re-enumeration.hselasky2011-03-081-0/+6
| | | | | MFC after: 14 days Approved by: thompsa (mentor)
* Break out the ath regulatory domain structures into a separate header file.adrian2011-03-082-66/+113
|
* Implement open-loop TX power control (OLC) for Merlin (AR9280) andadrian2011-03-0812-175/+740
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | generally tidy up the TX power programming code. Enforce that the TX power offset for Merlin is -5 dBm, rather than any other value programmable in the EEPROM. This requires some further code to be ported over from ath9k, so until that is done and tested, fail to attach NICs whose TX power offset isn't -5 dBm. This improves both legacy and HT transmission on my merlin board. It allows for stable MCS TX up to MCS15. Specifics: * Refactor out a bunch of the TX power calibration code - setting/obtaining the power detector / gain boundaries, programming the PDADC * Take the -5 dBm TX power offset into account on Merlin - "0" in the per-rate TX power register means -5 dBm, not 0 dBm * When doing OLC * Enforce min (0) and max (AR5416_MAX_RATE_POWER) when fiddling with the TX power, to avoid the TX power values from wrapping when low. * Implement the 1 dBm cck power offset when doing OLC * Implement temperature compensation for 2.4ghz mode when doing OLC * Implement an AR9280 specific TX power calibration routine which includes the OLC twiddles, leaving the earlier chipset path (AR5416, AR9160) alone Whilst here, use these refactored routines for the AR9285 TX power calibration/programming code and enforce correct overflow/underflow handling when fiddling with TX power values. Obtained from: linux ath9k
* cxgbe shouldn't directly know of the UMA zones where network buffersnp2011-03-083-22/+48
| | | | | | come from. MFC after: 1 week
* Only validate the partition setup when the user presses "Save". If the usernwhitehorn2011-03-081-2/+2
| | | | | wants to exit without saving, it's not a problem if the disk is set up in an invalid way.
* sh: Test that . /dev/null returns exit status 0 and does not preserve $?.jilles2011-03-071-0/+10
| | | | | | | Preserving $? may cause problems particularly if set -e is in effect. It may be useful to preserve the old value of $? in the dot script but this must not be implemented in such a way that it would break this test.
* Simplify uses of the web of pointers.kib2011-03-072-11/+7
| | | | | Reviewed by: mckusick MFC after: 1 week
* - Remove superfluous ucom device lines in USB manual pages.hselasky2011-03-0713-13/+0
| | | | | | Submitted by: Carl @ telus.net MFC after: 14 days Approved by: thompsa (mentor)
* Remove dead code that snuck in from the 32-bit PowerPC version of thisnwhitehorn2011-03-071-4/+0
| | | | file. The error being checked for does not exist on 64-bit systems.
* Unbreak the build.pjd2011-03-071-5/+5
| | | | MFC after: 2 weeks
* The UFS dirhash code was attempting to update shared state in the dirhashjhb2011-03-072-18/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | from multiple threads while holding a shared lock during a lookup operation. This could result in incorrect ENOENT failures which could then be permanently stored in the name cache. Specifically, the dirhash code optimizes the case that a single thread is walking a directory sequentially opening (or stat'ing) each file. It uses state in the dirhash structure to determine if a given lookup is using the optimization. If the optimization fails, it disables it and restarts the lookup. The problem arises when two threads both attempt the optimization and fail. The first thread will restart the loop, but the second thread will incorrectly think that it did not try the optimization and will only examine a subset of the directory entires in its hash chain. As a result, it may fail to find its directory entry and incorrectly fail with ENOENT. To make this safe for use with shared locks, simplify the state stored in the dirhash and move some of the state (the part that determines if the current thread is trying the optimization) into a local variable. One result is that we will now try the optimization more often. We still update the value under the shared lock, but it is a single atomic store similar to i_diroff that is stored in UFS directory i-nodes for the non-dirhash lookup. Reviewed by: kib MFC after: 1 week
* Add missing declarations that I intended to commit with r219359.das2011-03-071-0/+2
| | | | Not sure why we have math.h in lib/msun/ and complex.h in include/.
* Correct a typo in the malloc(3) manpage. Malloc options are set in therstone2011-03-071-2/+2
| | | | | | | MALLOC_OPTIONS environment variable, not JEMALLOC_OPTIONS. Reviewed by: jasone Approved by: emaste (mentor)
* Add AMD Geode CPU type to bsd.cpu.mk and examples/etc/make.confmm2011-03-072-4/+4
| | | | | | | For CPUTYPE=core2 use -march=core2 PR: gnu/155308 MFC after: 2 weeks
* Backport Intel Core 2 and AMD Geode CPU types from gcc-4.3 (GPLv2)mm2011-03-077-48/+361
| | | | | | | | These options are supported in this shape in all newer GCC versions. PR: gnu/155308 Obtained from: gcc 4.3 (rev. 118090, 118973, 120846; GPLv2) MFC after: 2 weeks
* Print some of the numbers in human readable form (using %N).pjd2011-03-071-6/+10
| | | | MFC after: 2 weeks
* - Log size of data to synchronize in human readable form (using %N).pjd2011-03-071-6/+18
| | | | | | | - Log synchronization time (using %T). - Log synchronization speed in human readable form (using %N). MFC after: 2 weeks
* Use %S to print IP address and port number.pjd2011-03-071-18/+2
| | | | MFC after: 2 weeks
* - Turn on printf extentions.pjd2011-03-073-2/+92
| | | | | | | | | | - Load support for %T for pritning time. - Add support for %N for printing number in human readable form. - Add support for %S for printing sockaddr structure (currently only AF_INET family is supported, as this is all we need in HAST). - Disable gcc compile-time format checking as this will no longer work. MFC after: 2 weeks
* Provides three states for pjdlog_initialized, so we can also tell thatpjd2011-03-071-25/+29
| | | | | | this is fist initialization ever. MFC after: 2 weeks
* To be able to use printf extensions we need to turn off gcc format checking.pjd2011-03-071-0/+3
| | | | | | | | Following the convention of NO_WERROR and NO_WCAST_ALIGN add NO_WFORMAT, which, when defined in Makefile, turns off compile-time format checking (by adding -Wno-format), but still allows to use high WARNS level. MFC after: 2 weeks
* Add cexp() to the complex(3) manpage. Thanks to bde for pointing outdas2011-03-071-14/+12
| | | | that I missed this.
* Remove part of an uncommitted change that snuck into the last commit.das2011-03-071-1/+0
|
* Remove dead code.dchagin2011-03-071-2/+0
| | | | MFC after: 1 Week
* Remove unnecessary cast.stefanf2011-03-071-1/+1
| | | | Reviewed by: jilles
* Add some tests for cexp() and cexpf(). (I need to clean up all ofdas2011-03-073-1/+391
| | | | | these tests some day, but in the mean time, they're a useful sanity check for future changes.)
* Convert log10f() to use __kernel_log(), which is more accurate and simpler.das2011-03-071-11/+19
|
* Convert log10() to use __kernel_log(), which is more accurate and simpler.das2011-03-071-38/+16
|
* Add cexp() and cexpf().das2011-03-075-2/+317
| | | | Reviewed by: bde (earlier version)
* Add support for printing out the open-loop TX power control EEPROM fields.adrian2011-03-061-2/+22
|
* Allow to compress on-the-wire data using two algorithms:pjd2011-03-0614-4/+1037
| | | | | | | | | | | - HOLE - it simply turns all-zero blocks into few bytes header; it is extremely fast, so it is turned on by default; it is mostly intended to speed up initial synchronization where we expect many zeros; - LZF - very fast algorithm by Marc Alexander Lehmann, which shows very decent compression ratio and has BSD license. MFC after: 2 weeks
* mbone is no longer a physical categorydougb2011-03-062-2/+0
| | | | Submitted by: pav
* The execution of the shebang script requires putting interpreter path,kib2011-03-061-1/+1
| | | | | | | | | | | | possible option and script path in the place of argv[0] supplied to execve(2). It is possible and valid for the substitution to be shorter then the argv[0]. Avoid signed underflow in this case. Submitted by: Devon H. O'Dell <devon.odell gmail com> PR: kern/155321 MFC after: 1 week
* Allow to checksum on-the-wire data using either CRC32 or SHA256.pjd2011-03-0614-195/+467
| | | | MFC after: 2 weeks
* sh(1): Reduce excessive semicolon-separated sentences.jilles2011-03-061-4/+4
| | | | Reported by: Benjamin Kaduk
* Make this makefile a little more make-like (e.g. build only things thatnwhitehorn2011-03-061-31/+82
| | | | | need to be rebuilt) and add an FTP-area target. Next will be docs and memstick builds.
* Temporarily revert r219272; it breaks acl_is_trivial_np(3).trasz2011-03-061-2/+2
|
* Simplify various code that allowed for sys_signame being lower case.jilles2011-03-062-20/+3
| | | | This was changed in r218285.
* Because we call __printf_out() with a on-stack buffer, also callpjd2011-03-061-2/+4
| | | | | | __printf_flush() so we are sure it won't be referenced after we return. MFC after: 2 weeks
* expand_number() needs uint64_t, declare it here if not already declared.pjd2011-03-061-0/+5
| | | | MFC after: 3 days
* Include stdio.h, so we can include printf.h in any order, as it needs FILE.pjd2011-03-061-0/+1
| | | | MFC after: 2 weeks
* Fix various issues in how %#T is handled:pjd2011-03-061-7/+11
| | | | | | | | | | - If precision is 0, don't print period followed by no digits. - If precision is 0 stop printing units as soon as possible (eg. if we have three years and five days and precision is 0 print only 3y5d). - If precision is not 0, print all units (eg. 3y0d0h0m0s.00). MFC after: 2 weeks
* Add some more IDs of HighPoint RocketRAID 64x.mav2011-03-061-0/+2
|
* - With the addition of TLS support binutils started to make the addendmarius2011-03-062-1/+14
| | | | | | | | | | values for resolved symbols relative to relocbase instead of sections so detect this case and handle as appropriate, which allows using kernel modules linked with affected versions of binutils. Actually I think this is a bug in binutils but given that apparently nobody complained for nearly six years and powerpc has basically the same workaround I decided to put it in for the sparc64 kernel, too. - Fix R_SPARC_HIX22 relocations. Apparently these are hardly ever used.
* - Consistently abbreviate the names of the relocations.marius2011-03-062-52/+57
| | | | | - End sentences with dots. - Fix whitespace.
* Add missing bus_dmamap_sync() calls for the work DMA map.marius2011-03-061-1/+14
| | | | MFC after: 2 weeks
OpenPOWER on IntegriCloud