summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Regen for r234352.jkim2012-04-1610-20/+54
|
*-. Upgrade our copy of llvm/clang to trunk r154661, in preparation of thedim2012-04-162267-121373/+249085
|\ \ | | | | | | | | | | | | | | | | | | upcoming 3.1 release (expected in a few weeks). Preliminary release notes can be found at: <http://llvm.org/docs/ReleaseNotes.html> MFC after: 2 weeks
| | * Vendor import of clang trunk r154661:dim2012-04-142685-52286/+181022
| | | | | | | | | | | | http://llvm.org/svn/llvm-project/cfe/trunk@r154661
| | * Vendor import of clang 3.0 final release:dim2011-12-0937-882/+1113
| | | | | | | | | | | | http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_30/final@145349
| * | Vendor import of llvm trunk r154661:dim2012-04-143870-103774/+237477
| | | | | | | | | | | | http://llvm.org/svn/llvm-project/llvm/trunk@r154661
* | | - Implement pipe2 syscall for Linuxulator. This syscall appeared in 2.6.27jkim2012-04-168-49/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | but GNU libc used it without checking its kernel version, e. g., Fedora 10. - Move pipe(2) implementation for Linuxulator from MD files to MI file, sys/compat/linux/linux_file.c. There is no MD code for this syscall at all. - Correct an argument type for pipe() from l_ulong * to l_int *. Probably this was the source of MI/MD confusion. Reviewed by: emulation
* | | - Use _PATH_TMP instead of hardcoded /tmpbapt2012-04-162-95/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - more style(9) fixes - some refactoring - better error detection - Add the DPADD to Makefile Submitted by: Garrett Cooper <yanegomi@gmail.com> Approved by: des (mentor)
* | | - When interrupt is not requested for VM86 call, make a fake exit point andjkim2012-04-161-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | push the address onto stack as we do for INTn emulation. This avoids stack underflow when we encounter RETF instruction in VM86 mode. Lack of this exit point actually caused page fault in VM86 mode with VESA module when we resume from suspend state[1]. - Remove unnecessary CLI and STI instructions from BIOS interrupt emulation. INTn and IRET must be able to emulate the flag correctly. Reported by: gavin [1] Tested by: gavin (early revision) MFC after: 3 days
* | | Sync with Bryan Venteicher's virtio git repo:grehan2012-04-161-1/+3
| | | | | | | | | | | | | | | | | | | | | d04e609bdd1973cc7d2e8b38b7dcfae057b0962d virtio_blk: Use correct temporary variable in vtblk_poll_request Obtained from: Bryan Venteicher bryanv at daemoninthecloset dot org
* | | Turn on PREEMPTION by default. After fixing several bugs over time, themarius2012-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | last show-stopper keeping PREEMPTION from being usable on sparc64 should have been dealt with in r230662. At least on 2-way systems, PREEMPTION causes a little bit of a degradation in worldstone performance. However, FreeBSD seems to have started building up regressions in !PREEMPTION cases so sparc64 better should not be an oddball in this regard. MFC after: 1 week
* | | Sync tmpfs_chflags() with the recent changes to UFS:jh2012-04-161-13/+13
| | | | | | | | | | | | | | | | | | - Add a check for unsupported file flags. - Return EPERM when an user without PRIV_VFS_SYSFLAGS privilege attempts to toggle SF_SETTABLE flags.
* | | tmpfs: Allow update mounts only for certain options.jh2012-04-162-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | Since r230208 update mounts were allowed if the list of mount options contained the "export" option. This is not correct as tmpfs doesn't really support updating all options. Reviewed by: kevlo, trociny
* | | VMware environment is frequent nowadays. Add VMFS id.marck2012-04-161-0/+1
| | | | | | | | | | | | MFC after: 2 weeks
* | | Add myself to committers-portssperber2012-04-161-0/+5
| | | | | | | | | | | | Approved by: beat (mentor)
* | | When we receive an ICMP unreach need fragmentation datagram, we takeglebius2012-04-164-19/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | proposed MTU value from it and update the TCP host cache. Then tcp_mss_update() is called on the corresponding tcpcb. It finds the just allocated entry in the TCP host cache and updates MSS on the tcpcb. And then we do a fast retransmit of what we have in the tcp send buffer. This sequence gets broken if the TCP host cache is exausted. In this case allocation fails, and later called tcp_mss_update() finds nothing in cache. The fast retransmit is done with not reduced MSS and is immidiately replied by remote host with new ICMP datagrams and the cycle repeats. This ping-pong can go up to wirespeed. To fix this: - tcp_mss_update() gets new parameter - mtuoffer, that is like offer, but needs to have min_protoh subtracted. - tcp_mtudisc() as notification method renamed to tcp_mtudisc_notify(). - tcp_mtudisc() now accepts not a useless error argument, but proposed MTU value, that is passed to tcp_mss_update() as mtuoffer. Reported by: az Reported by: Andrey Zonov <andrey zonov.org> Reviewed by: andre (previous version of patch)
* | | #include <net/vnet.h> is no longer needed here.zec2012-04-161-1/+0
| | | | | | | | | | | | | | | Spotted by: Ed Maste MFC after: 3 days.
* | | zfsboot: honor -q if it's present in boot.configavg2012-04-161-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before r228267 the option was honored but the original content of boot.config was not preserved. I tried to fix that but missed the idea. Now the proper way of doing things is taken from i386/boo2. Also, a comment is added to explain this a little bit unobvious behavior. Inspired by: jhb MFC after: 5 days
* | | intpm: add ATI IXP400 pci idavg2012-04-161-0/+3
| | | | | | | | | | | | | | | | | | | | | PR: kern/136762 Submitted by: Aurelien Mere <freebsd@amc-os.com> Tested by: Jens Link <jens.link@gmx.de> MFC after: 5 days
* | | Replace the C implementation of __aeabi_read_tp with an assembly version.andrew2012-04-164-14/+16
| | | | | | | | | | | | | | | | | | This ensures we follow the ABI by preserving registers r1-r3. Reviewed by: jmallett, imp
* | | Fix typo miror -> mirrormm2012-04-161-1/+1
| | | | | | | | | | | | | | | Reported by: Glen Barber <gjb@FreeBSD.org> MFC after: 3 days
* | | When searching for uninitialized memory usage add ensure that the entireeadler2012-04-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | struct is set to zero. PR: bin/166483 Submitted by: Roy Marples <roy@marples.name> Reviewed by: delphij Approved by: cperciva MFC after: 3 days
* | | Add in the AP96 phy configuration from openwrt.adrian2012-04-151-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * arge0 doesn't (yet) work via the switch PHY ports; I'm not sure why. * arge1 maps to the WAN port. That works. TODO: * The PLL register needs a different (non-default) value for Gigabit Ethernet. The board setup code needs to be extended a bit to allow for non-default pll_1000 values - right now, those values come out of hard-coded values in the per-chip set_pll_ge() routines. Obtained from: Linux / OpenWRT
* | | The AR913x MII speed configuration matches the AR71xx MII configuration.adrian2012-04-153-9/+4
| | | | | | | | | | | | | | | | | | | | | So share the code. Don't do it for the AR724x - that has a completely different set of PLL and MII configuration parameters.
* | | Provide better description for vfs.tmpfs.memory_reserved sysctl.gleb2012-04-151-1/+2
| | | | | | | | | | | | Suggested by: Anton Yuzhaninov <citrin@citrin.ru>
* | | Migrate the net80211 TX aggregation state to be from per-AC to per-TID.adrian2012-04-1510-67/+69
| | | | | | | | | | | | | | | | | | | | | | | | TODO: * Test mwl(4) more thoroughly! Reviewed by: bschmidt (for iwn)
* | | Drop this down from 512 to 128 for now.adrian2012-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This may result in a bit of a throughput drop. However, any throughput drop at this point should be investigated and root caused, as it's likely because TX scheduling (all the way down to how preemption, scheduler work, etc) is happening in a sub-optimal fashion. This also makes it much more likely to be reloadable on a live machine. Allocating 5120 TX ath_buf entries via contigmalloc is very unlikely after a few hours of using X/Chromium.
* | | - Fix style(9) bugs + inconsistenciesbapt2012-04-151-32/+29
| | | | | | | | | | | | | | | Submitted by: marius Approved by: des (mentor)
* | | Use the M_AMPDU_MPDU flag to determine when to manually set the seqno andbschmidt2012-04-151-6/+3
| | | | | | | | | | | | use a BA queue.
* | | Add myself to the calendarmadpilot2012-04-151-0/+1
| | | | | | | | | | | | Approved by: creees (mentor)
* | | Do not do double initialisationbapt2012-04-151-2/+2
| | | | | | | | | | | | | | | | | | | | | style(9) says for (;;) not while (1) Reported by: culot Approved by: des
* | | Style.trasz2012-04-151-5/+5
| | |
* | | add usr.sbin/pkg which is a bootstrap tool for pkgng.bapt2012-04-154-0/+472
| | | | | | | | | | | | | | | | | | | | | | | | | | | it respects PACKAGESITE, PACKAGEROOT, and a new environment variable ABI (if a user want to use a different API from the base one for its packages) it has no man page on purpose to avoid hidding the pkg(8) man page from the pkgng package. for now uses pkgbeta.FreeBSD.org as default mirror to find its package it respects MK_PKGTOOLS Approved by: des (mentor)
* | | Remove FSIRAND and FSMAXSWAP ifdefs, removing code unconditionally.trasz2012-04-152-20/+1
| | | | | | | | | | | | | | | Reviewed by: kib, mckusick Sponsored by: The FreeBSD Foundation
* | | Correct my name in the copyright statement.des2012-04-152-2/+2
| | |
* | | Improve m4 compatibility with GNU m4 extension ** (exponent)bapt2012-04-153-3/+7
| | | | | | | | | | | | | | | Submitted by: Marc Espie (espie@OpenBSD.org) Approved by: des@ (mentor)
* | | Fix the mask logic when reading PCI configuration space registers.adrian2012-04-151-2/+6
| | |
* | | Override some default values to work around various issues in the deep,adrian2012-04-151-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dirty and murky past. * Override the default cache line size to be something reasonable if it's set to 0. Some NICs initialise with '0' (eg embedded ones) and there are comments in the driver stating that various OSes (eg older Linux ones) would incorrectly program things and 0 out this register. * Just default to overriding the latency timer. Every other driver does this. * Use a default cache line size of 32 bytes. It should be "reasonable enough". Obtained from: Linux ath9k, Atheros
* | | Fix a typo.davide2012-04-141-1/+1
| | | | | | | | | | | | | | | Approved by: gnn (mentor) MFC after: 2 days
* | | Fix some style bugs introduced in a previous commit (r233045)davide2012-04-142-9/+10
| | | | | | | | | | | | | | | | | | | | | Reported by: glebius, jmallet Reviewed by: jmallet Approved by: gnn (mentor) MFC after: 2 days
* | | Send always HBs when in PF state.tuexen2012-04-141-1/+2
| | | | | | | | | | | | | | | MFC after: 1 week X-MFC with: r234296
* | | Bugfix: Don't send HBs on path which are not idle.tuexen2012-04-141-1/+16
| | | | | | | | | | | | MFC after: 1 week
* | | Generate an obviously missing STOP when having finished transmitting data.marius2012-04-141-0/+1
| | | | | | | | | | | | This fixes communication with PCF8563.
* | | Add support for the Atmel SAM9XE familiy of microcontrollers, whichmarius2012-04-141-5/+9
| | | | | | | | | | | | | | | | | | | | | consist of a ARM926EJ-S processor core with up to 512 Kbytes of on-chip flash. Tested with SAM9XE512. This file was missed in r234291.
* | | Add support for the Atmel SAM9XE familiy of microcontrollers, whichmarius2012-04-148-15/+41
| | | | | | | | | | | | | | | consist of a ARM926EJ-S processor core with up to 512 Kbytes of on-chip flash. Tested with SAM9XE512.
* | | i prefer this fix for the -Wformat warning (just one cast,luigi2012-04-141-5/+3
| | | | | | | | | | | | | | | all the other variables are already correct for %x). My previous attempt put the cast in the wrong place.
* | | Add files and directories to be cleaned up if WITHOUT_GCC is in effectdim2012-04-141-0/+36
| | | | | | | | | | | | | | | | | | to OptionalObsoleteFiles.inc. MFC after: 1 week
* | | Fix LINT builds after r234233; not sure why modules need DEBUG by default.bz2012-04-141-1/+1
| | |
* | | Make compile on 64bit somehow for now after a first try at r234242 onbz2012-04-141-3/+5
| | | | | | | | | | | | maybe 32bit?
* | | - Try to bring these files closer to style(9).marius2012-04-1412-208/+236
| | | | | | | | | | | | | | | - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers.
* | | Fix !DDB build after r234190.marius2012-04-141-1/+1
| | |
OpenPOWER on IntegriCloud