summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Close a race involving the OEA64 scratchpage. When the scratch page'snwhitehorn2010-02-242-10/+15
| | | | | | | | | | | | | | | physical address is changed, there is a brief window during which its PTE is invalid. Since moea64_set_scratchpage_pa() does not and cannot hold the page table lock, it was possible for another CPU to insert a new PTE into the scratch page's PTEG slot during this interval, corrupting both mappings. Solve this by creating a new flag, LPTE_LOCKED, such that moea64_pte_insert will avoid claiming locked PTEG slots even if they are invalid. This change also incorporates some additional paranoia added to solve things I thought might be this bug. Reported by: linimon
* Allow cxgbtool to build with WARNS=6np2010-02-235-160/+211
| | | | MFC after: 1 week
* Yet another attempt to make palette loading more safer:jkim2010-02-235-30/+63
| | | | | | | | | - Add a separate palette data for 8-bit DAC mode when SC_PIXEL_MODE is set and fill it up with default gray-scale palette data for text. Now we don't have to set `hint.sc.0.vesa_mode' to get the default palette data. - Add a new adapter flag, V_ADP_DAC8 to track whether the controller is using 8-bit palette format and load correct palette when switching modes. - Set 8-bit DAC mode only for non-VGA compatible graphics mode.
* Minor diff reduction with Adaptec's driver: in aac_release_command() setemaste2010-02-232-3/+1
| | | | | cm_queue to AAC_ADAP_NORM_CMD_QUEUE by default. In every place it was set, it was set to AAC_ADAP_NORM_CMD_QUEUE anyhow.
* o adds sysctl variables to show device statistics.weongyo2010-02-232-10/+37
| | | | | | o records RTS success/fail statistics. Pointed by: imp
* fixes a compile error; invalid type argument of '->'.weongyo2010-02-231-1/+1
|
* Make xpt_rescan() more correct, as it was before r197208: do not usemav2010-02-231-1/+2
| | | | XPT_SCAN_LUN for wildcard LUN, fall back to XPT_SCAN_BUS.
* Fix recursive lock attempt on hot-plug event in non-ATA_CAM mode.mav2010-02-231-3/+3
|
* The New and Improved snake_server - Service Pack 1: now even moreivoras2010-02-231-1/+1
| | | | sensitive to load average variations!
* Upgrade the "snake" syscons screensaver to the new, multimedia version!ivoras2010-02-231-6/+49
| | | | | | Now, with color! And system load averages! Amused by it: gnn
* Fix two bugs in this manpage: 'System' is not abbreviated with 'P',nwhitehorn2010-02-231-2/+2
| | | | | | | and a non-useful version of smu(4) was in 8.0, so modify the history to reflect that. Submitted by: gavin
* xpt_rescan only honors a wildcard in the target field. Revert the previousmjacob2010-02-231-1/+6
| | | | | | | | | change and have isp_make_here scan the whole bus which will then scan all luns. I think xpt_rescan needs to be fixed, but that's a separable issue. Suggested by: Alexander
* Fix compilation problems with INVARIANTS.imp2010-02-231-27/+20
| | | | | | # also limit RX decryption attempted messages to 50 Reviewed by: weongyo
* Add a manpage for smu(4) now that it does something useful.nwhitehorn2010-02-232-0/+123
|
* Re-add accidentally removed pixel format for direct memory model.jkim2010-02-231-2/+42
|
* Fix FBIO_ADPINFO ioctl on amd64.jkim2010-02-231-3/+3
|
* When we rescan, just scan from logical unit 0. In other words, don'tmjacob2010-02-231-1/+1
| | | | | | | | specify a wildcard lun here. This unbreaks disk re-arrival. MFC after: 2 days
* Remove Tx mbuf parsing code for VLAN in TSO path. Controller doesyongari2010-02-221-25/+5
| | | | | not support TSO over VLAN if VLAN hardware tagging is disabled so there is no need to check VLAN here.
* Add TSO support on VLANs. Also make sure to update TSO capabilityyongari2010-02-221-13/+3
| | | | | | whenever jumbo frame is configured. While I'm here remove unnecessary check of VLAN hardware checksum offloading. vlan(4) already takes care of this.
* POSIX patch(1) would treat -b as different meaning (the functionalitydelphij2010-02-223-3/+3
| | | | | | | is to be provided by --suffix). Looking at the usage here in diffutils, it seems that we can just get rid of the -b .orig stuff. This resolves a problem that can triggered if we move toward to a more permissively licensed patch(1) program.
* Add TSO support on VLANs. jme(4) controllers do not require VLANyongari2010-02-221-1/+4
| | | | hardware tagging to make TSO work over VLANs.
* Remove Tx mbuf parsing code for VLAN in TSO path. Controller doesyongari2010-02-221-18/+5
| | | | | | | not support TSO over VLAN if VLAN hardware tagging is disabled so there is no need to check VLAN here. While I'm here make sure to pullup IP/TCP headers in the first buffer.
* According to the Linux sungem driver, in case of Apple (K2) GMACsmarius2010-02-221-1/+4
| | | | | | | | | | GEM_MIF_CONFIG_MDI0 cannot be trusted when the firmware has powered down the chip so the internal transceiver has to be hardcoded. This is also in line with the AppleGMACEthernet driver, which just doesn't distinguish between internal/external transceiver and MDIO/MDI1 respectively in the first place. Tested by: Andreas Tobler MFC after: 1 week
* Virtualize transport part of periph announcement.mav2010-02-224-150/+188
|
* Add TSO on VLANs. Because re(4) has a TSO limitation for jumboyongari2010-02-221-9/+17
| | | | | | | | frame, make sure to update VLAN capabilities whenever jumbo frame is configured. While I'm here rearrange interface capabilities configuration. The controller requires VLAN hardware tagging to make TSO work on VLANs so explicitly check this requirement.
* Provide a new useless feature: an led(4) interface for the system's sleepnwhitehorn2010-02-221-0/+24
| | | | LED.
* Oops! Wrong word order. :(mav2010-02-221-16/+16
|
* Enforce stronger semantics for bus-dma alignment (currently only on amd64).gibbs2010-02-221-12/+19
| | | | | | | | | | | | | | | | | | | | | | Now all contiguous regions returned from bus-dma will be aligned to the alignment constraint and all but the last region are guaranteed to be a multiple of the alignment in length. This also means that the relative alignment of two adjacent bytes in the I/O stream have a difference of 1 even if they are not physically contiguous. The old code, when needing to perform a copy in order to align data, only copied the amount of data needed to reach the next page boundary. This often left an unaligned end to the segment. Drivers such as Xen's blkfront can't deal with such segments. The downside to this approach is that, once an unaligned region is encountered, the remainder of the I/O will be bounced. However, bouncing should be rare. It is typically caused by non-performance critical userland programs that don't bother to align their I/O buffers (e.g. bsdlabel). In-kernel I/O buffers are always aligned to at least a page boundary. Reviewed by: scottl MFC after: 2 weeks
* Fix some typos.bschmidt2010-02-221-3/+3
| | | | | Approved by: rpaulo (mentor) MFC after: 1 week
* Update mxge to support IFCAP_VLAN_HWTSO.gallatin2010-02-221-0/+12
| | | | | Note: If/when FreeBSD supports TSO over IPv6, the minimal mxge fw rev to enable IFCAP_VLAN_HWTSO will need to be increased to 1.4.37
* Support the extended PLT format used when objects have more than 8192nwhitehorn2010-02-223-25/+67
| | | | PLT relocations on PPC32.
* Add Intel PCH SATA controller IDs.mav2010-02-221-0/+16
|
* Fix constant assignment for netisr protocol information sysctl.rwatson2010-02-221-1/+1
| | | | | MFC after: 1 week Spotted by: bz
* Update date on netstat(1) for -Q.rwatson2010-02-221-1/+1
| | | | | Suggested by: bz MFC after: 1 week
* Cross-reference netstat(1) from netisr(9) since you can now use it torwatson2010-02-221-1/+4
| | | | | | | monitor netisr status. MFC after: 1 week Sponsored by: Juniper Networks
* Remove write-only variable.kib2010-02-221-3/+0
| | | | MFC after: 3 days
* Teach netstat(1) to print out netisr statistics when given the -Q argument.rwatson2010-02-225-4/+298
| | | | | | | | Currently supports only reporting on live systems via sysctl, kmem support needs to be edded. MFC after: 1 week Sponsored by: Juniper Networks
* Export netisr configuration and statistics to userspace via sysctl(9).rwatson2010-02-222-5/+251
| | | | | MFC after: 1 week Sponsored by: Juniper Networks
* Fix previous commit: led_func() doesn't exist, it should be fled_cb().rpaulo2010-02-221-1/+1
| | | | Pointed out by: bz
* Allow user programs to execute mfpvr instructions. Linux allows this, andnwhitehorn2010-02-221-1/+22
| | | | | | | some math-related software like GMP expects to be able to use it to pick a target appropriately. MFC after: 1 week
* Improve output for controllers that doesn't report SATA speed.mav2010-02-226-7/+24
|
* Use KERNLOADADDR instead of hardcoded address. This is required to be able toneel2010-02-221-1/+1
| | | | build the trampoline kernel that has symbol/string tables embedded within it.
* Use mf and not mf.a. The latter doesn't force memory ordering andmarcel2010-02-221-1/+1
| | | | applies to sequential memory.
* Prefer I-units and M-units for nop instructions. This works aroundmarcel2010-02-225-58/+58
| | | | | McKinley flaws. It also avoids using the F-unit in the kernel for no reason.
* Normalize nop instructions: Only use 0 for the immediate operand.marcel2010-02-211-3/+3
|
* Remove pm_active from struct pmap as it serves no purpose.marcel2010-02-212-6/+0
| | | | MFC after: 1 week
* Align the start of the clean submap to a superpage boundary. Althoughalc2010-02-211-1/+1
| | | | | | no superpage mappings are created within the clean submap, aligning the start of the clean submap helps to prevent interference with kmem_alloc()'s use of superpages.
* Add a simple fan management callout to the SMU driver. This is designednwhitehorn2010-02-211-4/+112
| | | | | | such that a fancier thermal management algorithm can be run from user space, but the kernel will at least ensure your machine does not either sound like a wind tunnel or catch fire.
* Fix several mistakes in this file, in order to allow individual fan speedsnwhitehorn2010-02-211-19/+48
| | | | to be read and set correctly.
* Prefer exit(0) from main over return(0).uqs2010-02-211-1/+1
| | | | | | | | Although not explicitly mentioned in style(9), it allows for easier grepping of exit points. This reverts part of r203926. Requested by: des Approved by: philip (mentor)
OpenPOWER on IntegriCloud