summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Improve INCLUDE_CONFIG_FILE support.wkoszek2007-05-121-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change will let us to have full configuration of a running kernel available in sysctl: sysctl -b kern.conftxt The same configuration is also contained within the kernel image. It can be obtained with: config -x <kernelfile> Current functionality lets you to quickly recover kernel configuration, by simply redirecting output from commands presented above and starting kernel build procedure. "include" statements are also honored, which means options and devices from included files are also included. Please note that comments from configuration files are not preserved by default. In order to preserve them, you can use -C flag for config(8). This will bring configuration file and included files literally; however, redirection to a file no longer works directly. This commit was followed by discussion, that took place on freebsd-current@. For more details, look here: http://lists.freebsd.org/pipermail/freebsd-current/2007-March/069994.html http://lists.freebsd.org/pipermail/freebsd-current/2007-May/071844.html Development of this patch took place in Perforce, hierarchy: //depot/user/wkoszek/wkoszek_kconftxt/ Support from: freebsd-current@ (links above) Reviewed by: imp@ Approved by: imp@
* Add missing curly braces.brueffer2007-05-121-1/+2
| | | | Approved by: rwatson (mentor)
* ALTQify.brueffer2007-05-121-5/+7
| | | | | | | Submitted by: J.R. Oldroyd Reviewed by: mlaier Approved by: rwatson (mentor) MFC after: 1 week
* Remove compat ifdefs for FreeBSD versions < 500014, makes the codebrueffer2007-05-1212-120/+3
| | | | | | | quite a bit easier to read. Approved by: rwatson (mentor) MFC after: 1 weeks
* - Add bits for userland profiling. For sun4u this is compile-tested only.marius2007-05-112-8/+72
| | | | - Replace magic 14 with PIL_TICK.
* Mistake in the logic deciding what adapters needjfv2007-05-111-1/+2
| | | | | | | | to map the IO BAR. Causing the driver to fail on th 82542. Reviewed by:pdeuskar Approved by:pdeuskar
* Drop everything that doesn't belong into this new file.andre2007-05-111-1929/+0
| | | | It's neither functional not connected to the build yet.
* Drop everything that doesn't belong into this new file.andre2007-05-111-2980/+0
| | | | It's neither functional nor connected to the build yet.
* Make the TCP timer callout obtain Giant if the network stack is markedandre2007-05-113-4/+18
| | | | | | as non-mpsafe. This change is to be removed when all protocols are mp-safe.
* Add the timestamp offset to struct tcptw so we can generate properandre2007-05-113-6/+13
| | | | | ACKs in TIME_WAIT state that don't get dropped by the PAWS check on the receiver.
* - Initialize login->id and fix problem for non-zero login id.simokawa2007-05-111-1/+2
| | | | | | - Increase maxopenings for multiple lun/initiators. MFC after: 3 days
* Performance optimization of the "encryption without compression" case bymav2007-05-111-70/+103
| | | | | | | avoiding memory allocation and data copying. Encrypting directly at the original mbuf chain. Approved by: glebius (mentor)
* Bad merge.mjacob2007-05-111-1/+1
|
* Remove more one more stale comment regarding unpcb type-safety.rwatson2007-05-111-4/+0
|
* Clarify and update quite a few comments to reflect locking optimizations,rwatson2007-05-111-38/+21
| | | | | | | the addition of unpcb refcounts, and bug fixes. Some of these fixes are appropriate for MFC. MFC after: 3 days
* Coalesce two identical UCB licenses into a single license instance withrwatson2007-05-111-108/+87
| | | | | | | | one set of copyright years. White space and comment cleanup. Export $FreeBSD$ via __FBSDID.
* Minor white space and style cleanups.rwatson2007-05-111-36/+27
|
* White space and style cleanup.rwatson2007-05-111-10/+11
|
* Minor white space/style normalization.rwatson2007-05-111-6/+8
|
* Normalize style a bit: reduce pseudo-randomness of comment layout andrwatson2007-05-112-74/+75
| | | | white space. Remove 'register'.
* Use ANSI C function declarations throughout netipx.rwatson2007-05-1112-162/+88
| | | | Remove 'register' use.
* Reduce network stack oddness: implement .pru_sockaddr and .pru_peeraddrrwatson2007-05-1114-64/+46
| | | | | | | | protocol entry points using functions named proto_getsockaddr and proto_getpeeraddr rather than proto_setsockaddr and proto_setpeeraddr. While it's true that sockaddrs are allocated and set, the net effect is to retrieve (get) the socket address or peer address from a socket, not set it, so align names to that intent.
* Remove unneeded wrappers for in_setsockaddr() and in_setpeeraddr(), whichrwatson2007-05-113-74/+6
| | | | | used to exist so pcbinfo locks could be acquired, but are no longer required as a result of socket/pcb reference model refinements.
* Fix pointy-hat problem with BUS_DMA_ROOTARG macro that caused problems for ↵mjacob2007-05-112-5/+5
| | | | | | | | sparc64. Candidate for immediate MFC. Noticed by: Everyone-maxim contacted.
* Do not dereference linux_to_bsd_signal[-1] if userland haskan2007-05-112-8/+10
| | | | | | | | passed zero as exit signal. GCC 4.2 changes the kernel data segment layout not to have 0 in that memory location. This code ran by luck before and now the luck has run out.
* Fix an incorrect replace of a timer reference made during the TCP timerandre2007-05-101-1/+1
| | | | | rewrite in rev. 1.132. This unmasked yet another bug that causes certain connections to get indefinately stuck in LAST_ACK state.
* Move universally to ANSI C function declarations, with relativelyrwatson2007-05-1024-253/+149
| | | | consistent style(9)-ish layout.
* Bump __FreeBSD_version for the addition of flopen(3) to libutil.des2007-05-101-1/+1
| | | | Requested by: delphij
* The version string scheme embeds the freebsd major release version,scottl2007-05-102-2/+2
| | | | | something that I wasn't aware of with the last import. Adjust the string accordingly for 7-CURRENT.
* Collapse the mfi_ld object. Add an ioctl to help management apps mapscottl2007-05-105-44/+79
| | | | array Id's to FreeBSD device names.
* Make a missing or empty VPD non-fatal, as it was prior to rev 1.131.mckay2007-05-101-8/+6
| | | | With this change, my D-Link DGE-530T rev A1 is operational again.
* Hook wlan_amrr up to the build.kevlo2007-05-101-0/+1
|
* Don't hold mutex while releasing bus resources.ariff2007-05-101-1/+0
|
* Add wlan_amrr. ural(4) uses amrr as transmit rate control.kevlo2007-05-101-0/+1
|
* Add wlan_amrr. ural(4) uses amrr as transmit rate control.kevlo2007-05-101-0/+1
|
* Need sys/cdevs.h for the macro FBSDID to work.mjacob2007-05-091-0/+1
|
* Update stale comment on protecting UMA per-CPU caches: we now userwatson2007-05-091-7/+7
| | | | critical sections rather than mutexes.
* Increase debug level - this message is not that important.pjd2007-05-092-2/+2
|
* Integrate the Camellia Block Cipher. For more information see RFC 4132gnn2007-05-0915-2/+1671
| | | | | | | and its bibliography. Submitted by: Tomoyuki Okazaki <okazaki at kick dot gr dot jp> MFC after: 1 month
* It turns out that the hptiop driver isn't portable after all. Confine it toscottl2007-05-094-3/+11
| | | | amd64 and i386 for now.
* Two major items here:rrs2007-05-0914-1816/+1137
| | | | | | | | | | | | | | | - All printf that was surrounded by #ifdef SCTP_DEBUG moves to a macro that does all of this. This removes all printfs from the code and makes the code more portable and easier to read. - Static Analysis (cisco) - found a few bugs, but mostly we add checks for NULL pointers and such to make the tool happy. We now pass the Cisco SA tools checks except for where it does not understand tailq/lists. We still need to look at the coverity tools output too (this is like the cisco SA tool) and see if it wants us to fix any other items. Hopefully this will be the last major churn in the code other than bug fixes.
* o Fix typo: comments start by "#" not "*".maxim2007-05-091-1/+1
|
* o Fix style(9) bugs introduced in the last commit.maxim2007-05-092-6/+6
| | | | Pointed out by: bde
* - Remove dependency on deprecated if_watchdog ABI.kevlo2007-05-092-118/+34
| | | | | | | - Move amrr code into net80211 itself. - Handle ->INIT state transition in ural_newstate() to eliminate the race. Tested with a ASUS WL-167g.
* tl(4) appears to support long frames.yar2007-05-091-0/+2
| | | | Tested by: Peter Jeremy <peterjeremy at optushome dot com dot au>
* Introduce a driver for the Highpoint RocketRAID 3xxx series of controllers.scottl2007-05-098-0/+1660
| | | | | | The driver relies on CAM. Many thanks to Highpoint for providing this driver.
* o Unbreak "options TCPDEBUG" && "nooptions INET6" kernel build.maxim2007-05-092-0/+4
| | | | | PR: kern/112517 Submitted by: vd
* Write the output parameter (if present) for the add, create, deletemarcel2007-05-091-3/+50
| | | | destroy and modify verbs.
* Import version 3.60.03.006 of the TWA driver:scottl2007-05-0921-48828/+105
| | | | | | | | | | | | | | | | This patch does the following: - Remove un-necessary code that is not even compiling into the driver under TW_OSL_NON_DMA_MEM_ALLOC_PER_REQUEST defines. - Remove bundled firmware image and associated "files" entry for tw_cl_fwimg.c - Remove bundled firmware flashing routines. We now have tw_update userspace FreeBSD controller flash utility. - Fix driver crash on load due to shared interrupt. - Fix 2 lock leaks for Giant lock. - Fix CCB leak. - Add support for 9650SE controllers. Many thanks to 3Ware/AMCC for continuing to support FreeBSD.
* Add documentation for the vm.kmem_size_min and vm.kmem_size_max tunables.sepotvin2007-05-091-1/+10
| | | | Approved by: njl (mentor, blanket)
OpenPOWER on IntegriCloud