summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Expose the umtx_key structure and API to the rest of the kernel.jhb2011-02-232-50/+53
| | | | MFC after: 3 days
* Properly handle BARs bigger than 4G. The '1' was treated as an intjhb2011-02-231-3/+3
| | | | | | | | causing the size calculation to be truncated to the size of an int (32-bits on all current architectures). Submitted by: Anish akgupt3 of gmail MFC after: 1 week
* Fix off-by-one error in check against max_threads_per_proc.jhb2011-02-231-1/+1
| | | | | Submitted by: arundel MFC after: 1 week
* Calculate and return the count in vmspace_swap_count as a vm_offset_tbrucec2011-02-232-8/+9
| | | | | | | | | | instead of an int to avoid overflow. While here, clean up some style(9) issues. PR: kern/152200 Reviewed by: kib MFC after: 2 weeks
* Fix typos - remove duplicate "is".brucec2011-02-238-8/+8
| | | | | | PR: docs/154934 Submitted by: Eitan Adler <lists at eitanadler.com> MFC after: 3 days
* Remove unnecessary controller reinitialization which resulted inyongari2011-02-231-5/+13
| | | | | | link flips during alias address insertion or dhclient operation. While I'm here remove dc_reset() in DC_ISR_BUS_ERR case. Device is fully reinitialized again in dc_init_locked().
* Update how accounting log files are rotated.dougb2011-02-222-11/+38
| | | | | | | | | | | | | | | | The old version had a race between the time that the old file was cp'ed to acct.0 and the time that 'sa -s' was run that prevented the commands that occurred in the meantime from being backed up. It's also arguable that the old version was inefficient in using cp which can be a problem on a space-constrained system. This version avoids both problems, albeit it's considerably more complicated. The advantage of putting the log rotation in the rc.d script is that it can handle the _enable and _file questions without having to do gymnastics to discover either value in the periodic script. As a side effect of reviewing the rc.d script I cleaned it up a bit.
* Added patch-functions-upgrade which should fix some kernel panicsjpaetzel2011-02-221-2/+2
| | | | | | | doing upgrades and uninstalling linux compat ports. Submitted by: Joerg-Christian Boehme <joerg@chaosdorf.de> Approved by: kib (mentor, implicit)
* Better method for grabbing disk name, dmesg may produce mangled output.jpaetzel2011-02-221-1/+1
| | | | Approved by: kib (mentor, implicit)
* Make sure to only accept and handle action frames which are for us. Inbschmidt2011-02-225-45/+58
| | | | | promiscuous mode we might receive stuff which otherwise gets filtered by hardware.
* Xref makefs(8).jh2011-02-221-1/+2
| | | | | PR: 154708 Submitted by: jhs
* Fix whitespace nit.jhb2011-02-221-1/+0
|
* Eliminate two dubious attempts at optimizing the implementation of aalc2011-02-221-12/+4
| | | | | | | | | | | | | | | | | | file's last accessed, modified, and changed times: TMPFS_NODE_ACCESSED and TMPFS_NODE_CHANGED should be set unconditionally in tmpfs_remove() without regard to the number of hard links to the file. Otherwise, after the last directory entry for a file has been removed, a process that still has the file open could read stale values for the last accessed and changed times with fstat(2). Similarly, tmpfs_close() should update the time-related fields even if all directory entries for a file have been removed. In this case, the effect is that the time-related fields will have values that are later than expected. They will correspond to the time at which fstat(2) is called. In collaboration with: kib MFC after: 1 week
* Add support for optional distributions, installation of the ports tree andnwhitehorn2011-02-223-2/+23
| | | | | src. Fitting all of this on a single CD along with a full system requires changing the default compression algorithm from gzip to xz.
* MFi386: revision 218926nyan2011-02-221-1/+1
| | | | | | | | In sys/boot/i386/boot2/boot2.c, change the type of the 'opts' variable from uint16_t back to uint32_t. The actual option bitmasks (RB_* and RBX_*) assume at least a 32 bit variable. Submitted by: rdivacky
* Use a single list to simplify future maintenance and ensure all list items arelstewart2011-02-221-2/+0
| | | | | | | | | aligned the same (no functional change at the moment as both list items are the same number of characters). Sponsored by: FreeBSD Foundation MFC after: 3 months X-MFC with: 218912
* Make code more friendly to the non-C99 compilers - don't allocatesobomax2011-02-221-4/+8
| | | | | | local variables in the `for' loop declaration. This allows trunk newsyslog.c to be compiled on 7.x. This change should be no-op from the functional POV.
* Regen src.conf(5) after r218941 and r218942.uqs2011-02-221-6/+10
|
* The default for FDT has changed, rename the flag/options file.uqs2011-02-221-1/+1
|
* Flesh out WITHOUT_GROFF support to DTRT.uqs2011-02-229-54/+567
| | | | | | | | | | | | A full featured groff is required during buildworld, so build it always and don't rely on it being present on the host system. vgrind(1) is tightly coupled to a roff processor and will not be built/installed when groff is disabled. Also much of the roff'ed documentation under share/doc will not be built/installed when WITHOUT_GROFF is defined. Reviewed by: ru (partial)
* Teach tools/install.sh the -d directory mode.uqs2011-02-222-4/+20
| | | | | | | | Sync up with flags understood by install(1) [1], and make install(1)'s usage output not hide the clearly documented -M flag. PR: misc/154739 [1] Submitted by: arundel
* Fix bzero() for 64-bit.jchandra2011-02-221-19/+1
| | | | | | | | The existing implementation of bzero incorrectly clears bytes when the start address is not word aligned. Fix it by using REG_SHI macro which works on both 32 and 64 bit. Submitted by: Artem Belevich (fbsdlist at src cx)
* - Fix QA issuesmiwi2011-02-221-45/+55
| | | | | | PR: misc/146687 Submitted by: Garrett Cooper <gcooper@FreeBSD.org> Approved by: rwatson (mentor)
* - Remove no longer in usemiwi2011-02-222-87/+0
| | | | | | | PR: kern/152354 Submitted by: vehemens <vehemens@verizon.net> Discussion with:kib Approved by: rwatson (mentor)
* Back out 218933 and 281934. The easy cases still worked, but someimp2011-02-222-17/+18
| | | | | hard cases broke in worse ways than the status quo. Back them out until that can be resolved.
* Don't set the RTS/CTS enable bit per-scenario if the global RTS/CTSadrian2011-02-221-8/+8
| | | | flags aren't set.
* Select building CLANG based on ${TARGET_ARCH} and existence ofimp2011-02-221-2/+16
| | | | | WITH{,OUT}_CLANG. We default to yes on some archs, no on others, unless WITHOUT_CLANG or WITH_CLANG is defined respectively.
* Testing based on MACHINE_ARCH is problematic. Default to yes to buildimp2011-02-221-14/+1
| | | | | clang. A separate change will fix buildworld to default to yes or no based on the target.
* Shuffle around the RTS/CTS rate/duration logic.adrian2011-02-221-17/+52
| | | | | | | | | | | | | | * Turn ath_tx_calc_ctsduration() into a function that returns the ctsduration, or -1 for HT rates; * add a printf() to ath_tx_calc_ctsduration() which will be very loud if somehow that function is called with an MCS rate; * Add ath_tx_get_rtscts_rate() which returns the RTS/CTS rate to use for the given data rate, incl. the short preamble flag; * Only call ath_tx_calc_ctsduration() for non-11n chipsets; 11n chipsets don't require the rtscts duration to be calculated.
* * Don't setup the scenario if the try count is 0adrian2011-02-221-0/+18
| | | | * Comment what else is going on during rate scenario setup
* Resurrect ofw_pci_if.m from r178578.marius2011-02-211-0/+53
|
* It is IEEE80211_SUPPORT_XXX not IEEE80211_XXX_SUPPORT.bschmidt2011-02-211-6/+6
|
* Add a new mgmt subtype "ACTION NO ACK" defined in 802.11n-2009, while herebschmidt2011-02-218-98/+122
| | | | | | | | | clean up parts of the *_recv_mgmt() functions. - make sure appropriate counters are bumped and debug messages are printed - order the unhandled subtypes by value and add a few missing ones - fix some whitespace nits - remove duplicate code in adhoc_recv_mgmt() - remove a useless comment, probably left in while c&p
* In sys/boot/i386/boot2/boot2.c, change the type of the 'opts' variabledim2011-02-211-1/+1
| | | | | | | from uint16_t back to uint32_t. The actual option bitmasks (RB_* and RBX_*) assume at least a 32 bit variable. Submitted by: rdivacky
* Fix formatting of new stat sysctls; add descriptionsadrian2011-02-211-6/+12
|
* Add a new counter which tracks frames TX'ed with HT protection.adrian2011-02-212-1/+4
|
* Add a vocal warning to ath_hal_computetxtime() function is used for non-11n ↵adrian2011-02-211-0/+5
| | | | | | | | | | | | | | rates. It's used to calculate: * the initial per-rate entries for short/long preamble ACK durations; * packet durations for TDMA slot decisions; * RTS/CTS protection durations; * updating the duration field in the 802.11 frame header This way invalid durations will generate a warning, prompting for it to be fixed.
* Make private functions static.brucec2011-02-211-8/+8
| | | | | | | PR: kern/43611 Submitted by: Matt Emmerton <matt at gsicomp.on.ca> Reviewed by: kib MFC after: 3 days
* mdoc(7) markup.pluknet2011-02-211-1/+1
| | | | | Approved by: avg (mentor), kib (mentor) MFC after: 3 days
* Default to the lowest negotiated rate for mgmt/multicast traffic in 11n modeadrian2011-02-211-0/+18
| | | | | | | | | | The current code transmits management and multicast frames at MCS 0. What it should do is check whether the negotiated basic set is zero (and the MCS set is not) before making this decision. For now, simply default to the lowest negotiated rate, rather than MCS 0. This fixes the behaviour with at least the DLINK DIR-825, which ACKs but silently ignores block-ack (BA) response frames.
* Add some error checking on the return values of chdir() and calloc(). Thenwhitehorn2011-02-212-17/+49
| | | | | | | | first might actually happen, so it displays the error message in a prettier way. Found by: Coverity Prevent(tm) CID: 9121, 9122, 9123, 9124
* Actually install the example Khelp module committed in r218545.lstewart2011-02-212-0/+5
| | | | | | Sponsored by: FreeBSD Foundation MFC after: 4 weeks X-MFC with: r218545
* Get myself a brain, move the call to init_param1() before the first use incognet2011-02-213-6/+9
| | | | | | | at91_machdep.c, and do it for the files I forgot the first time Reported by: andrew Submitted by: pluknet
* Final commit to round out the "Five New TCP Congestion Control Algorithms forlstewart2011-02-2114-8/+2170
| | | | | | | | | | | | | | | | | | | | | | FreeBSD" FreeBSD Foundation funded project. - Add new man pages for the modular congestion control, Khelp and Hhook frameworks (cc.4, cc.9, khelp.9 and hhook.9). - Add new man pages for each available congestion control algorithm (cc_chd.4, cc_cubic.4, cc_hd.4, cc_htcp.4, cc_newreno.4 and cc_vegas.4). - Add a new man page for the Enhanced Round Trip Time (ERTT) Khelp module (h_ertt.4). - Update the TCP (tcp.4) man page to mention the TCP_CONGESTION socket option, cross reference to cc.4 and remove references to the retired "net.inet.tcp.newreno" sysctl MIB variable. In collaboration with: David Hayes <dahayes at swin edu au> and Grenville Armitage <garmitage at swin edu au> Sponsored by: FreeBSD Foundation MFC after: 3 months
* The FD_FORM ioctl used to ignore errors from the floppy controller; now whenbrucec2011-02-211-2/+1
| | | | | | | | it encounters an error it returns an error from the ioctl. Ignore any errors when using the FD_FORM ioctl. PR: kern/103862 MFC after: 3 days
* Fix typos - remove duplicate "the".brucec2011-02-2185-91/+91
| | | | | | PR: bin/154928 Submitted by: Eitan Adler <lists at eitanadler.com> MFC after: 3 days
* Modify the AR5416 11na rate table to use 24mb OFDM 11a for control traffic,adrian2011-02-211-19/+19
| | | | | | rather than MCS 0. Using MCS0 for protecting 11a rates seems a bit silly.
* Implement setting the short preamble bit if it's needed for the current node.adrian2011-02-211-6/+6
| | | | | Short preamble rates are only for legacy rates; MCS rate codes don't have a short preamble code like this.
* Add opteron-sse3, athlon64-sse3 and k8-sse3 cpu types to bsd.cpu.mk.mm2011-02-202-4/+12
| | | | | | | | | - add "sse3" to MACHINE_CPU for the new cpu types - for i386, default to CPUTYPE=prescott for the new cpu types PR: gnu/154906 Discussed with: kib, kan, dim MFC after: 2 weeks
* Backport svn r124339 from gcc 4.3 and add opteron-sse3, athlon64-sse3mm2011-02-203-1/+15
| | | | | | | | | | | | | and k8-sse3 cpu-types for -march=/-mtune= gcc options. These new cpu-types include the SSE3 instruction set that is supported by all newer AMD Athlon 64 and Opteron processors. All three cpu-types are supported by clang and all gcc versions starting with 4.3 SVN rev 124339 (at that time GPLv2 licensed). PR: gnu/154906 Discussed with: kib, kan, dim Obtained from: gcc 4.3 (r124339, GPLv2 licensed) MFC after: 2 weeks
OpenPOWER on IntegriCloud