summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2012-10-30backout previous over the m_freem contention concernsMike Belopuhov
2012-10-30Actually remove the Makefiles.Joel Sing
2012-10-30Use time_uptime for expiration values as time_second can be skewed atFlorian Obser
runtime while time_uptime is monotonic. Prevent underflows in pfsync(4) and pflow(4) by using signed variables. pfsync(4) problem pointed out by camield. Diff originally by dlg, frag and pflow bits by me. feedback dlg man page tweak jmc Various versions of the pflow bits tested by Hrvoje Popovski (hrvoje AT srce DOT hr), thanks! ok benno, henning, dlg
2012-10-30Remove the now unused i386 libsa/libz Makefiles.Joel Sing
ok deraadt@
2012-10-30Bump the default number of descriptors.Brad Smith
ok mikeb@
2012-10-29Set the type of a processed MSI data record to 0, and check that the typeMark Kettenis
is non-zero before handling them, like we do in pyro(4). Seems to fix issues with MSIs on sun4v, so enable them again.
2012-10-29prefer to return oce_cmd and save on the error variableMike Belopuhov
2012-10-29shorten fwcmd to cmdMike Belopuhov
2012-10-29On UltraSPARC T1/T2, block the current strand while spinning in the hopeMark Kettenis
other strands can do some useful work. Idea stolen from Linux. Results in a small, but measurable speedup doing a kernel build and reduces the system time by almost 10%.
2012-10-29merge oce.c into if_oce.c and rename oce{reg,var}.h to if_oce{reg,var}.hMike Belopuhov
2012-10-29don't split mq sge paddr into low and high partsMike Belopuhov
2012-10-29rename oce_fw to oce_cmd and shorten MBX_SUBSYSTEM_* defines to SUBSYS_Mike Belopuhov
2012-10-29rearrange the function layout a bitMike Belopuhov
2012-10-29oce_get_fw_config is useless; ditch itMike Belopuhov
2012-10-29add (consistent) STANDARDS;Jason McIntyre
2012-10-29Build i386 cdboot(8) and pxeboot(8) using the same method as the amd64Joel Sing
versions. Compile all required sources directly, rather than linking against uninstalled libraries. Discussed with deraadt@
2012-10-29Bump version.Joel Sing
2012-10-29Enable softraid boot support in pxeboot(8).Joel Sing
2012-10-29Make pxeboot(8) work correctly when it is larger than 64KB in size. WhenJoel Sing
relocating use blocks that are a maximum of 32KB in size and increment the segment registers after relocating each block. This keeps us within the confines of the %cx register and the real mode segmented addressing.
2012-10-29Bump version.Joel Sing
2012-10-29Enable softraid boot support in cdboot(8).Joel Sing
2012-10-29Make cdboot(8) work correctly when it is larger than 64KB in size. WhenJoel Sing
relocating use blocks that are a maximum of 32KB in size and increment the segment registers after relocating each block. This keeps us within the confines of the %cx register and the real mode segmented addressing.
2012-10-29Add support for Elantech touchpads to pms(4). This allows the X synaptics(4)Stefan Sperling
input driver to configure these touchpads properly, e.g. toggle tap-to-click, two-finger scrolling, edge-scrolling, etc. So far these pads were working only in PS/2 mouse compatibility mode. Support for up to hardware version 3 has been implemented. But only version 3 has been tested so versions 1 and 2 remain disabled via #ifdef notyet until someone tests (bugs in this code could seriously mess up the mouse and I don't want to end up shipping such bugs in 5.3). help and ok mpi@ shadchin@
2012-10-28We need to allocate memory for crp_buf in the DMA accessibleMike Belopuhov
region since it's passed to the hardware directly. Tested by Yoshihisa Matsushita <y at m8a ! org>, thanks! ok kettenis miod
2012-10-28Use the same (shorter) error message as the i386 version.Joel Sing
2012-10-28Save and restore %ebx across the call to read. Otherwise we load the firstJoel Sing
64KB segment at 0x7c00 and any additional 64KB segments over top of each other at 0x10000.
2012-10-28Add braces to some code in ixgbe_setup_vlan_hw_support().Brad Smith
ok mikeb@
2012-10-27Also attach to channels name "ldom-<guestname>" (but not "ldom-primary").Mark Kettenis
2012-10-27Make polling work.Mark Kettenis
2012-10-27Implememnt AP side power saving for acx(4). Tested on acx11.Claudio Jeker
With some input and OK from kettenis@ and OK sthen@
2012-10-27Move the code for softraid boot into separate files, leaving only minimalJoel Sing
hooks that are called from the normal code path. This allows softraid boot support to be completely enabled or disabled at compile time. For boot(8) all softraid boot support is now enabled by default, including support for booting from crypto volumes. Disable softraid boot support for fdboot, which further shrinks the binary.
2012-10-27kill some unused definitionsMike Belopuhov
2012-10-26oce_first_mcc_cmd doesn't return anything of value so make it void;Mike Belopuhov
shorten it to oce_first_mcc while here
2012-10-26simplify the way we collect statisticsMike Belopuhov
2012-10-26Turns out that for devices that attach to cbus(4), it is better to disableMark Kettenis
interrupts up-front and explicitly enabling them later than the other way around.
2012-10-26remove stuff that either is no longer or was never usedMike Belopuhov
2012-10-26cleanup oce_init_fw; use less bitfieldsMike Belopuhov
2012-10-26rename oce_config_nic_rss to oce_config_rss and merge oce_rss_itbl_init in;Mike Belopuhov
cleanup oce_set_promisc and oce_config_vlan function arguments, a bunch of defines and prototypes while at it.
2012-10-26Previous revision would prevent grtwo(4) boards from being recognized.Miod Vallat
Make sure that what seems to be a 8-bit ID register of value zero does not match as an expansion board, which it can't be, and continue with the specific frame buffer test logic.
2012-10-26Properly clear trap frame in setregs() to avoid leaking registers across exec.Mark Kettenis
ok jsing@
2012-10-25make oce_mbox_{dispatch,wait} more readable and use less bitfieldsMike Belopuhov
2012-10-25simplify/unify writes to the rx and tx doorbell registersMike Belopuhov
2012-10-25don't use bitfields in oce_pci_alloc; kill some unused structuresMike Belopuhov
2012-10-25cleanup interrupt register definesMike Belopuhov
2012-10-25Fix a hilarious bug where oce_set_promisc wouldn't zero out theMike Belopuhov
command buffer it sent to the card but an incorrect assignment of the DMA address pointing to this buffer would offset the problem. Once I've fixed an incorrect assignment oce_init started to fail. Turns out that oce_set_promisc is about the only function whose command size is larger than the payload of the standard command buffer and needs an external chunk of DMA memory.
2012-10-25simplify oce_arm_eq and oce_arm_cqMike Belopuhov
2012-10-25Some LIBC_SCCS found lurking in the shadowsTheo de Raadt
2012-10-23Only clear the revarp_ifp if the ifp pointing to it is detached.Claudio Jeker
Since the ifp is not detached in the SIOCSIFRDOMAIN case remove the clear there. With and OK deraadt@
2012-10-22Stop passing around PS_STRINGS in %g1. The ELF ABI reserves this registerMark Kettenis
for passing around a pointer to a cleanup function and we'd like to use it for that purpose in the near future. ok miod@
2012-10-22Stop passing around PS_STRINGS in %g1. The ELF ABI reserves this registerMark Kettenis
for passing around a pointer to a cleanup function and we'd like to use it for that purpose in the near future. ok miod@