summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Ring the freelist doorbell from within refill_fl. While here, fix a bugnp2011-04-201-16/+20
| | | | | | | | that could have allowed the hardware pidx to reach the cidx even though the freelist isn't empty. (Haven't actually seen this but it was there waiting to happen..) MFC after: 1 week
* sh: Do not word split "${#parameter}".jilles2011-04-202-2/+10
| | | | | | | | | | | | | This is only a problem if IFS contains digits, which is unusual but valid. Because of an incorrect fix for PR bin/12137, "${#parameter}" was treated as ${#parameter}. The underlying problem was that "${#parameter}" erroneously added CTLESC bytes before determining the length. This was properly fixed for PR bin/56147 but the incorrect fix was not backed out. Reported by: Seeker on forums.freebsd.org MFC after: 2 weeks
* Only set the sample rate if the USB audio channel reportshselasky2011-04-201-4/+3
| | | | | | | that it supports the frequency control request. MFC after: 7 days Approved by: thompsa (mentor)
* Correct comment.pjd2011-04-201-1/+1
| | | | MFC after: 1 week
* When we become primary, we connect to the remote and expect it to be inpjd2011-04-202-13/+56
| | | | | | | | | | secondary role. It is possible that the remote node is primary, but only because there was a role change and it didn't finish cleaning up (unmounting file systems, etc.). If we detect such situation, wait for the remote node to switch the role to secondary before accepting I/Os. If we don't wait for it in that case, we will most likely cause split-brain. MFC after: 1 week
* Use the correct free routine when destroying a control queue.np2011-04-201-1/+1
| | | | X-MFC after: r220873
* Add ref to the latest firmware additions.bschmidt2011-04-201-1/+5
|
* Now that all bits are in for 1030/6230 adapters enable those.bschmidt2011-04-201-32/+25
| | | | | While here pull the adapter names from the Linux driver and sort the list by ID.
* The 6000 series gen2 adapters have 2 firmware images, one withbschmidt2011-04-201-2/+4
| | | | advanced btcoex support and one without.
* Add firmware images for the 6000 series g2a and g2b adapters.bschmidt2011-04-206-1/+16002
|
* Update iwn(4) firmware blobs:bschmidt2011-04-2010-20344/+20274
| | | | | | - bump iwn1000fw to 39.31.5.1 - bump iwn5000fw to 8.83.5.1 - bump iwn6050fw to 41.28.5.1
* Add basic support for advanced bluetooth coexistence requiredbschmidt2011-04-203-2/+105
| | | | for 6005 gen2b (1030/6030) adapters.
* If we act in different role than requested by the remote node, log itpjd2011-04-201-1/+1
| | | | | | as a warning and not an error. MFC after: 1 week
* Timeout must be positive.pjd2011-04-201-0/+4
| | | | MFC after: 1 week
* r179417 introduced a bug into pthread_once(). Previously pthread_once()rstone2011-04-201-0/+2
| | | | | | | | | | | | | | | | | used a global pthread_mutex_t for synchronization. r179417 replaced that with an implementation that directly used atomic instructions and thr_* syscalls to synchronize callers to pthread_once. However, calling pthread_mutex_lock on the global mutex implicitly ensured that _thr_check_init() had been called but with r179417 this was no longer guaranteed. This meant that if you were unlucky enough to have your first call into libthr be a call to pthread_once(), you would segfault when trying to access the pointer returned by _get_curthread(). The fix is to explicitly call _thr_check_init() from pthread_once(). Reviewed by: davidxu Approved by: emaste (mentor) MFC after: 1 week
* When calling XPT_REL_SIMQ to ajust number of openings, do not try to reallymav2011-04-201-0/+1
| | | | | release device. We haven't frozen the device before and attempt to release it will at least cause warning message from kernel.
* Add basic support for DMA-capable ATA disks on DMA-incapable controller.mav2011-04-203-2/+10
| | | | This is really rare situation these days, but still may happen in embedded.
* Compile in in_cksum* implementations for both IPv6 and IPv6.bz2011-04-209-10/+10
| | | | | | | | | | | | | | | While in_pseudo() etc. is often used in offloading feature support, in_cksum() is mostly used to fix some broken hardware. Keeping both around for the moment allows us to compile NIC drivers even in an IPv6 only environment without the need to mangle them with #ifdef INETs in a way they are not prepared for. This will leave some dead code paths that will not be exercised for IPv6. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 3 days
* Don't spam syslog with "inet_ntop(): Address family not supportedru2011-04-201-2/+3
| | | | | | | by protocol family" when processing requests received from the UNIX domain socket. MFC after: 3 days
* MFp4 CH=191760,191770:bz2011-04-201-0/+9
| | | | | | | | | | | | | Not compiling in and not initializing from inetsw from in_proto.c for IPv6 only, we need to initialize upper layer protocols from inet6sw. Make sure to not initialize them twice in a Dual-Stack environment but only conditionally on no INET as we have done for TCP for a long time. Otherwise we would leak resources. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 3 days
* MFp4 CH=191760:bz2011-04-201-8/+17
| | | | | | | | | | | | | When compiling out INET we still need the initialization routines as well as the tuning and montoring sysctls shared with IPv6. Move the two send/recvspace variables up from the middle of the file to ease compiling out the INET only code. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 3 days
* MFp4 CH=191470:bz2011-04-204-20/+28
| | | | | | | | | | | | | | Move the ipport_tick_callout and related functions from ip_input.c to in_pcb.c. The random source port allocation code has been merged and is now local to in_pcb.c only. Use a SYSINIT to get the callout started and no longer depend on initialization from the inet code, which would not work in an IPv6 only setup. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 4 days
* MFp4 CH=191466:bz2011-04-202-2/+1
| | | | | | | | | | Move fw_one_pass to where it belongs: it is a property of ipfw, not of ip_input. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 3 days
* Modify the offset + size checks for read and write in thermacklem2011-04-201-3/+13
| | | | | | | | | experimental NFS client to take care of overflows for the calls above the buffer cache layer in a manner similar to r220876. Thanks go to dillon at apollo.backplane.com for providing the snippet of code that does this. MFC after: 2 weeks
* Modify the offset + size checks for read and write in thermacklem2011-04-201-3/+6
| | | | | | | | experimental NFS client to take care of overflows. Thanks go to dillon at apollo.backplane.com for providing the snippet of code that does this. MFC after: 2 weeks
* Add stablerestart(5) to the See Also list for nfsd.8.rmacklem2011-04-191-1/+2
| | | | | | | This is a content change. Suggested by: Jeremy Chadwick MFC after: 2 weeks
* Use Toeplitz hash for RSS.np2011-04-191-0/+1
| | | | MFC after: 3 days
* - Move all Ethernet specific items from sge_eq to sge_txq. sge_eq isnp2011-04-193-115/+345
| | | | | | | | | | now a suitable base for all kinds of egress queues. - Add control queues (sge_ctrlq) and allocate one of these per hardware channel. They can be used to program filters and steer traffic (and more). MFC after: 1 week
* Correctly output the entire array for hw.acpi.thermal._ACx.mdf2011-04-191-1/+2
| | | | | Reported by: Taku YAMAMOTO < taku AT tackymt DOT homeip DOT net > Tested by: Nick Ulen < uncle AT wolfman DOT devio DOT us >
* Enable DC calibration for all 6000 series devices, except thosebschmidt2011-04-191-1/+6
| | | | | with an internal PA. Override the chainmask also for the 6050.
* Pull some features out of the firmware:bschmidt2011-04-193-3/+20
| | | | | | | | | - If a ENH_SENS TLV section exit the firmware is capable of doing enhanced sensitivity calibration. - Newer devices/firmwares have more calibration commands therefore hardcoding the noise gain/reset commands no longer works. It is supposed to use the next index after the newest calibration type support. Read the command index of the TLV section if available.
* Scenario:pjd2011-04-192-0/+20
| | | | | | | | | | | | | | | | | | | - We have two nodes connected and synchronized (local counters on both sides are 0). - We take secondary down and recreate it. - Primary connects to it and starts synchronization (but local counters are still 0). - We switch the roles. - Synchronization restarts but data is synchronized now from new primary (because local counters are 0) that doesn't have new data yet. This fix this issue we bump local counter on primary when we discover that connected secondary was recreated and has no data yet. Reported by: trociny Discussed with: trociny Tested by: trociny MFC after: 1 week
* Remove support for the Intel C Compiler from the build infrastructure.dim2011-04-198-109/+21
| | | | | | This support has not worked for several years, and is not likely to work again, unless Intel decides to release a native FreeBSD version of their compiler. ;)
* Remove a comment which is no longer true since r213878, apart frommarius2011-04-191-3/+0
| | | | | | this driver not using mii(4) in the first place. Reviewed by: yongari
* Allow VOP_ALLOCATE to be iterative, and have kern_posix_fallocate(9)mdf2011-04-193-48/+61
| | | | | | drive looping and potentially yielding. Requested by: kib
* Do not invoke resume event handlers if suspend was successful.jkim2011-04-191-4/+6
| | | | Pointy hat to: jkim
* Improve the man page and l2control's usage() a bit.emax2011-04-192-13/+22
| | | | | Submitted by: arundel MFC after: 1 week
* Add suspend/resume event handlers for apm(4) as well.jkim2011-04-191-6/+7
|
* - Rewrite functions that copyin/out NAT configuration, so that theyglebius2011-04-193-55/+74
| | | | | | | | | | calculate required memory size dynamically. - Fix races on chain re-lock. - Introduce new field to ip_fw_chain - generation count. Now utilized only in the NAT configuration, but can be utilized wider in ipfw. - Get rid of NAT_BUF_LEN in ip_fw.h PR: kern/143653
* Call init_param1() much earlier, so that msgbufsize is non-zero when we wantpluknet2011-04-191-2/+3
| | | | | | | to map and use the msgbuf. Reviewed by: cognet MFC after: 1 week
* Rewrite NAT configuration parser, so that memory allocation size isglebius2011-04-191-186/+189
| | | | | | calculated dynamically. PR: kern/143653
* Fix mirror selection, which was broken by stderr redirection.nwhitehorn2011-04-192-2/+2
| | | | Reported by: Garrett Cooper
* Revert r220809 since it put the entry in the wrong placermacklem2011-04-191-2/+1
| | | | in the list and didn't change the date.
* Add sysctl handlers for net.inet.ip.dummynet.hash_size, .pipe_byte_limitae2011-04-191-8/+52
| | | | | | and .pipe_slot_limit oids to prevent to set incorrect values. MFC after: 2 weeks
* ipdn_bound_var() functions is designed to bound a variable betweenae2011-04-191-1/+5
| | | | | | | | | | specified minimum and maximum. In case when specified default value is out of bounds it does not work as expected and does not limit variable. Check that default value is in range and limit it if needed. Also bump max_hash_size value to 65536 to correspond with manual page. PR: kern/152887 MFC after: 2 weeks
* Fix some English grammar.mav2011-04-196-17/+17
|
* According to specification. device should respond to COMRESET with COMINITmav2011-04-193-26/+47
| | | | | in no more then 10ms. If we detected no device presence within that time, there is no reason to wait longer.
* Properly handle memory allocation errors during error recovery.mav2011-04-193-16/+55
|
* Add leading zeros when printing the physical memory chunks on __powerpc64__.andreast2011-04-191-1/+1
| | | | Approved by: nwhitehorn (mentor)
* Fix make buildworld -DMODULES_WITH_WORLD after r220454.uqs2011-04-191-0/+1
|
OpenPOWER on IntegriCloud