summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Fix examples to show new CARP style.glebius2011-12-201-12/+11
| | | | - Remove OpenBSDisms, add FreeBSDisms.
* Small cleanups to panic() prototype.ed2011-12-202-5/+4
| | | | | | | - Let panic() use _Noreturn and __printflike() instead of GCC-specific attributes. - Remove prototype from ffs_subr.c and let it include ffs_extern.h. - Forward declare struct inode to make ffs_extern.h not depend on it.
* - Cover pfsync callouts deletion with PF_LOCK().glebius2011-12-201-1/+9
| | | | - Cover setting up interface between pf and pfsync with PF_LOCK().
* Add eventtimers(9) man page, describing related KPIs.mav2011-12-203-1/+249
| | | | | Sponsored by: iXsystems, Inc. MFC after: 1 month
* Add binding support to libradius(3).melifaro2011-12-205-1/+17
| | | | | | Submitted by: Sergey Matveychuk <sem33@yandex-team.ru> Approved by: ae (mentor) MFC after: 2 weeks
* Fix broken locking that I introduced in the previous commit.adrian2011-12-201-0/+2
|
* IIC bitbang changes - prepare to make the bit delay configurable; debug ↵adrian2011-12-201-31/+42
| | | | | | | | | | | print changes. * Right now the delay is hard coded at 10uS. This is a bit long when doing lots of periodic i2c transactions. So create a 'udelay' parameter and initialise it to 10. This can be tuned later. * Add a newline after a transaction finishes, so the debugging output isn't so horrible.
* Oops, list of IDs is not sequential. Have to list all of them expoicitly.mav2011-12-201-2/+10
|
* Cast some vendor-specific spell on VIA VT1708S codecs to:mav2011-12-201-5/+39
| | | | | | | | - make analog input loopback work; - get access to the mics boost controls. Sponsored by: iXsystems, Inc. MFC after: 1 month
* Remove these locks - they aren't strictly needed and cause measurableadrian2011-12-202-24/+0
| | | | | | | | | | | | | | | | | | | | performance issues. * Access to the GPIO bus is already locked by requesting and releasing the bus - thus the lock isn't really needed for each GPIO pin change. * Don't lock and unlock the GPIO bus for -each- i2c access - the i2c bus code is already doing this by calling the upper layer callback to request/release the bus. This thus locks the bus for the entirety of the transaction. TODO: * Further verify that everything is correctly requesting/ releasing the GPIO bus. * Look at how to lock the GPIO pin configuration stuff, potentially by locking/unlocking the bus at the gpiobus layer.
* Add comments in NOTES to say what viawd is.delphij2011-12-202-0/+2
|
* Make the recently added "no_shutdown_wait" sysctl writeable.hselasky2011-12-191-1/+1
| | | | | Suggested by: avg @ MFC after: 3 days
* In usr.sbin/yp_mkdb/yp_mkdb.c, cast some printf field width parametersdim2011-12-191-2/+4
| | | | | | | to int, cast time_t to intmax_t, and use the corresponding printf length modifier. MFC after: 1 week
* In usr.sbin/uhsoctl/uhsoctl.c, fix a few warnings about format stringsdim2011-12-191-2/+2
| | | | | | not being literals. MFC after: 1 week
* Fix r228719; when you use intmax_t, you need stdint.h.dim2011-12-191-0/+1
| | | | | Pointy hat to: dim MFC after: 1 week
* Some people pointed out long is 32-bit on some arches, while time_t isdim2011-12-192-4/+4
| | | | | | | 64-bit, so better cast time_t to intmax_t, and use the appropriate printf format strings. MFC after: 1 week
* ule: ensure that batch timeshare threads are scheduled fairlyavg2011-12-191-2/+2
| | | | | | | | | | | | | | With the previous code, if the range of priorities for timeshare batch threads was greater than RQ_NQS, then the threads with low priorities in the part of the range above RQ_NQS would be scheduled to the run-queues as if they had high priorities at the beginning of the range. In other words, threads with a nice level of +N could be scheduled as if they had a nice level of -M. Reported by: George Mitchell <george@m5p.com> Reviewed by: jhb Tested by: George Mitchell <george@m5p.com> (earlier version) MFC after: 1 week
* Increase wait time for OP_TCPSTART command processing. It seemsyongari2011-12-191-2/+2
| | | | 100us is not enough to ensure prefetch unit work.
* TCP header size is represented by number of 32bits words.yongari2011-12-191-1/+1
| | | | | | | | | | | | Fix the TCP header size calculation such that makes TSO engine cache all header(ethernet/IP/TCP) bytes to its internal buffer. While here, remove extra pull up for TCP payload. Unlike some em(4) controllers, fxp(4) does not require such work around for TSO. The two limitations are ethernet/IP/TCP header size should be less than or equal to the size of controller's internal buffer(80 bytes) and these header information should be found in the first fragment of a TSO frame.
* Add a TASK_INITIALIZER() macro that can be used to staticallyjhb2011-12-193-1/+14
| | | | | | | initialize a task structure. Reviewed by: gj MFC after: 2 weeks
* In usr.sbin/timed, fix several issues with printf formats:dim2011-12-194-9/+9
| | | | | | | | | | - Cast time_t's to long, and print them with %ld. - Print ptrdiff_t's with %td. - Print ssize_t's and size_t's with %zd and %zu. - Print int32_t's with %d. Also, replace some int variables with the more appropriate size_t. MFC after: 1 week
* In contrib/tcpdump/print-icmp6.c, fix a problem where the comparisondim2011-12-191-8/+7
| | | | | | | | against icmp6_hdr::icmp6_type is done incorrectly. (This fix has already been applied upstream, but we do not have the latest version of tcpdump.) MFC after: 1 week
* Use NO_WCAST_ALIGN for usr.bin/hastctl and usr.bin/hastd; the alignmentdim2011-12-192-0/+2
| | | | | | | warnings in sbin/hastd/lzf.c are only emitted for i386 and amd64, and there they can be safely ignored. MFC after: 1 week
* Add code to wait for USB shutdown to be executed at system shutdown.hselasky2011-12-191-1/+15
| | | | | | Add sysctl which can be used to skip this waiting. MFC after: 3 days
* opensolaris compat: fix vcmn_err so that panic(9) produces a proper messageavg2011-12-191-8/+14
| | | | | | | ... instead of just a verbatim format string. Reviewed by: pjd MFC after: 1 week
* Add missing unlock of USB controller's lock, whenhselasky2011-12-191-0/+12
| | | | | | | doing shutdown, suspend and resume. Suggested by: avg @ MFC after: 3 days
* In usr.bin/vacation/Makefile, fix a typo in the comment about clangdim2011-12-191-1/+1
| | | | | | | warnings. Spotted by: arundel MFC after: 1 week
* Unfortunately, clang gives warnings about sendmail code that cannot bedim2011-12-191-0/+7
| | | | | | | turned off yet. Since this is contrib code, and we don't really care about the warnings, just turn make them non-fatal for now. MFC after: 1 week
* Remove if_carp.ko. /boot/kernel should be upgraded atomically.glebius2011-12-191-2/+0
| | | | Requested by: netchild, bz
* Unbreak the build after r228697 adding the { } block to make clear whichbz2011-12-191-1/+2
| | | | if the else belongs to.
* o Convert IPv6 read-only stats sysctls to the read-write ones.maxim2011-12-193-11/+17
| | | | | | | | | o Teach netstat(1) -z to reset these stats sysctls. PR: bin/153206 Reviewed by: glebuis Sponsored by: NGINX, Inc. MFC after: 1 month
* o Sort .Xrs.maxim2011-12-191-2/+2
|
* Repair breakage after r228697: since m4 now uses pow(3), it needs -lm.dim2011-12-181-1/+1
| | | | Pointy hat to: bapt
* Reimplement support for the ** (exponent) gnu extension, make it available ↵bapt2011-12-183-2/+10
| | | | | | | | thought the -g (mimic gnu) option Reviewed by: cognet Approved by: cognet Discussed with: espie@OpenBSD.org (upstream)
* Use lex's standard way of not generating unused function.pjd2011-12-182-3/+3
| | | | | Inspired by: r228555 MFC after: 1 week
* Don't use function name as format string.pjd2011-12-181-1/+1
| | | | | Detected by: clang MFC after: 1 week
* Fix compilation on sparc64 by actually supplying the bus_dma_tag_t membermarius2011-12-181-1/+1
| | | | | | | | of the rx_ring to bus_dmamap_sync(9). Given that netmap code tries to obtain the bus addresses of netmap buffers via vtophys(9) instead of using bus_dma(9) it currently has zero chance of actually working on sparc64 though (and for that matter f.e. also not with MACs limited to 32-bit DMA on x86 machines with more than 4GB of RAM).
* Revert r228603, and add the workaround to sbin/fsdb/Makefile instead.dim2011-12-182-3/+6
| | | | MFC after: 1 week
* Upgrade to OpenPAM Lycopsida.des2011-12-18159-26261/+27403
|\
| * Vendor import of OpenPAM Lycopsida.des2011-12-18158-26267/+27411
| |
| * Merge upstream r432:des2010-03-221-2/+1
| | | | | | | | | | | | pam_end() already contains a NULL check, and it is not unreasonable to call it with a NULL pamh in a cleanup / error-handling situation. Remove OPENPAM_NONNULL, which may cause gcc to optimize away the NULL check.
| * Merge upstream r421: grammar nit in pam.conf(5).des2009-10-091-1/+1
| |
| * Merge upstream r418: remove static build autodetection.des2008-12-131-8/+7
| |
| * Flatten and clean up.des2008-12-13159-0/+0
| |
* | Support infrastructure for X11 on PS3.nwhitehorn2011-12-184-8/+49
| | | | | | | | | | Submitted by: geoffrey dot levand at mail dot ru MFC after: 1 week
* | Add version header to output file.nwhitehorn2011-12-181-0/+1
| |
* | Use FOREACH_PROC_IN_SYSTEM instead of using its unrolled form.pluknet2011-12-181-1/+1
| | | | | | | | Reviewed by: kib
* | From time to time people report space map corruption resulting in panicpjd2011-12-181-1/+25
| | | | | | | | | | | | | | | | | | | | | | (ss == NULL) on pool import. I had such a panic recently. With current version of ZFS it is still possible to import the pool in readonly mode and backup all the data, but in case it is impossible for some reason add tunable vfs.zfs.space_map_last_hope, which when set to '1' will tell ZFS to remove colliding range and retry. This seems to have worked for me, but I consider it highly risky to use. MFC after: 1 week
* | Implement replying of ACLs updates. ACL changes should go to ZIL onlypjd2011-12-182-13/+16
| | | | | | | | | | | | if the 'sync' property is set to 'always', so replying them is not common. MFC after: 1 month
* | Forgot to add usr.sbin/sade/label.c in the previous commit.dim2011-12-181-1/+1
| | | | | | | | MFC after: 1 week
OpenPOWER on IntegriCloud