summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Another long standing vm bug found at Isilon:mlaier2011-05-091-0/+18
| | | | | | | Fix a race between vm_object_collapse and vm_fault. Reviewed by: alc@ MFC after: 3 days
* Recognize BCM5719C PHY.yongari2011-05-092-0/+2
| | | | Submitted by: Geans Pin at Broadcom
* Since r117657, bge(4) does not enable buffer manager for BCM5705 oryongari2011-05-091-34/+47
| | | | | | | | | | | | | | | newer controllers. However, all data sheet I have access has no indication that buffer manager should not be touched on these controllers. It seems the buffer manager always runs on BCM5705 or newer controllers. Some controller(e.g. BCM5719) needs other buffer manager configuration so driver should enable buffer manager for all controllers. Both Linux and OpenBSD/NetBSD use the same approach. This change polls enable bit of block to know whether specified block was really stopped as well as enabling buffer manager for all controllers in driver initialization. Obtained from: NetBSD
* - Simplify multicast address programming.davidch2011-05-092-66/+65
| | | | | | | | - Fix an incorrect "uint32_t *" cast in bxe_set_rx_mode(). Submitted by: yongari@ Approved by: davidch@ MFC after: Two weeks
* Move VT switching hack for suspend/resume from bus drivers to syscons.cjkim2011-05-094-198/+82
| | | | | | using event handlers. A different version was Submitted by: Taku YAMAMOTO (taku at tackymt dot homeip dot net)
* Implement boot-time TSC synchronization test for SMP. This test is executedjkim2011-05-094-13/+75
| | | | | | | when the user has indicated that the system has synchronized TSCs or it has P-state invariant TSCs. For the former case, we may clear the tunable if it fails the test to prevent accidental foot-shooting. For the latter case, we may set it if it passes the test to notify the user that it may be usable.
* Disable diversity combining support until I can get a firm answeradrian2011-05-092-7/+13
| | | | | | | | | from Atheros as to what/when this is supposed to be enabled. Using the default RX fast diversity settings seems to help quite a bit. Whilst I'm here, change the prototype to return HAL_BOOL rather than int.
* Fix a regression I introduced - only swap analog chains if the RX chainmaskadrian2011-05-091-1/+2
| | | | is 0x5.
* Disable TX STBC - it isn't used for now, but it isn't supported on Kite.adrian2011-05-091-1/+2
|
* Add proper build infrastructure for teken.ed2011-05-0910-28/+305
| | | | | | | | | | | I'm not sure whether we should install teken as a library on any stock FreeBSD installation, but I can imagine people want to tinker around with it now and then. Create a /sys/teken/libteken, which holds a Makefile to install a shared library version of the terminal emulator, complete with a manpage. Also add Makefiles for the demo/stress applications, to build it against the shared library.
* Workaround for broken no-name USB audio devices sold by dealextremehselasky2011-05-091-1/+48
| | | | | | called "3D sound" and the alike. MFC after: 14 days
* Import some initial Kite fixed diversity code from Atheros.adrian2011-05-094-44/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | For now, the diversity settings are controlled by 'txantenna', -not- rxantenna. This is because the earlier chipsets had controllable TX diversity; the RX antenna setting twiddles the default antenna register. I'll try sort that stuff out at some point. Call the antenna switch function from the board setup function so scans, channel changes, mode changes, etc don't set the diversity back to a default state too far from what's intended. Things to todo: * Squirrel away the last antenna diversity/combining parameters and restore them during board setup if HAL_ANT_VARIABLE is defined. That way scans, etc don't reset the diversity settings. * Add some more public facing statistics, rather than what's simply logged under HAL_DEBUG_DIVERSITY. For now, the fixed antenna settings behave better than variable settings for me. I have some further fiddling to do.. Obtained from: Atheros
* Remove an un-needed PA cal call here.adrian2011-05-091-2/+0
|
* Release SP's refcount in key_get_spdbyid().vanhu2011-05-091-0/+1
| | | | | | PR: 156676 Submitted by: Tobias Brunner (tobias@strongswan.org) MFC after: 1 week
* This is a full 32 bit field for kite.adrian2011-05-091-1/+1
|
* Refactor TCP ISN increment logic. Instead of firing callout at 100Hz tomav2011-05-091-32/+9
| | | | | | | keep constant ISN growth rate, do the same directly inside tcp_new_isn(), taking into account how much time (ticks) passed since the last call. On my test systems this decreases idle interrupt rate from 140Hz to 70Hz.
* sh: Add \u/\U support (in $'...') for UTF-8.jilles2011-05-087-4/+55
| | | | | | | | | | Because we have no iconv in base, support for other charsets is not possible. Note that \u/\U are processed using the locale that was active when the shell started. This is necessary to avoid behaviour that depends on the parse/execute split (for example when placing braces around an entire script). Therefore, UTF-8 encoding is implemented manually.
* sh: Optimize variable code by storing the length of the name.jilles2011-05-082-124/+125
| | | | Obtained from: NetBSD
* Fix the 5ghz fast clock logic.adrian2011-05-082-4/+22
| | | | | | | | | | | | | | | | The macro which I incorrectly copied into ah_internal.h assumed that it'd be called with an AR_SREV_MERLIN_20() check to ensure it was only enabled for Merlin (AR9280) silicon revision 2.0 or later. Trouble is, the 5GHz fast clock EEPROM flag is only valid for EEPROM revision 16 or greater; it's assumed to be enabled by default for Merlin rev >= 2.0. This meant it'd be incorrectly set for AR5416 and AR9160 in 5GHz mode. This would have affected non-default clock timings such as SIFS, ACK and slot time. The incorrect slot time was very likely wrong for 5ghz mode.
* * Add AR_SREV_KITE macro for later useadrian2011-05-081-1/+2
| | | | | | | * Modify AR_SREV_MERLIN_20() to match the Atheros/Linux ath9k behaviour - its supposed to match Merlin 2.0 and later Merlin chips. AR_SREV_MERLIN_20_OR_LATER() matches AR9280 2.0 and later chips (AR9285, AR9287, etc.)
* Revert r221655:bcr2011-05-081-6/+2
| | | | | Various people voiced their concerns about these changes. Until this is resolved, we should use the old version.
* sh(1): Update BUGS section for UTF-8 support.jilles2011-05-081-2/+7
|
* We now have multiple filesystems (UFS, ZFS, ...), so for tools that onlygavin2011-05-083-8/+8
| | | | | | | | operate on one type of filesystem, mention this. While here, capitalise the use of "UFS" in growfs.8 to match other uses of the term in other man pages. MFC after: 1 week
* Limit number of sectors that can be addressed.ae2011-05-081-5/+2
| | | | MFC after: 1 week
* Enable 11n (sans HT40) support.bschmidt2011-05-081-35/+20
|
* Limit number of sectors that can be addressed.ae2011-05-081-2/+2
| | | | MFC after: 1 week
* Jails have a problem in that if the jail directory is world-readable,bcr2011-05-081-2/+6
| | | | | | | | | | | | | | | an attacker with root access to the jail can create a setuid binary for their own use in the host environment (if they also have this access), thus breaking root in the host. This exploit is impossible if the jail's files are not world-readable. Add instructions to the man page on how to create a jail with the correct permissions set. PR: docs/156853 Submitted by: Chris Rees (utisoft at gmail dot com) Reviewed by: cperciva (security parts) MFC after: 9 days
* Limit number of sectors that can be addressed.ae2011-05-081-2/+5
| | | | Reject table if blkcount from metadata is greater than provider.
* Notify firmware about various HT parameters once associated.bschmidt2011-05-082-25/+37
|
* Limit number of sectors that can be addressed.ae2011-05-081-2/+2
| | | | MFC after: 1 week
* Add support for TX packet aggregation.bschmidt2011-05-083-64/+282
|
* Add support for RX packet aggregation.bschmidt2011-05-082-17/+45
|
* Add support for transmitting frames at MCS rates.bschmidt2011-05-082-14/+54
|
* Prepare for transmitting frames at MCS rates:bschmidt2011-05-083-88/+66
| | | | | | | | | - instead of calling iwn_plcp_signal() for every frame, map the expected value directly within wn->ridx - concat plcp, rflags and xrflags, there is no clean byte boundary within the flags, for example the antenna setting uses bit 6, 7 and 8 - there is still need for a custom rate to plcp mapping, as those expected by the hardware are not conform to the std
* Replace UINT_MAX to UINT32_MAX.ae2011-05-082-4/+4
| | | | | Pointed out by: kib MFC after: 1 week
* sh: Add UTF-8 support to pattern matching.jilles2011-05-083-12/+182
| | | | | | | | | | ?, [...] patterns match codepoints instead of bytes. They do not match invalid sequences. [...] patterns must not contain invalid sequences otherwise they will not match anything. This is so that ${var#?} removes the first codepoint, not the first byte, without putting UTF-8 knowledge into the ${var#pattern} code. However, * continues to match any string and an invalid sequence matches an identical invalid sequence. (This differs from fnmatch(3).)
* Limit number of sectors that can be addressed.ae2011-05-081-2/+2
| | | | MFC after: 1 week
* Limit number of sectors that can be addressed.ae2011-05-081-2/+2
| | | | MFC after: 1 week
* Allow to specify remote as 'none' again which was broken by r219351, wherepjd2011-05-081-1/+8
| | | | | | | 'none' was defined as a value for checksum. Reported by: trasz MFC after: 1 week
* Read chainmask information before announcing it.bschmidt2011-05-081-22/+22
|
* Add HT capabilities to probe requests.bschmidt2011-05-081-4/+3
|
* Disable background scan support for 4965 adapters.bschmidt2011-05-081-1/+3
| | | | | | On legacy channels every once in a while the firmware throws a SYSASSERT on line 208. On HT channels though this does always happen and I'm not aware of any workaround currently.
* RX aggregation is slightly different then the legacy path, we will onlybschmidt2011-05-081-1/+0
| | | | receive one RX_PHY for each aggregate and not one RX_PHY per frame.
* Allocate all TX rings, those will be use for TX packet aggregation.bschmidt2011-05-081-7/+0
|
* Use the enhanced TX power information availabe on newer EEPROMs.bschmidt2011-05-083-9/+45
|
* Hook HT channel setup.bschmidt2011-05-081-35/+43
|
* The 6000 series adapters have a slightly different offset for band 6,bschmidt2011-05-082-1/+15
| | | | 2GHz HT40 channels.
* Re-add 2 device IDs which got lost.bschmidt2011-05-081-0/+2
| | | | Pointed out by: benjsc
* Document the following sysctls:pjd2011-05-081-2/+22
| | | | | | | | | kern.geom.eli.version kern.geom.eli.key_cache_limit kern.geom.eli.key_cache_hits kern.geom.eli.key_cache_misses MFC after: 1 week
* Fix isitme(), which is used to check if node-specific configurationtrociny2011-05-081-1/+3
| | | | | | | belongs to our node, and was returning false positive if the first part of a node name matches short hostname. Approved by: pjd (mentor)
OpenPOWER on IntegriCloud