summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* indent(1): correctly handle case/label at the very start of a functionavg2010-03-311-1/+1
| | | | | Obtained from: NetBSD (rev. 1.11 of indent.c) MFC after: 1 week
* Fix poll handler declaration.jfv2010-03-311-1/+1
|
* Constify vap argument of ieee80211_{note,discard}* functions.rpaulo2010-03-312-13/+14
| | | | MFC after: 1 week
* Stop hard coding i386 as the arch for the build. Instead, default to theimp2010-03-311-1/+6
| | | | | | | | | | | processor we're running on. Also, supply amd64 version of create_diskimage that's the same as i386's. # didn't fix the confusion between using the processor for this and using # the machine (which would be more appropriate). NANO_ARCH smashes the two # together right now. MFC after: 7 days
* Document DEBUG_FLAGS in a more visible place, in the build(7) manpagekeramida2010-03-311-1/+15
| | | | | | Noticed by: Alexander Best <alexbestms.at.wwu.de> Reviewed by: jhb MFC after: 1 week
* Include opt_ata.h, as some structures here depending on ATA_CAM option.mav2010-03-311-0/+2
| | | | This fixes ATA_CAM with atamvsata and probably some other drivers.
* Add support for ALQ(9) to be compiled and loaded as a kernel module.lstewart2010-03-313-1/+93
| | | | | | | Sponsored by: FreeBSD Foundation Reviewed by: dwmalone, jeff, rpaulo, rwatson Approved by: kmacy (mentor) MFC after: 1 month
* fix bug in previous commit related to rule deletionluigi2010-03-311-15/+20
| | | | (stable/8 just fixed moments ago)
* Be like stdlib.h and bring in a wchar_t definition and use it to prototypejmallett2010-03-311-4/+11
| | | | | | | | | | | wcstoimax and wcstoumax, rather than spelling it __wchar_t. This is necessary to use these functions in C++ where wchar_t is different to __wchar_t and is a built-in type. It may be better to use __wchar_t here and to simply define __wchar_t as being wchar_t in C++ mode rather than to bring in wchar_t, but this is less invasive and follows our existing practice, and restores wchar_t usage in this file to what it was before r1.8.
* Multiple fixes related to queue set sizing and resources:np2010-03-315-54/+58
| | | | | | | | | | | | | | | | - Only the tunnelq (TXQ_ETH) requires a buf_ring, an ifq, and the watchdog/timer callouts. Do not allocate these for the other tx queues. - Use 16k jumbo clusters only on offload capable cards by default. - Do not allocate a full tx ring for the offload queue if the card is not offload capable. - Slightly better freelist size calculation. - Fix nmbjumbo4 typo, remove unneeded global variables. MFC after: 3 days
* Fix signed/unsigned mix-up that allowed txq->in_use to grow beyond txq->size.np2010-03-311-7/+6
|
* Fix tx drop statistics.np2010-03-313-28/+13
| | | | MFC after: 3 days
* Fix build with "nooptions INET"np2010-03-311-2/+13
| | | | | Requested by: bz MFC after: 3 days
* Do not attempt to retrieve interrupt information before it is available.np2010-03-311-1/+3
| | | | MFC after: 3 days
* Improved PHY EDC settings.np2010-03-311-371/+422
| | | | MFC after: 3 days
* Refresh the firmware version immediately after it is upgraded (or downgraded).np2010-03-311-4/+12
| | | | MFC after: 3 days
* Merge OpenBSD revisions 1.4 through 1.9, mostly style cleanups.delphij2010-03-301-8/+9
| | | | | Obtained from: OpenBSD MFC after: 3 month
* This patch should fix handling of byte range locks locallyrmacklem2010-03-306-279/+525
| | | | | | | | | | | on the server for the experimental nfs server. When enabled by setting vfs.newnfs.locallocks_enable to non-zero, the experimental nfs server will now acquire byte range locks on the file on behalf of NFSv4 clients, such that lock conflicts between the NFSv4 clients and processes running locally on the server, will be recognized and handled correctly. MFC after: 2 weeks
* Remove unused files.delphij2010-03-303-617/+0
|
* Sync with OpenBSD:delphij2010-03-302-6/+5
| | | | | | | | | - avoid coredump when there's only one token on a line; - Use calloc(); - Remove a line inherited from example mdoc. Obtained from: OpenBSD MFC after: 1 month
* For where possible, make the dates of the Tasmanian holidays properlyedwin2010-03-301-8/+22
| | | | | variable. The leftover ones are the Thursday before the Fourth Saturday of October (Oct/SatFourth-2) which is not possible yet.
* nit: xpt_bus_deregister has to be called with the sim lock held.mjacob2010-03-301-0/+4
| | | | MFC after: 1 month
* fix my clobber of the copyright date :)jfv2010-03-301-1/+1
|
* Use CACHE_LINE_SIZE alignment for 'struct pcpu' rather than hardcoding 128.jhb2010-03-301-1/+1
| | | | Reviewed by: jeff
* Thanks to Michael Tuexen for adding SCTP support for 82599,jfv2010-03-302-38/+70
| | | | | | | | | | | also for finding a one character bug that kept TSO from working. Sometimes with direct attach cables a failure can occur in init, the old method of calling detach was broken, there is no way to return an error to the system from init, so I have changed it to return failure thru the ioctl. And, have fixed the ALTQ code changes of Max Laier, sorry Max :)
* Use panic() (which the environment is required to provide to libstand) tojhb2010-03-301-4/+4
| | | | | | | | | | implement assert() instead of relying on a non-required exit(). The exit() invocation also did not match the semantics of the exit() routine that current boot environments happen to require. PR: kern/144749 Discussed with: bde MFC after: 1 week
* Defer freeing a kevent list until after dropping kqueue locks.jhb2010-03-301-4/+6
| | | | | | LOR: 185 Submitted by: Matthew Fleming @ Isilon MFC after: 1 week
* Various and sundry style, whitespace, and comment fixes.jhb2010-03-301-35/+25
| | | | Submitted by: bde (mostly)
* Fix lint build problem.jfv2010-03-302-11/+13
|
* - Handle calloc() allocation failures.ru2010-03-305-9/+36
| | | | | | | | | - Fixed a comment. - 2 -> EXIT_FAILURE in some places. - errx() -> err() where appropriate. PR: 144644 Submitted by: Garrett Cooper
* o Make sockstat -6 output more readable for long ipv6maxim2010-03-301-0/+2
| | | | | | | | | addresses (most of them apart from ::1): put a whitespace between local and remote address:port pairs. PR: bin/145194 Submitted by: Fedor Dikarev MFC after: 2 weeks
* o Remove a duplicate reference to -f flag in the SYNOPSYS section.maxim2010-03-301-4/+1
| | | | | | | | o Improve wording. PR: docs/144407 Submitted by: gcooper MFC after: 1 week
* On request of joel@:edwin2010-03-3012-36/+8
| | | | | | - Remove the 3rd clause of the UC Berkeley copyrighted files. - For the files added copyrighted by me, move the "All rights reserved" to the next line.
* Update to igb and em:jfv2010-03-2920-2241/+6990
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | em revision 7.0.0: - Using driver devclass, seperate legacy (pre-pcie) code into a seperate source file. This will at least help protect against regression issues. It compiles along with em, and is transparent to end use, devices in each appear to be 'emX'. When using em in a modular form this also allows the legacy stuff to be defined out. - Add tx and rx rings as in igb, in the 82574 this becomes actual multiqueue for the first time (2 queues) while in other PCIE adapters its just make code cleaner. - Add RX mbuf handling logic that matches igb, this will eliminate packet drops due to temporary mbuf shortage. igb revision 1.9.3: - Following the ixgbe code, use a new approach in what was called 'get_buf', the routine now has been made independent of rxeof, it now does the update to the engine TDT register, this design allows temporary mbuf resources to become non-critical, not requiring a packet to be discarded, instead it just returns and does not increment the tail pointer. - With the above change it was also unnecessary to keep 'spare' maps around, since we do not have the discard issue. - Performance tweaks and improvements to the code also. MFC in a week
* Refine r204265. We want the standard VGA palette for packed pixel mode.jkim2010-03-292-4/+4
|
* Build modules for this config to make sure they stay buildable...imp2010-03-291-1/+1
|
* Enable module builds now that the build completes for them. Thisimp2010-03-291-1/+1
| | | | should get them into the universe rotation.
* Update the Australian calendar WRT DST.edwin2010-03-291-28/+28
| | | | Layout changes.
* g_vfs_open: correctly set devvp.v_bufobj.bo_bsize to DEV_BSIZEavg2010-03-291-1/+1
| | | | | | | | | | Because of how breadn -> bufstrategy -> g_vfs_strategy are currently implemented, bread on devvp always expects DEV_BSIZE block size. Thus, devvp bo_bsize must always be DEV_BSIZE irrespective of media properties or filesystem implementation details. Reviewed by: mckusick MFC after: 2 weeks
* Start copyright notices with /*-joel2010-03-296-6/+6
|
* Check the pointer to JIT binary filter before its de-allocation.jkim2010-03-291-3/+4
| | | | | Submitted by: Alexander Sack (asack at niksun dot com) MFC after: 3 days
* Print memory model of the video mode except for planar memory model.jkim2010-03-291-5/+32
| | | | | 'P', 'D', 'C', 'H', 'V' mean packed pixel, direct color, CGA, Hercules, VGA X memory models respectively where they have fixed number of planes.
* calendar.freebsd: add my entryavg2010-03-291-0/+1
| | | | MFC after: 4 days
* Add myself.trasz2010-03-291-0/+1
| | | | MFC after: 2 weeks
* Arm defines intr_disable() as a macro, which causes problems for cxgb.imp2010-03-291-0/+2
| | | | | | | | | | Rather than remove it for all architectures (which was a botch in r205845), remove it only for arm and mips until that can be sorted out. Pointy Hat: imp Submitted by: Navdeep Parhar MFC after: 7 days
* Add a handler for the local APIC error interrupt. For now it just printsjhb2010-03-296-40/+90
| | | | | | | out the current value of the local APIC error register when the interrupt fires. MFC after: 1 week
* Cosmetic tweak to use a type suffix instead of a cast to force a constantjhb2010-03-291-1/+1
| | | | to be a long.
* Change how multipath labels are created and managed. This makes it easiermjacob2010-03-292-121/+89
| | | | | | | | | | | | | | | | | to support various storage boxes which really aren't active-active. We only write the label on the *first* provider. For all other providers we just "add" the disk. This also allows for an "add" verb. A usage implication is that you should specificy the currently active storage path as the first provider. Note that this does not add RDAC-like functionality, but better allows for autovolumefailover configurations (additional checkins elsewhere will support this). Sponsored by: Panasas MFC after: 1 month
* Fix references.trasz2010-03-295-13/+21
|
* Make all the modules build on arm (modulo ipfilter, which I'm lookingimp2010-03-291-10/+25
| | | | | | | | | | | | | | | into): o Don't build vpo and syscons on mips or arm either o Add a section for mips and arm breakages, and document why. This is easier than opting in on all the other architectures: # no BUS_SPACE_UNSPECIFIED: bce, bwi, bwn, mfi, mpt, siba_bwn # No barrier instruction support (specific to this driver): sym # no uart_cpu_$MACHINE_ARCH: uart (mips has, by inspection, the same issues as arm, so ditto for it) MFC after: 7 days
OpenPOWER on IntegriCloud