summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2011-09-18Remove extra printf argumentsMiod Vallat
2011-09-18A few more fixes to the trap save/restore code.Mark Kettenis
2011-09-18Move the pdesc initialization code into pf_setup_pdesc(). UnifyAlexander Bluhm
some IPv4 and IPv6 code. Make sure that both code paths set the same fields in the same order. ok mpf henning
2011-09-18Disable space-ID hashing like we do on hppa.Mark Kettenis
2011-09-18Do not use the `hh' modifier in printf format strings, as the kernel printfMiod Vallat
implementation does not support it and handles it as `h'. ok jsing@
2011-09-18Rename the optional metadata handler function and factor out the optionalJoel Sing
metadata handling code. This will simplify upcoming changes.
2011-09-18Update the system clock when we resume.Peter Hessler
OK miod@
2011-09-18Use an uvm object to keep track of the page table pages, just like we do onMark Kettenis
hppa to reduce the diffs between the two pmaps. Also add cache flushing in places where hppa does them.
2011-09-18Missing error printf argumentMiod Vallat
2011-09-18Make sure daddr64_t values get printed with %lld.Miod Vallat
ok deraadt@
2011-09-18Fix various format string types to as a minimum match the width of theMiod Vallat
variables being processed. ok bluhm@ henning@
2011-09-18Take into account the PIE bits when masking PDEs.Mark Kettenis
2011-09-18Move the call to pf_test_rule() for fragments that have not beenAlexander Bluhm
reassembled by normalization from pf_setup_pdesc() to pf_test(). This simplifies the paramter list of pf_setup_pdesc() as it can concentrate on its job filling the pf_pdesc struct. ok henning mpf
2011-09-18Add missing cache and TLB purges.Mark Kettenis
2011-09-18Regenerate after the futex commit.Paul Irofti
2011-09-18Add futex support for compat/linux.Paul Irofti
Based on Emmanuel Dreyfus work with additions, tricks and adaptations by me. Lots of help and reviewing by guenther@ and oga@. Okay guenther@.
2011-09-18Make sysctl__string() handle the truncated output case via twoPhilip Guenthe
copyout()s instead of altering the in-use variable, and to also return the full length via oldlenp in that case as documented. ok jsing@ (problem pointed out by matthew@)
2011-09-17The pd->ip_sum and pd->proto_sum fields are not needed. ReplaceAlexander Bluhm
the one occurrence in pf_test_state_icmp() that uses pd2.ip_sum by a local variable. Remove ip_sum and proto_sum from struct pf_pdesc. ok claudio henning
2011-09-17Fix a truncated DPRINTF.Miod Vallat
2011-09-17use default_chip_unmap for sata_chip_map, lets the via controllers detachJonathan Gray
ok deraadt@
2011-09-17move initialisation of pd->nsaddr and pd->ndaddr from pf_test_rule toHenning Brauer
pf_setup_pdesc. fixes logging of packets passed statefully. ok bluhm
2011-09-17Deduplicate IPv4 and IPv6 code that handles fragments that have notAlexander Bluhm
been reassembled by normalization. ok henning claudio
2011-09-17arithemtic -> arithmeticMiod Vallat
2011-09-17Don't bother keeping a {u,}lptioctl function which is a duplicate ofMiod Vallat
enodev(). ok jsing@ krw@ deraadt@
2011-09-16Use cdev_ulpt_init() to setup ulpt(4) instead of cdev_lpt_init, forMiod Vallat
consistency.
2011-09-16regenJonathan Gray
2011-09-16add Intel E600/EG20T and some other devices from submitted dmesgsJonathan Gray
2011-09-16Set the shared priority entry to the value of the current maxipl entry,Dale Rahn
not the index. ok kettenis@
2011-09-16Fix a bunch of typos: manaul, monnitor, machiune, autload.Miod Vallat
2011-09-16add device driver for Fujitsu Components FX-5204PS smart power strip.Yojiro Uo
ok deraadt@
2011-09-16apply following changes to sensor framework:Yojiro Uo
- change accuracy of SENSOR_FREQ from Hz to muHz - add SENSOR_VOLTS_AC entry to userland programs ok deraadt@
2011-09-16regenYojiro Uo
2011-09-16add Vaisala's "USB instrument cable" entryYojiro Uo
2011-09-16regenYojiro Uo
2011-09-16add entry for FX-5204PSYojiro Uo
2011-09-16regenYojiro Uo
2011-09-16fix very old usb vendor id mismatchYojiro Uo
The VID: 0x430 is not owned by SUN microsystems, it is owned by Fujitsu Component, Inc. ok deraadt@
2011-09-15Fix up age_encap() / age_start()..Kevin Lo
- Remove unnecessary nsegs variable from age_encap() and use map->dm_nsegs. Also remove unnecessary FreeBSD check for 0 DMA segments check. - Remove printfs in age_encap() failure paths that shouldn't be there. - Add missing IF_PREPEND() from failure path coming off of age_encap() within age_start(). - Fix error handling within age_encap(). Previously age_encap() was attempting to unload a DMA map upon failure from bus_dmamap_load_mbuf() even though one wasn't loaded at that point and then always forcing mbufs through the EFBIG path. Tested by Thomas Pfaff. From Brad.
2011-09-15Switch vax to timecounters. There are three different clock sources:Miod Vallat
- ICR/NICR on most systems (1MHz counter resolution). - diagnostic timer on KA46/KA48 (1kHz counter resolution, counter is actually running at around 1024 kHz but is not guaranteed to be monotonic at this rate). - 100Hz clock on VXT (nothing but the 100Hz clock interrupt). Tested on KA49 (ICR style), KA46, KA48 (diagtmr style), VXT2000+ (VXT {empty,hopeless}ness'r'us style).
2011-09-14Initial kernel support for sandybridge intel chipsets in intagp and inteldrm.Owain Ainsworth
Far from perfect. Extra (almost essential) features like the extra ringbuffers are not yet supported (I have half a diff), but this and the appropriate ddx patches allow modesetting and basic shadow acceleration. Initial work by jcs@, a few cleanups and bugfixes by me. Tested by many on all appropriate chipsets. ok kettenis@
2011-09-13On KA43:Miod Vallat
- silence noisy print of cache control registers at cache initialization time (but not during memory errors or machine checks). - correctly access the prom mailbox register, so that halt and reboot work as intended (from NetBSD).
2011-09-13Fix up ale_encap() / ale_start():Kevin Lo
- Remove unnecessary nsegs variable from ale_encap() and use map->dm_nsegs. Also remove unnecessary FreeBSD check for 0 DMA segments check. - Remove printfs in ale_encap() failure paths that shouldn't be there. - Add missing IF_PREPEND() from failure path coming off of ale_encap() within ale_start(). - Fix error handling within ale_encap(). Previously ale_encap() was attempting to unload a DMA map upon failure from bus_dmamap_load_mbuf() even though one wasn't loaded at that point and then always forcing mbufs through the EFBIG path. Tested by Johan Torin. From Brad
2011-09-13Fix up alc_encap() / alc_start():Kevin Lo
- Remove unnecessary nsegs variable from alc_encap() and use map->dm_nsegs. Also remove unnecessary FreeBSD check for 0 DMA segments check. - Remove printfs in alc_encap() failure paths that shouldn't be there. - Add missing IF_PREPEND() from failure path coming off of alc_encap() within alc_start(). - Fix error handling within alc_encap(). Previously alc_encap() was attempting to unload a DMA map upon failure from bus_dmamap_load_mbuf() even though one wasn't loaded at that point and then always forcing mbufs through the EFBIG path. Tested by Gabriel Linder. From Brad
2011-09-13Do not invoke hardclock() until cpu_initclocks() has been invoked; avoidsMiod Vallat
a NULL pointer dereference because the softclock interrupt handler cookie is not initialized yet. Found the hard way and fix tested by aoyama@
2011-09-12Clamp a maximum number of outstanding requests at 40 as it wasMike Belopuhov
figured out the hard way by senior Pedro. Performance decreased severely with newer firmwares when ioc was stuffed with requests. Unfortunately it still remains a magic number as LSI doesn't clearly document what it has to be (controllers report some meaningless values like 3167 and 1952). ok dlg
2011-09-11Define symbolic constants for the addresses of the vsbus devices onMiod Vallat
512KB PROM systems (e.g. KA49), or 256KB PROM systems built after KA49 (e.g. KA5[234]), and use them instead of pouring magic numbers all over the (md) tree. No functional change.
2011-09-11Fix inverted test when selecting resolution on the 1024x864 VLC frame buffer.Miod Vallat
2011-09-08Provide namespace-safe alignment macros in <machine/_types.h>, withPhilip Guenthe
compat names kept in <machine/param.h>. In <sys/socket.h>, pull in <sys/_types.h> instead of the namespace polluting <machine/param.h> and completely eliminate __CMSG_ALIGN, replaced by _ALIGN ok deraadt@
2011-09-08Make the INT_FAST*_{MIN,MAX} macros match the types they're defined to.Philip Guenthe
Since the underlying types of the int_fast types are set by machine/_types.h, put internal macros in that same file and define the exposed INT_FAST*_{MIN,MAX} macros from those. ok millert@, kettenis@
2011-09-06Properly initialize struct carp_if (especially vhif_nvrs) with M_ZERO.Marco Pfatschbacher
This lets carp delete IFF_PROMISC on its carpdev upon destroy. Fix from Stefan Rinkes. OK sthen, bluhm, deraadt.