summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Since r254974, periodic scripts' period can be configuredjlh2013-09-031-66/+70
| | | | | | | | | | | | independently. There is no reason to leave their options with the daily ones, so move them to their own section. Move periodic scripts' options into their own section. Since r254974,
* | Complete any pending Tx frames before attempting the next transmitbryanv2013-09-032-0/+10
| | | | | | | | | | | | Also complete pending frames in the watchdog function when the EVENT_IDX feature was negotiated just in case the completion interrupt was postponed.
* | Fix unintended compiler constant foldingbryanv2013-09-031-2/+2
| | | | | | | | Pointed out by: dim@
* | Enable PMC interrupt handling, and fix a DTrace trap handling bug.jhibbits2013-09-031-5/+5
| |
* | Refactor PowerPC hwpmc(4) driver into generic and specific. More refactoringjhibbits2013-09-035-716/+855
| | | | | | | | | | will likely be done as more drivers are added, since AIM-compatible processors have similar PMC configuration logic.
* | Create the default router last. This allows using an staticdelphij2013-09-021-2/+2
| | | | | | | | | | | | | | | | interface route for default routes, which seems to be common among many dedicated hosting providers. Reviewed by: hrs MFC after: 2 weeks
* | Use uint16_t instead of in_port_t for consistency with the SCTP code.tuexen2013-09-021-1/+1
| | | | | | | | MFC after: 1 week
* | Whitespace cleanup.jhibbits2013-09-021-48/+48
| |
* | All changes affect only SCTP-AUTH:tuexen2013-09-024-109/+29
| | | | | | | | | | | | | | | | | | * Remove non working code related to SHA224. * Remove support for non-standardised HMAC-IDs using SHA384 and SHA512. * Prefer SHA256 over SHA1. * Minor cleanup. MFC after: 2 weeks
* | Better conformance to style(9) and organizational cleanup.gibbs2013-09-021-40/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No functional changes. sys/i386/xen/mp_machdep.c: Remove extra newlines. Group externs, forward delarations, local types, and pcpu data. Wrap at 80 columns. Use parens in return statements. Tab indent members of array initializers. MFC after: 2 weeks
* | sh: Fix race condition with signals and wait or set -T.jilles2013-09-024-31/+20
| | | | | | | | | | | | | | | | | | | | The change in r238888 was incomplete. It was still possible for a trapped signal to arrive before the shell went to sleep (sigsuspend()) because a check was missing or because the signal arrived before in_waitcmd was set. On SMP, this bug sometimes caused the builtins/wait4.0 test to take 1 second to execute; it then might or might not fail. On UP, the test almost always failed.
* | Ignore if the interface is not IPv6-capable.hrs2013-09-021-2/+2
| | | | | | | | Spotted by: rpaulo
* | sys/mouse.h: Move members introduced in r255153 to end of struct synapticshwdumbbell2013-09-021-4/+4
| | | | | | | | I didn't know this structure was public and didn't pay enough attention...
* | psm: Add support for middle and extended buttons on Synaptics touchpadsdumbbell2013-09-022-41/+95
| | | | | | | | | | | | | | PR: kern/170834 Submitted by: Brandon Gooch <jamesbrandongooch@gmail.com> Tested by: Artyom Mirgorodskiy <artyom.mirgorodsky@gmail.com> MFC after: 1 month
* | synaptics and trackpoint support are stable enough to be on by default.eadler2013-09-021-2/+2
| | | | | | | | | | | | Eventually both options should be removed. Reviewed by: dumbbell
* | Revert accidental commit.rpaulo2013-09-021-1/+1
| |
* | libexecinfo compatibility with devel/libexecinfo portemaste2013-09-021-0/+4
| | | | | | | | | | | | | | 1. Match shlib number 2. Add libelf dependency Suggested by: bapt[1]
* | Make ELI destruction (including orphanization) less aggressive, making itmav2013-09-021-10/+12
| | | | | | | | | | | | | | always wait for provider close. Old algorithm was reported to cause NULL dereference panic on attempt to close provider after softc destruction. If not global workaroung in GEOM, that could even cause destruction with requests still in flight.
* | Merge 1.12 of pf_lb.c from OpenBSD, with some changes. Original commit:glebius2013-09-021-26/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | date: 2010/02/04 14:10:12; author: sthen; state: Exp; lines: +24 -19; pf_get_sport() picks a random port from the port range specified in a nat rule. It should check to see if it's in-use (i.e. matches an existing PF state), if it is, it cycles sequentially through other ports until it finds a free one. However the check was being done with the state keys the wrong way round so it was never actually finding the state to be in-use. - switch the keys to correct this, avoiding random state collisions with nat. Fixes PR 6300 and problems reported by robert@ and viq. - check pf_get_sport() return code in pf_test(); if port allocation fails the packet should be dropped rather than sent out untranslated. Help/ok claudio@. Some additional changes to 1.12: - We also need to bzero() the key to zero padding, otherwise key won't match. - Collapse two if blocks into one with ||, since both conditions lead to the same processing. - Only naddr changes in the cycle, so move initialization of other fields above the cycle. - s/u_intXX_t/uintXX_t/g PR: kern/181690 Submitted by: Olivier Cochard-Labbé <olivier cochard.me> Sponsored by: Nginx, Inc.
* | Conform to style(9). No functional changes.gibbs2013-09-011-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sys/x86/xen/hvm.c: Do not rely on implicit conversion to boolean in expressions (e.g. use "if (rc != 0)" instead of "if (rc)". Line continuations for functions are indented an additional 4 spaces. Insert an empty line if the function has no local variables. Prefer separate initializtion statements to initialzing local variables in their declaration. Braces that are not necessary may be left out. MFC after: 2 weeks
* | Fix socket buffer timeouts precision using the new sbintime_t KPI insteaddavide2013-09-014-8/+7
| | | | | | | | | | | | | | | | | | of relying on the tvtohz() workaround. The latter has been introduced lately by jhb@ (r254699) in order to have a fix that can be backported to STABLE. Reported by: Vitja Makarov <vitja.makarov at gmail dot com> Reviewed by: jhb (earlier version)
* | Forced dismounts of NFS mounts can fail when thread(s) are stuckrmacklem2013-09-013-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | waiting for an RPC reply from the server while holding the mount point busy (mnt_lockref incremented). This happens because dounmount() msleep()s waiting for mnt_lockref to become 0, before calling VFS_UNMOUNT(). This patch adds a new VFS operation called VFS_PURGE(), which the NFS client implements as purging RPCs in progress. Making this call before checking mnt_lockref fixes the problem, by ensuring that the VOP_xxx() calls will fail and unbusy the mount point. Reported by: sbruno Reviewed by: kib MFC after: 2 weeks
* | Use single underscore for all parameters name and local variables indavide2013-09-011-79/+80
| | | | | | | | | | | | | | | | | | | | bintime_* related functions. This commit completes what was already done by theraven@ for bintime_shift, and just uses a single underscore instead of two (which is a style bug according to Bruce). See r251855 for reference. Reported by: theraven Discussed with: bde Reviewed by: bde
* | Complete r250105. Do not zero fields if M_ZERO flag is specified todavide2013-09-011-6/+0
| | | | | | | | | | | | malloc(9). Reported by: pluknet, glebius
* | Fix build with gcceadler2013-09-011-1/+1
| | | | | | | | | | Reported by: Michael Butler <imb@protected-networks.net> Reviewed by: jilles
* | Initial support for the Digi ConnectCore(c) i.MX53 / Wi-i.MX53 boards.rpaulo2013-09-0112-6/+1196
| | | | | | | | | | | | There are many drivers missing, but we can reach single user mode now. Hardware graciously donated by Douglas Beattie.
* | system(): Restore behaviour for SIGINT and SIGQUIT.jilles2013-09-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | As mentioned in r16117 and the book "Advanced Programming in the Unix Environment" by W. Richard Stevens, we should ignore SIGINT and SIGQUIT before forking, since it is not guaranteed that the parent process starts running soon enough. To avoid calling sigaction() in the vforked child, instead block SIGINT and SIGQUIT before vfork() and keep the sigaction() to ignore after vfork(). The FreeBSD kernel discards ignored signals, even if they are blocked; therefore, it is not necessary to unblock SIGINT and SIGQUIT earlier.
* | Add support for the BCM20702A0 chipset, ASUS USB-BT400.eadler2013-09-011-0/+1
| | | | | | | | | | PR: kern/181728 Submitted by: rakuco
* | Pay attention to errCheck!sjg2013-09-011-1/+1
| | | | | | | | PR: 181715
* | Add debug trace points for freeze/release device queue.mav2013-09-014-0/+75
| |
* | pmap_protect() on MIPS does not need to acquire the pvh global lock.alc2013-09-011-2/+0
| |
* | Regenerate after recent addition of FTDI and bluetooth device IDs.ian2013-09-011-4/+96
| |
* | Add the device ID for a new flavor of FTDI serial adapter (model 232EX).ian2013-09-012-0/+2
| |
* | Fix a compiler warning about signed vs unsigned compare.ian2013-09-011-1/+1
| |
* | Bring legacy CAM target implementation back into API/KPI-coherent and evenmav2013-09-013-9/+15
| | | | | | | | | | | | | | | | | | functional state. While CTL is much more superior target from all points, there is no reason why this code should not work. Tested with ahc(4) as target side HBA. MFC after: 2 weeks
* | Fix SES_ENABLE_PASSTHROUGH kernel option, unexpectedly broken during drivermav2013-09-011-2/+4
| | | | | | | | | | | | overhaul. MFC after: 3 days
* | Fix targbh crash on XPT_IMMED_NOTIFY error during attach.mav2013-09-011-13/+10
| |
* | Fix the build with CTLFEDEBUG, broken by unmapped I/O support changes.mav2013-09-011-6/+6
| |
* | Import multiqueue VirtIO net driver from my user/bryanv/vtnetmq branchbryanv2013-09-014-1326/+2571
| | | | | | | | | | | | This is a significant rewrite of much of the previous driver; lots of misc. cleanup was also performed, and support for a few other minor features was also added.
* | Sync VirtIO net device header file from recent Linuxbryanv2013-09-011-3/+46
| |
* | Add optional VirtIO device method for post-attach notificationsbryanv2013-09-012-1/+15
| | | | | | | | | | This is called after the parent device (ie virito_pci) has completed the device attachment/initialization.
* | Add support for postponing VirtIO virtqueue interruptsbryanv2013-09-012-12/+32
| | | | | | | | | | | | | | | | | | | | Partial support for the EVENT_IDX feature was added a while ago, but this commit adds an interface for the device driver to hint how long (in terms of descriptors) the next interrupt should be delayed. The first user of this will be used to reduce VirtIO net's Tx completion interrupts.
* | libc: Always use our own copy of sys_errlist and sys_nerr (.so only).jilles2013-08-314-4/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures strerror() and friends continue to work correctly even if a (non-PIE) executable linked against an older libc imports sys_errlist (which causes sys_errlist to refer to the executable's copy with a size fixed when that executable was linked). The executable's use of sys_errlist remains broken because it uses the current value of sys_nerr and may access past the bounds of the array. Different from the message "Using sys_errlist from executables is not ABI-stable" on freebsd-arch, this change does not affect the static library. There seems no reason to prevent overriding the error messages in the static library.
* | Add support for the GCC binary integer constants extension.pfg2013-08-314-3/+73
| | | | | | | | | | | | | | | | | | | | This is required to build the i965 backend with newer versions of mesa. Original patch from Joerg Wunsch in GCC Bug 23479, under the GPLv2; also taken from there in OpenBSD. Obtained from: gcc 4.3 (rev. 125346; GPLv2) MFC after: 5 days
* | Fix two build failures for non-tb configurations, UP [2] and when using gas [1].kib2013-08-312-7/+8
| | | | | | | | | | Reported by: andreast [1], bf [2] Sponsored by: The FreeBSD Foundation
* | Add support to the ARM platform specific section types.andrew2013-08-311-1/+9
| |
* | Only add the backlight device if it actually exists in OF.jhibbits2013-08-312-0/+4
| | | | | | | | MFC after: 1 week
* | Fixes for DTrace on PowerPC:jhibbits2013-08-313-112/+261
| | | | | | | | | | | | - Implement dtrace_getarg() - Sync fbt with x86, and fix a typo. - Pull in the time synchronization code from amd64.
* | Implement pmap_advise().alc2013-08-311-1/+82
| |
* | Fix bug introduced in rewrite of keg_free_slab in -r251894.mckusick2013-08-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The consequence of the bug is that fini calls are not done when a slab is freed by a call-back from the page daemon. It went unnoticed for two months because fini is little used. I spotted the bug while reading the code to learn how it works so I could write it up for the next edition of the Design and Implementation of FreeBSD book. No MFC needed as this code exists only in HEAD. Reviewed by: kib, jeff Tested by: pho
OpenPOWER on IntegriCloud