summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2015-02-16In exec_setup_stack(), move the stack in the right direction ifMiod Vallat
MACHINE_STACK_GROWS_UP.
2015-02-15Change pmap_remove_holes() to take a vmspace instead of a map as its argument.Miod Vallat
Use this on vax to correctly pick the end of the stack area now that the stackgap adjustment code will no longer guarantee it is a fixed location.
2015-02-15Rather than using 0xff as a placeholder for "don't check prio", use 0xff toStuart Henderson
mean "prio is 0". This avoids the need for code changes in programs which add pf rules (as was done in pfctl but not other programs) to handle the new "check prio" functionality. Specifically this unbreaks ftp-proxy. Use of #define rather than magic 0xff suggested by benno. ok benno "if henning doesnt like it he can change it when he recovers from jet-lag" (this file missed from previous commit, noticed by daniel@)
2015-02-14Rather than using 0xff as a placeholder for "don't check prio", use 0xff toStuart Henderson
mean "prio is 0". This avoids the need for code changes in programs which add pf rules (as was done in pfctl but not other programs) to handle the new "check prio" functionality. Specifically this unbreaks ftp-proxy. Use of #define rather than magic 0xff suggested by benno. ok benno "if henning doesnt like it he can change it when he recovers from jet-lag"
2015-02-14Add simple bus_space_{map,unmap,subregion} implementation on luna88k.Kenji Aoyama
These are preliminaries for upcoming pcic(4) support on cbus(4/luna88k). suggestions and ok miod@
2015-02-14Don't defer initialization. config_defer(9) doesn't defer things asMasao Uebayashi
deferred as interrupt starts working.
2015-02-14Define UPS_PORT_TEST as FreeBSD/NetBSD do.Masao Uebayashi
2015-02-14Handle (poll) HCD interrupt right after initialization to immediately markMasao Uebayashi
ports as enabled/connected.
2015-02-13Include sys/stdint.h for SIZE_MAX instead of relying on the misplacedTodd C. Miller
define in sys/limits.h. OK guenther@
2015-02-12Convert to if_input().Martin Pieuchot
ok dlg@
2015-02-12Remove useless extern definitions of nselcoll and selwait.Todd C. Miller
OK guenther@
2015-02-12Fix a bug introduced in the last commit that broke EOF handlingTodd C. Miller
in the normal, blocking case. No longer passes regress but that will be fixed later. OK jca@
2015-02-12Remove a chunk that should have been deleted in r1.166, this was safeMartin Pieuchot
because clearing fields twice is not a problem. Yeah, I suck at applying diff. ok henning@, claudio@
2015-02-12Set external DMA address configuration interface.Masao Uebayashi
2015-02-12Fix typos.Masao Uebayashi
2015-02-12Provide interface for external DMA address configuration.Masao Uebayashi
2015-02-12When purging the routes corresponding to an ifp, skip the routing tablesMartin Pieuchot
of different routing domains. The same change has been applied to rt_if_track() in r1.205. ok claudio@
2015-02-12switch back to IRQ_NONE/IRQ_HANDLEDJonathan Gray
2015-02-12Convert to if_input().Martin Pieuchot
ok dlg@
2015-02-12Add and use macros for linux memory barriers. Fix the call inJonathan Gray
i915_gem_object_flush_fence() to be mb() not wmb() while here.
2015-02-12Remove a stray ;.Masao Uebayashi
2015-02-12Move register accessor macros to saner place.Masao Uebayashi
2015-02-12switch some free calls back to kfreeJonathan Gray
2015-02-12De-static for backtracing, but using #define to not change indent (for now).Masao Uebayashi
2015-02-12switch MUTEX_ASSERT_LOCKED calls back to assert_spin_lockedJonathan Gray
2015-02-12Simplify debug ifdefs.Masao Uebayashi
2015-02-12Don't panic even if parent port doesn't exist.Masao Uebayashi
2015-02-12KNF.Masao Uebayashi
2015-02-12convert to if_input.David Gwynne
ok mpi@ henning@
2015-02-12Rename the struct device member of inteldrm_softc to sc_dev and rename theMark Kettenis
pointer to the drm subdevice to dev such that we can match the linux code better. ok jsg@
2015-02-12Add mutex_is_locked and use it wherever linux uses it.Mark Kettenis
2015-02-12change log(matches) semantics slightly to make it more useful. since itHenning Brauer
is a debug tool change of semantics not considered problematic. up until now, log(matches) forced logging on subsequent matching rules, the actual logging used the log settings from that matched rule. now, log(matches) causes subsequent matches to be logged with the log settings from the log(matches) rule. in particular (this was the driving point), log(matches, to pflog23) allows you to have the trace log going to a seperate pflog interface, not clobbering your regular pflogs, actually not affecting them at all. long conversation with bluhm about it, which didn't lead to a single bit changed in the diff but was very very helpful. ok bluhm as well.
2015-02-12- Use config_defer() to call actual attachment.Masao Uebayashi
- Set parameters passed to dwc2.
2015-02-11Do not store the key and the gateway of a route entry in the same chunkMartin Pieuchot
of memory. The key (destination) is only set once, when the route is inserted in the routing table, and does not need to change afterward. The gateway might change and rt_setgate() will do all the checks for you. ok claudio@
2015-02-11Disable the L1 ASPM link state to workaround errata with theBrad Smith
82571 / 82572 controllers. As noticed in the Linux driver and there is related errata for that too. ok jsg@
2015-02-11- Fix thinko about struct usbd_xfer allocation.Masao Uebayashi
- Use bus_dma_tag_t held in struct usbd_bus.
2015-02-11- Make use of m_defrag().Brad Smith
- Lower the max # of TX DMA segments from close to the whole ring down to a more sensible value. From FreeBSD - Move the TX ring full check out of and above the for loop. - Use dm_nsegs to provide the total # of DMA segments instead of the value from the for loop. ok mikeb@
2015-02-11Disable the L0S and L1 ASPM link states to workaround errata with theBrad Smith
82573 / 82574 controllers. 82573.. 8 82573 Disappears in PCI Configuration Space When L0s and L1 PCIe Link States Are Enabled 41 Delay of Received Ethernet Packet During ASPM L1 82574.. 24. PCIe: Common Mode Voltage Shift During L1 Exit 25. Dropped Rx Packets From FreeBSD ok jsg@
2015-02-11Needs <sys/atomic.h> explicitely now.Miod Vallat
2015-02-11dlg@ said he had fixed sparc64, but I'm afraid this requires <sys/lock.h>Miod Vallat
2015-02-11things that use sys/lock.h want lockmgr locks. things that useDavid Gwynne
machine/lock.h are architectures for their MD specific things. sys/lock.h users dont want the MD bits, so dont have it include machine/lock.h. ok miod@
2015-02-11include extended capabilities in ahci debug outputJonathan Matthew
ok dlg@
2015-02-11regenBrad Smith
2015-02-11Add Intel Dual Band Wireless AC 3165 / 8260 PCI ids.Brad Smith
2015-02-11recognise ahci 1.3.1Jonathan Matthew
ok dlg@
2015-02-11no md code wants lockmgr locks, so no md code needs to include sys/lock.hDavid Gwynne
with and ok miod@
2015-02-11Switch most printf style functions calls back to linux function namesJonathan Gray
and move DRM_INFO/pr_info/dev_info messages under DRMDEBUG.
2015-02-11dont need lockmgr for pmap things, so we dont need sys/lock.hDavid Gwynne
2015-02-11this doesnt need lockmgr. we dont need sys/lock.hDavid Gwynne
2015-02-11Fix debug build, etc.Masao Uebayashi