summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2013-11-19backout the DRM_IOCTL_I915_GEM_WAIT commitJonathan Gray
it seems to leave X unuseable on resume on at least snb/ivb ok kettenis@
2013-11-19Kill matchlvl usage throughout the usb stack.Paul Irofti
Allows us to move forward on cleaning. Okay mpi@
2013-11-19Remove some FDDI/ATM leftovers.Martin Pieuchot
ok mikeb@, henning@, deraadt@, brad@, miod@
2013-11-19regenBrad Smith
2013-11-19more 4th gen Intel Core HD Audio idsBrad Smith
2013-11-19format string fixes picked up with -Wformat=2Philip Guenther
ok deraadt@
2013-11-19oopsTheo de Raadt
2013-11-18format string cleanupTheo de Raadt
2013-11-18cleanse format stringTheo de Raadt
2013-11-18format stringTheo de Raadt
2013-11-18hack in a global rendezvous for interprocess semaphores to useTed Unangst
2013-11-18Enable MSI on the remaining chipsets.Brad Smith
ok naddy@ sthen@
2013-11-18Fix potential null dereference.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok benno@ henning@
2013-11-18The prio value of a pf match rule was overridden by a later passAlexander Bluhm
rule even if the latter had no prio flag. Fix match rules with prio to work as expected. Found by Roman Kravchuk; reported and tested by Alexey Suslikov; OK henning@
2013-11-18use arc4random() for ether_fakeaddr, because it is safeTheo de Raadt
ok tedu
2013-11-18simplify kthread_create(). no more stdargTheo de Raadt
ok matthew guenther mikeb
2013-11-18- ansify some function definitionsBrad Smith
- remove return at end of void functions - remove extraneous braces no functional change. ok chris@
2013-11-18ansify some function definitions and tidy up this code style wise. thisBrad Smith
ancient code looked pretty crummy. ok deraadt@
2013-11-18panic expects a format stringTheo de Raadt
2013-11-18Factor out of {split,pci}_status_strings[] the printf formattings bits,Philip Guenther
putting them in the actual printf() calls. Shuts up gcc -Wformat=2 and reduces the space spent on string constants. ok deraadt@
2013-11-18Convert trunk(4) to use a detachhook, discussed at b2k13 with many.Martin Pieuchot
While here add a comment explaining detach hooks' order of execution when destroying/detaching an interface.
2013-11-18Normalize code sequence around dumpsys(), doshutdownhooks(), andMasao Uebayashi
config_suspend() in ppc boot() functions. Always go through them regardless of (howto & RB_HALT). OK deraadt@ mpi@
2013-11-18replace disksort with bufqs. basically a copy of the same change in sparc64David Gwynne
which was a copy of the change in isa/fd.c. ok krw@
2013-11-17Remove some more dead code.Mark Kettenis
2013-11-17Implement DRM_IOCTL_I915_GEM_WAIT. Based on an earlier diff from jsg@Mark Kettenis
ok jsg@
2013-11-17drm/radeon: fix hw contexts for SUMO2 asicsJonathan Gray
From wojciech kapuscinski b71a688b1e56a0a2b4260c2ab0cdf80f67965072 in ubuntu 3.8 50b8f5aec04ebec7dbdf2adb17220b9148c99e63 in mainline linux https://bugs.freedesktop.org/show_bug.cgi?id=63599
2013-11-17drm/i915: Only clear write-domains after a successful wait-seqnoJonathan Gray
From Chris Wilson 5ca3f11716a0487110745824ad5282bf4c00d211 in ubuntu 3.8 daa13e1ca587bc773c1aae415ed1af6554117bd4 in mainline linux https://bugs.freedesktop.org/show_bug.cgi?id=66163
2013-11-17Sync with libdrm 2.4.47.Mark Kettenis
ok jsg@
2013-11-17correct some iodata strings and add ETX-US2Jonathan Gray
from ISIHARA Takanori
2013-11-17regenJonathan Gray
2013-11-17correct some iodata strings and add ETX-US2Jonathan Gray
from ISIHARA Takanori
2013-11-17Distinguish between inteldrm and radeondrm.Mark Kettenis
ok jsg@, miod@
2013-11-17Instead of stripping the IP options manually in icmp_reflect(),Alexander Bluhm
just call ip_stripoptions(). Remove an unneeded parameter and adjust the ip length in ip_stripoptions(). from FreeBSD; OK deraadt@ henninh@ lteo@
2013-11-17speelingDavid Gwynne
2013-11-16Re-organize luna88k rasops om_{copy,erase}{cols,rows} by using oneKenji Aoyama
generic function, based on hp300/dev/diofb_mono.c. This also fixes `screen is not updated when delete a character if it is on the middle of a 32-bit word of the frame buffer' problem. "Go for it!" miod@
2013-11-16Copied from amd64..Brad Smith
Use an explicit suffix for the "fld" instruction to shut up clang. The correct instruction is fldl since we try to load a double-precision value. GCC actually gets it wrong and emits "flds" (which is harmless). ok guenther@
2013-11-16Allow initial device mappings (from pmap_table) to be backed up by BATC.Miod Vallat
Use this on luna88k to map the bitmap planes of the frame buffer used by the driver. 10% speedup under X.
2013-11-16Allow ddb to be entered from the keyboard, if glass console and ddb.console=1,Miod Vallat
with ctrl-alt/zenmen-esc. Tested on three different keyboard models (compact black, JIS, and full-sized) by aoyama@ and me.
2013-11-16PAGE_MASK has exactly the opposite meaning in Linux and OpenBSD. Adjust itsMark Kettenis
usage in a currently disabled codepath to prevent future surprised.
2013-11-16Remove some dead code.Mark Kettenis
2013-11-16Enable 802.11a support. Seems to work fine on:Mark Kettenis
wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: msi, MoW2 ok jsg@
2013-11-16Remove dead assignments and now unused variables.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok henning@ mikeb@ bluhm@
2013-11-15calculate the line in the sand before comparing it to ticks, which looksDavid Gwynne
more like the original conditional. if this doesnt fix rd thrushs panic, then this should be reverted to r1.85.
2013-11-15Revert 1.858, as it causes panics of inp:Christiano F. Haesbaert
kernel diagnostic assertion \"sotoinpcb(inp->inp_socket) == inp\" failed: file "../../../../netinet/tcp_input.c", line 646 Will think of a better fix.
2013-11-15Added dev/usb/if_ugl.c, a driver for Genesys Logic GL620USB-Asasano
USB host-to-host link cable. This driver is derived from upl(4).
2013-11-15ansify some function definitions.Brad Smith
no functional change. ok sthen@
2013-11-15Rename the struct pf_divert variable in divert_packet() andLawrence Teo
divert6_packet() from "pd" to "divert" to match the rest of the source. I think "pd" was not a good name for a struct pf_divert because "pd" usually refers to a pf_pdesc. No object file change. OK benno@ bluhm@ henning@
2013-11-15After discussion with deraadt@ and Fernando Gont, it seems that theAlexander Bluhm
stack should still scan for IPv6 type 0 routing headers. There are OpenBSD routers running without pf and there are plenty of legacy implementations supporting RH0. Bring back the function ip6_check_rh0hdr() that I removed a month ago. As an improvement to the prevoius solution, only scan the header chain in ip6_input() if the packet has not been inspected by pf. Both implementations drop packets with RH0 anywhere in the extension header chain. OK mikeb@ henning@
2013-11-15Nathan Wheeler has an em which lacks a prom. Rather than fail when noTheo de Raadt
MAC address, continue on, because if_etherattach contains logic for this. ok mikeb
2013-11-15Start cleaning this driver. No functional change.Federico G. Schwindt
input and ok to move forward dlg@ patrick@ syl@