summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2015-05-30DRMDEBUG not DRM_DEBUG. From frantisek holop.Jonathan Gray
2015-05-30Native atomic operations for i386.Mark Kettenis
ok deraadt@, guenther@, dlg@
2015-05-30Acquire/release the i2c bus before/after reading the temperature register.Mark Kettenis
Prevents concurrent access to the smu(4) microcontroller on Apple G5 machines, which would result in errors reading the RTC. ok deraadt@, mpi@
2015-05-30Set the usb otg port on the cubox to host mode and attach ehci to it.Jonathan Gray
While ehci attaches, devices don't seem to be recognised in the otg port. From Patrick Wildt in bitrig.
2015-05-30Set the sdmmc(4) emmc highspeed flag if the capability register claimsJonathan Gray
it is supported.
2015-05-30cleanup attach messageTheo de Raadt
2015-05-30fix the build when SDHC_DEBUG is definedJonathan Gray
2015-05-29Make ld.so on alpha cope with binaries built with secureplt (where secure hereMiod Vallat
means read-only, which our ld.so already enforced, but a smaller plt section).
2015-05-29Nuke annoying whitespace nits to shrink some future diffs.Kenneth R Westerback
2015-05-29Nuke annoying whitespace nits to shrink some future diffs.Kenneth R Westerback
2015-05-29add some more cortex A idsJonathan Gray
2015-05-29enable agtimer required for cortex a15Jonathan Gray
2015-05-29Remove unused bus space tags/handles. The generic timer uses the cp15Jonathan Gray
coprocessor space.
2015-05-29Revert unrelated changes in previous.Masao Uebayashi
2015-05-29Initial addition of ``Patrol Read'' support in bio(4), biocto(8), andMasao Uebayashi
mfi(4). Based on FreeBSD, but done without mfiutil(8). OK deraadt@
2015-05-28when machdep.allowaperture sysctl is set to 3, allow concurrent accessJoshua Stein
2015-05-28Save the cpuid(6) eax bits in the cpu_info and report the SENSOR and ARATPhilip Guenther
bits from it. ok krw@ kettenis@
2015-05-28Kill unused IF_INPUT_ENQUEUE().Martin Pieuchot
ok dlg@
2015-05-27Use m_defrag(9) instead of rolling our own inlined version.Mark Kettenis
ok mikeb@
2015-05-27check if the packet is for us or if we're promisc before we cut theDavid Gwynne
vlan header out of the packet. fixes rx on top of trunks on top of nics that dont do hw vlan tagging. ok mpi@
2015-05-27Improve the controller state check in xhci_resetMike Belopuhov
From FreeBSD, OK mpi
2015-05-27call exynos_platform_match() if the kernel is compiled with exynos devicesJonathan Gray
2015-05-27make the exynos code compile without fdtJonathan Gray
ok bmercer@
2015-05-26make this build with WSDISPLAY_COMPAT_RAWKBD definedJonathan Gray
ok bmercer@
2015-05-26Fix missing vlan.h include in if_vio.cStefan Fritsch
patch by jsg@
2015-05-26Don't create ICMP states on reply packets unless tracking states sloppyMike Belopuhov
Since we've strengthened the ICMP state matching procedure during lookup to only match packets against states set up in a particular direction, we need to make sure we don't create states on packets that would otherwise be flowing in the direction opposite to the direction of the state and prevent further packets from matching the created state due to strict rules imposed by the ICMP direction check. Problem reported by Alexandr Nedvedicky, alexandr.nedvedicky-at-oracle.com. Discussed with reyk@; OK henning
2015-05-26Use if_output() instead of rerolling it.Martin Pieuchot
ok stsp@
2015-05-26bump the number of tx and rx descriptors from 128 up to 512.David Gwynne
2015-05-26Store the IP address of the corresponding ifa in the rt_gateway fieldMartin Pieuchot
of RTF_CLONING and RTF_BROASCAST routes to not create MPATH conflicts when IP address aliases are used. This change makes it possible to have multiple RTF_CLONING routes with the same priority. Note that any of the existing RTF_CLONING route might be used by the kernel to create a RTF_CLONED route which should not be a problem with aliases since they are attached to the same ifp. This unbreak address aliases since the kernel supports multiple connected routes for a subnet. Found the hardway by djm@, ok claudio@
2015-05-26Normalize route destination before checking for MPATH conflicts.Martin Pieuchot
This makes rt_mpath_conflict() work as expected when adding routes with the same destination and the same netmask. With and ok claudio@
2015-05-26Do not create ARP entries for RTF_BROADCAST routes.Martin Pieuchot
This has been done because historically routes to broadcast addresses were cloned like any ARP entry. But for obvious reasons, no matching Ethernet address could ever be resolved. That's why we played tricks with the expire timer. Now that a RTF_BROADCAST route is created per configured IPv4 address, we need to differenciate duplicated one. And by not creating an ARP entry we are allowed to write the IP address in the rt_gateway field, which prevents MPATH conflicts. This change is part of a fix to unbreak aliases since the kernel support multiple connected routes for a subnet. Found the hardway by djm@, ok claudio@
2015-05-26Now that the Ethernet header is always passed as part of the mbuf, killMartin Pieuchot
the second (unused) argument of the input packet handlers. ok dlg@
2015-05-26move add_net_randomness from ether_input to the if_input task.David Gwynne
change it from feeding the ethertype of the packet (which is almost certainly an ip packet or vlan packet, so not that variable) to the number of packets about to be processed. ok deraadt@ mpi@
2015-05-26More than 100+ drivers converted to if_input(), this is the last "real" one.Martin Pieuchot
ok dlg@
2015-05-26make vlans inherit their parents hardmtu as well as mtu.David Gwynne
from brad@ and tested locally.
2015-05-26Build all the firmware for usb devices on armv7.Jonathan Gray
2015-05-26Sync usb devices with amd64.Jonathan Gray
Prompted by djm noticing uslcom(4) was not included.
2015-05-25fix panic for real and revert previous rev 1.52Sebastian Benoit
from markus@ sorry for the mixup
2015-05-25fix a panic in import_identities() in case the ID isnt loadedSebastian Benoit
(triggered by bgpd). ok marku@s, mikeb@
2015-05-25Initialize ipa_ndrq in isascan() too...Miod Vallat
2015-05-25Match newer elantech v4 touchpads, logic taken from Linux.Martin Pieuchot
Based on a submission from and ok jcs@.
2015-05-25Make this build when using the __STRICT_ALIGNMENT version of USETW.Jonathan Gray
2015-05-25Convert from ether_input() with separate mbuf data and Ethernet header, toMiod Vallat
if_input(). Based upon an initial diff from mpi@, and then painfully made STRICT_ALIGNMENT-compliant. Tested on 4/260. ok mpi@
2015-05-25Prevent a use after free in by closing all open endpoints upon detach.Martin Pieuchot
Fix a panic reported by landry@ with Android's ADB. Tested and ok ajacoutot@
2015-05-25a dreaded whitespace; Kyle MilzTheo de Raadt
2015-05-25missing word in comment; Kyle MilzTheo de Raadt
2015-05-24Initialize ipa_nirq in isascan(). Gets rid of spurious irq locators beingMiod Vallat
printed for isadma(4).
2015-05-24add the chromebook board id the exynos code usesJonathan Gray
2015-05-24imx_board_devs -> exynos_board_devsJonathan Gray
2015-05-24Follow the recent pckbc@isa changes and always establish all the necessaryMiod Vallat
interrupts at pckbc attach time, and get rid of the `intr_establish' pckbc callback. Tested on hppa (gsckbc) and sgi (pckbc@hpc); not tested on sparc64 (pckbc@ebus) but this attachment was already behaving this way and its intr_establish callback was an empty function.