summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate ext_intr_task. The "slow" interrupt handler is alreadynp2010-07-095-58/+14
| | | | | | | running on the adapter's task queue. Just do what the task does instead of enqueueing it. MFC after: 3 days
* Fix bufsize calculation so that cxgbtool can display information for thenp2010-07-091-1/+0
| | | | | | last I/O queue too. MFC after: 3 days
* Sync. printf() of libstand(3) with sys/kern/subr_prf.c.jkim2010-07-081-12/+45
| | | | | | | | | | | | | | | | | | | | | | CVS r1.94 jhb: Cast the integer read as the first argument for %b to an unsigned integer so it's value is not sign extended when assigned to the uintmax_t variable used internally by printf. For example, if bit 31 is set in the cpuid feature word, then %b would print out the initial value as a 16 character hexadecimal value. Now it only prints out an 8 character value. CVS r1.109 njl: Add support for 'h' and 'hh' modifiers for printf(9). CVS r1.117 phk: If we ignore an unknown % sequence, we must stop interpreting the remaining % arguments because the varargs are now out of sync and there is a risk that we might for instance dereference an integer in a %s argument. SVN r209836 jkim: Implement optional 'precision' for numbers. Previously, it was parsed but ignored. Some third-party modules (e.g., APCICA) prefer this format over zero padding flag '0'.
* Implement optional 'precision' for numbers. Previously, it was parsed butjkim2010-07-081-11/+14
| | | | | ignored. Some third-party modules (e.g., APCICA) prefer this format over zero padding flag '0'.
* Revert r209787 pending further discussion.randi2010-07-087-6/+551
| | | | Approved by: cperciva (mentor)
* Properly recognize a number followed by non-digits as a jail name.jamie2010-07-081-1/+3
| | | | | | Call "0" a name because zero is used to indicate no specified jid. MFC after: 3 days
* - Various style and whitespace fixes.jhb2010-07-082-76/+66
| | | | | | | - Make sugid_coredump and kern_logsigexit private to kern_sig.c. Submitted by: bde (partially) MFC after: 1 month
* Remove enabling RX checksum offloading in RX filter setup. RXyongari2010-07-082-6/+5
| | | | | | | | checksum is enabled in sge_init_locked(). While I'm here do not set RX checksum bits in RX descriptor initialization. It is controller's job to set these bits. Tested by: xclin <xclin <> cs dot nctu dot edu dot tw >
* Missed a file in r209803: this header contains a definition ofnwhitehorn2010-07-081-0/+1
| | | | | | OFW_STD_32BIT. Pointy hat to: me
* Assert that low and high are >= 0. The allocator doesn't support thejh2010-07-081-2/+2
| | | | negative range.
* Fix XLR64, the previous version had the contents of file duplicated.jchandra2010-07-081-133/+0
|
* 64 bit ld script for mips, and configuration file for 64 bit compilationjchandra2010-07-082-0/+567
| | | | | | on XLR Approved by: rrs
* Replace the existing PowerPC busdma implementation with the one fromnwhitehorn2010-07-083-211/+834
| | | | | amd64 (with slight modifications). This provides support for bounce buffers, which are required on systems with RAM above 4 GB.
* Use 64 bit type for rqb_word_t in n64 kernel.jchandra2010-07-081-2/+11
| | | | | Reviewed by: imp Approved by: rrs
* Enable KX bit, which is needed for 64 bit access, in status registerjchandra2010-07-083-6/+18
| | | | | | | for XLR. Update exception handlers and other functions which set/change status registers to preserve this. Approved by: rrs
* Add TX-path aligned/unaligned stats for if_arge.adrian2010-07-082-1/+15
|
* 64 bit compilation support XLR platform code.jchandra2010-07-085-32/+32
| | | | | | | Mostly changes to make casting between int and pointer and printing 64bit values safe for 32 and 64 bit compile. Approved by: rrs
* Address PR kern/148307 - fix if_ath TX mbuf alignment/size constraint checksadrian2010-07-081-1/+23
| | | | | | | | | | | | The existing code only checked the alignment of the first mbuf and didn't enforce the size constraints. This commit introduces a simple function to check the alignment and size of all mbufs in the list. This fixes the initial issue in the PR. PR: kern/148307 Reviewed by: gonzo@
* Fix minor issue in sys/mips/mips/cache_mipsNN.c, using int type forjchandra2010-07-081-2/+2
| | | | | | | virtual addr will break on 64 bit, change to vm_offset_t. Reviewed by: imp@ Approved by: rrs (mentor)
* Merge jmallett@'s n64 work into HEAD - changeset 8jchandra2010-07-083-31/+41
| | | | | | | | | Updated PTE/PDE macros from http://svn.freebsd.org/base/user/jmallett/octeon Introduce pmap_segshift() macro, use pmap_segmap() in place of pmap_pde, and remove pmap_pde(). Approved by: rrs (mentor) Obtained from: jmallett@
* Make ofw_syscons work on 64-bit systems.nwhitehorn2010-07-081-3/+3
|
* Fix several bugs in the real-mode Open Firmware implementation and providenwhitehorn2010-07-081-157/+325
| | | | | | a virtual-mode version for use on 64-bit systems, which have 32-bit firmware implementations and require similar constraints on addressing to the real-mode implementation.
* Introduce a sysctl block for if_arge and, for now, a blank debug sysctladrian2010-07-082-0/+19
| | | | | | placeholder for later. Add in a missing FreeBSD ID string.
* Change the argument type to OF_call_method to take an array of cell_tnwhitehorn2010-07-084-12/+10
| | | | | instead of unsigned longs to prepare for platforms where they are not the same.
* Fix iicbus_get_addr() on 64-bit big-endian systems. The bus accessornwhitehorn2010-07-081-1/+1
| | | | passes a uintptr_t, not a uint32_t.
* Extend the ath debugging a little to log the interface name.adrian2010-07-081-1/+1
| | | | | Some devices have >1 atheros card and the current debug prints make it impossible to tell which interface is being unhappy.
* Since r209216 bpf(4) searches for mbuf_tags(9) and thus will not work withglebius2010-07-081-6/+8
| | | | | | a stub m_hdr instead of a full mbuf. PR: kern/148050
* Do not mention VM_ALLOC_RETRY in comment, and normalize the terminologykib2010-07-081-2/+2
| | | | | | | (blocking -> sleeping). Reviewed by: alc MFC after: 3 days
* Make VM_ALLOC_RETRY flag mandatory for vm_page_grab(). Assert that thekib2010-07-082-14/+13
| | | | | | | | | flag is always provided, and unconditionally retry after sleep for the busy page or failed allocation. The intent is to remove VM_ALLOC_RETRY eventually. Proposed and reviewed by: alc
* Correctly maintain the per-cpu field "curpmap" on amd64 just like wealc2010-07-082-12/+12
| | | | | | | | | | | | | | | | | do on i386. The consequences of not doing so on amd64 became apparent with the introduction of the COUNT_IPIS and COUNT_XINVLTLB_HITS options. Specifically, single-threaded applications were generating unnecessary IPIs to shoot-down the TLB on other processors. However, this is clearly nonsensical because a single-threaded application is only running on the current processor. The reason that this happens is that pmap_activate() is unable to properly update the old pmap's field "pm_active" without the correct "curpmap". So, in effect, stale bits in "pm_active" were leading pmap_protect(), pmap_remove(), pmap_remove_pages(), etc. to flush the TLB contents on some arbitrary processor that wasn't even running the same application. Reviewed by: kib MFC after: 3 weeks
* Remove the ability to upgrade via sysinstall. This feature has been flakyrandi2010-07-087-551/+6
| | | | | | | | and broken for a number of years. freebsd-update now provides a reasonable way to handle upgrades, so keeping this functionality in sysinstall only serves to mislead users. Approved by: cperciva (mentor)
* Add support for remote logging to syslogd via an install.cfg variable.randi2010-07-073-6/+82
| | | | | Approved by: cperciva (mentor) MFC after: 3 weeks
* Add acpi_find_table() -- a convenience function for looking up anmarcel2010-07-072-2/+38
| | | | ACPI table given the signature.
* Add further documentation for netDev in install.cfg to reflect the newrandi2010-07-071-0/+1
| | | | | | | usage. Approved by: cperciva (mentor) MFC after: 3 days
* Remove pointless BOOTP conditional.marcel2010-07-071-5/+0
|
* Use the kernel's start address to determine what to map. This allowsmarcel2010-07-072-3/+6
| | | | | us to link the kernel at different addresses without needing to build a corresponding loader.
* Fix an error in the EXAMPLES section of getopt(1), which is based onbcr2010-07-071-3/+3
| | | | | | | | | | | | | | the same fix present in NetBSD. Note: the getopt man page contains more antique information like this. An overhaul of the man page and/or sync with NetBSD would be the right thing to do. But since this is out of the scope of the PR, I'll leave it as it is for now. PR: docs/133118 Submitted by: Oleg A. Mamontov (oleg at mamontov dot net) Discussed with: jilles@ MFC after: 2 weeks
* Fix the CS line definitions. These bits are for the CS2/CS1 linesadrian2010-07-071-4/+4
| | | | | | rather than CS1/CS0. This has been tested on the Ubiqiti Routerstation Pro board.
* Increase the default and minimum partition sizes.brucec2010-07-071-7/+7
| | | | | | | | | | | | | | | | Bump / to 1GB, /var to 4GB and /tmp to 1GB. A 512MB root partition is now too small to hold two kernels, so to prevent installkernel failing 1GB is a better default. Likewise, applications are storing more data in /var so 4GB is more reasonable on a modern machine. The previous minimum partition sizes were too small to hold a minimal installation, and have been adjusted accordingly. Discussed with: rwatson, simon Approved by: rrs (mentor) MFC after: 1 week
* Fix style issues with the previous commit, namelyrpaulo2010-07-071-6/+6
| | | | | | use-tab-instead-of-space and don't use underscores in macro variables. Pointed out by: bde
* - Simplify logic in handling ticks wrap-upattilio2010-07-071-13/+10
| | | | | | | | | | | - Fix a bug where thread may be in sleeping state but the wchan won't be set, leading to an empty container for sleepq_type(). [0] Sponsored by: Sandvine Incorporated [0] Submitted by: Bryan Venteicher <bryanv at daemoninthecloset dot org> MFC after: 3 days X-MFC: 209577
* If a user calls sctp_sendx() with a NULLrrs2010-07-071-0/+5
| | | | | | | sinfo we will crash. Instead we should provide our own temp structure to use internally. MFC after: 1 month
* Add the u3g(4) driver. I can't find any reason why it's not here.kevlo2010-07-071-0/+1
|
* - Add support for the "sec" option to "zfs set sharenfs"mm2010-07-071-2/+2
| | | | | | Submitted by: Dmitry Morozovsky <marck@FreeBSD.org> Approved by: delphij (mentor) MFC after: 3 days
* When dhclient obtains a lease, it runs dhclient-script and expectsbrian2010-07-071-16/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | it to configure the interface. When the script is complete, dhclient monitors the routing socket and will terminate if its address is deleted or if its interface is removed or brought down. Because the routing socket is already open when dhclient-script is run, dhclient ignores address deletions for 10 seconds after the script was run. If the address that will be obtained is already configured on the interface before dhclient starts, and if dhclient-script takes more than 10 seconds (perhaps due to dhclient-*-hooks latencies), on script completion, dhclient will immediately and silently exit when it sees the RTM_DELADDR routing message resulting from the script reassigning the address to the interface. This change logs dhclient's reason for exiting and also changes the 10 second timeout to be effective from completion of dhclient-script rather than from when it was started. We now ignore RTM_DELADDR and RTM_NEWADDR messages when the message contains no interface address (which should not happen) rather than exiting. Not reviewed by: brooks (timeout) MFC after: 3 weeks
* Further simplification.imp2010-07-071-1/+1
|
* These files should have been added/deleted in r209751imp2010-07-061-8/+13
|
* A few patches from Ed Maste by way of Kris Mooreimp2010-07-066-25/+19
| | | | | | 1. Change detect-vmware to detect-emulation 2. improve laptop detection 3. better, network descriptions
* Provide more examples for error injection.marcel2010-07-061-1/+6
|
* Simplify the wording of the console configuration dialogs since we nowbrucec2010-07-061-10/+9
| | | | | | | only have a single video console driver. Approved by: rrs (mentor) MFC after: 1 month
OpenPOWER on IntegriCloud