summaryrefslogtreecommitdiffstats
path: root/sys/dev (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Apparently 0 is not a power of 2 (despite <sys/param.h> claiming that it is).kettenis2015-09-251-2/+2
| | | | Fixes inteldrm(4) on the GM45 chipset.
* 3.14 backports of some Broadwell fixes fromjsg2015-09-256-28/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://lists.freedesktop.org/archives/intel-gfx/2014-March/042121.html Ben Widawsky drm/i915/bdw: Restore PPAT on thaw a2319c08bfd849ea32b4f890ce92df86074c5731 Ville Syrjala drm/i915: We implement WaDisableAsyncFlipPerfMode:bdw 8285222c487b61c48b9b955b82598544c3c06050 Ben Widawsky drm/i915/bdw: Use scratch page table for GEN8 PPGTT 8407bb9129da95fc4099b84cdbbc23e6d4f66aee Jani Nikula drm/i915: don't flood the logs about bdw semaphores c923facd535b97972b5bb7d3df4fcafd61a63a5e Ville Syrjala drm/i915: Implement WaDisableSDEUnitClockGating:bdw 4f1ca9e94057de098d65bc7477e8f89dd51609aa Ville Syrjala drm/i915: Don't clobber CHICKEN_PIPESL_1 on BDW c7c656226842679bcd9f39dc24441b4ff398a850 Kenneth Graunke drm/i915: Add a partial instruction shootdown workaround on Broadwell. c8966e1058e1e8ae2eec4211157847032829697a Damien Lespiau drm/i915/bdw: The TLB invalidation mechanism has been removed from INSTPM dc616b89dbc4bb6a99884d214bd1ed1e0eef59a0 Kenneth Graunke drm/i915: Add thread stall DOP clock gating workaround on Broadwell. 1411e6a57a1836ba8a3d4f17c8733b2fbaf0f005 Ville Syrjala drm/i915: Disable semaphore wait event idle message on BDW 295e8bb73a4785b65db6655fbf6ad57c4177b551 Mika Kuoppala drm/i915: Do forcewake reset on gen8 0a089e3355d77f758e46db54a0a81d4b58a28cc3 Mika Kuoppala drm/i915: Fix forcewake counts for gen8 e9dbd2b20201b49b04476d2e5763faa822967913 ok kettenis@
* Disable IPS for now. Identified by jsg@ as the cause for the unsynchedkettenis2015-09-251-2/+2
| | | | | display after waking it from standby or after VT switches. Can't seem to get him to commit this workaround while he his hunting for a proper fix.
* Now that waitqueue_active() actually works, enable the WARN_ON that uses it.kettenis2015-09-251-2/+2
|
* Enable MSIs on hardware that supports it. On the Thinkpad X1, the APIC pinkettenis2015-09-241-7/+8
| | | | | is shared with the disk, which results in noticable latency during heavy disk activity.
* Properly implement waitqueue_active(). Gets rid of spuriouskettenis2015-09-242-4/+15
| | | | | | *ERROR* Hangcheck timer elapsed... xxx ring idle messages.
* regenjsg2015-09-242-5/+75
|
* Add some more Broadwell graphics ids.jsg2015-09-241-3/+17
|
* The devlist awk script didn't pickup the broadwell ids as they arejsg2015-09-241-52/+71
| | | | | | | encoded with shifts. Switch to a file constructed by iterating through i915_drv.c pciidlist so these will be included. ok kettenis@
* Update inteldrm to the code from Linux 3.14.52 (which corresponds tokettenis2015-09-2388-15202/+36346
| | | | | | | | | | | | | | | | | commit 48f8f36a6c8018c2b36ea207aaf68ef5326c5075 on the linux-3.14.y branch of the linux-stable tree). This brings preliminary support for the GPU on Intel's Broadwell CPUs. Don't expect these to work perfectly yet. There are some remaining issues with older hardware as well, but no significant regressions have been uncovered. This also updates some of drm core code. The radeondrm code remains based on Linux 3.8 with some minimal canges to adjust to changes in the core drm APIs. Joint effort with jsg@, who did the initial update of the relevant drm core bits. Committing this early to make sure it gets more testing and make it possible for others to help getting the remaining wrinkles straightened out.
* In iwm(4), properly reset the RX ring by clearing RX buffer status memory.stsp2015-09-231-1/+7
| | | | Found by Matthew Dillon (Dragonfly). DMA sync hint from tedu@, ok mpi@
* In iwm(4), while not associated, pass the broadcast ethernet address tostsp2015-09-231-2/+2
| | | | | | the firmware, rather than zeros. Matches what Linux iwlwifi does. Spotted by Adrian Chadd (FreeBSD). ok mpi@
* regenjasper2015-09-222-2/+7
|
* add (unsupported) realtek wireless card as found in rpointel@'s x250, thoughjasper2015-09-221-1/+2
| | | | | | it could be supported by rtwn(4) eventualy ok stsp@
* brad points out i need bpf_mtap_ether to reconstruct vlan headersdlg2015-09-201-2/+2
|
* need to keep bpf in the tx path. got a bit ahead of myself there...dlg2015-09-201-1/+6
| | | | noticed by brad
* Avoid using a mutex in the rx completion path. Instead rely onkettenis2015-09-192-30/+14
| | | | | | | | intr_barrier(9) to avoid having the interrupt handler touch the rx data structures while we're brining down the interface. This actually reverts many of the changes in rev. 1.300. ok mikeb@
* Remove stray splx(9) call. Found by Maxime Villard's Brainy Code Scanner.kettenis2015-09-181-2/+1
| | | | From miod@.
* Remove unused variables, from Michael McConville.mpi2015-09-181-7/+2
| | | | ok stsp@
* More ifmedia64 fallout.miod2015-09-182-8/+5
|
* make vmx(4) interrupts mpsafe.dlg2015-09-181-63/+97
| | | | | | | | | | | | | | | the vmx rx path is only touched in the interrupt handler, so it is already guaranteed to be accessed by only one cpu at a time. the tx path has been massaged so the the producer is only touched by the start routine, and the consumer is only touched by the interrupt path, and can therefore be run concurrently. the only interlock is a count of the free descriptors. if txintr clears IFF_OACTIVE, it takes the kernel lock before running the start routine. other interrupts, eg, link state handling, take the kernel lock.
* Do not define QLW_DEBUG if SMALL_KERNEL, and turn qlw_dump_iocb() andmiod2015-09-171-5/+10
| | | | | qlw_dump_iocb_segs() into empty macros if QLW_DEBUG is not defined (if only to make this compile, then).
* regenjasper2015-09-152-4/+14
|
* add fingerprint reader as found the x250 as well as another similarjasper2015-09-151-1/+3
| | | | | | device found while figuring out the chipset. ok jsg@
* Fix kpanic I found the hard way while using pcsc-litedcoppa2015-09-151-3/+7
| | | | | From Grant Czajkowski <czajkow2 AT illinois DOT edu> OK mpi@
* Fix more ifmedia64 fallout in the kernel. It's hiding everywhere...stsp2015-09-141-3/+3
|
* Put the 12x22 font on alpha and macppc installation kernels, the 8x16 fontmiod2015-09-131-9/+14
| | | | | is really fugly on large displays (tga, vgafb). It's only 10KB more data before compression, which fits in our floppies.
* let the C files do the sys/param.h including jobderaadt2015-09-121-3/+1
|
* More ifmedia64 fallout; that should be the last.miod2015-09-123-7/+8
|
* ifmedia64 fixes.miod2015-09-122-5/+5
|
* mii_softc's view of the current mii state need to use the proper typesmiod2015-09-121-3/+3
| | | | (ifmedia64).
* Intel docs suggest that cpus in C3 may go into deeper states automaticallyguenther2015-09-121-9/+4
| | | | | | | when all cores are in C3, so treat the latency+power values from ACPI as advisory and stop skipping states based on them. ok mlarkin@ kettenis@
* Add support for the 88E1512/88E1514 phys using the 1512 init sequencejsg2015-09-122-4/+111
| | | | | | from the Intel code in FreeBSD. Tested by Paul Levlin on a machine with I354.
* Workaround broken AML by treating FFH vendor 8 the same as vendor 1 (== intel)guenther2015-09-111-3/+7
| | | | ok millert@ kettenis@ and something like an ok mlarkin@
* back out refcnt for dv_ref, there's too many hand crafted devices alldlg2015-09-111-2/+2
| | | | | | over the tree. much encouragement from l2k15
* rd pretends to be a device allocated by subr_autoconf. it needs todlg2015-09-111-2/+2
| | | | | | refcnt_init like a real device too. found by deraadt@
* Remove the unfinished che(4) driver for Chelsio 10G cards. I lost interestclaudio2015-09-112-882/+1
| | | | fixing this long ago.
* Make room for media types of the future. Extend the ifmedia word to 64 bits.stsp2015-09-1133-102/+104
| | | | | | | | | | | | | | | | This changes numbers of the SIOCSIFMEDIA and SIOCGIFMEDIA ioctls and grows struct ifmediareq. Old ifconfig and dhclient binaries can still assign addresses, however the 'media' subcommand stops working. Recompiling ifconfig and dhclient with new headers before a reboot should not be necessary unless in very special circumstances where non-default media settings must be used to get link and console access is not available. There may be some MD fallout but that will be cleared up later. ok deraadt miod with help and suggestions from several sharks attending l2k15
* First step at making ix(4) MPSAVE. This is largely based on the em(4)claudio2015-09-112-28/+75
| | | | | changes done by kettenis@. Tested by Hrvoje Popovski and chris@ dlg@, mpi@ and kettenis@ agree on developping this further in tree.
* Don't copy more sense data than we have space for, so we don't crash whenjmatthew2015-09-111-3/+4
| | | | | | trying to talk to a Sun STK6140. Still doesn't work though. ok dlg@
* fairly simple size for free()deraadt2015-09-111-3/+3
|
* size for free()deraadt2015-09-111-2/+2
|
* Ignore the 'rotation lock' button on my Yoga12guenther2015-09-111-1/+3
|
* kqueue(2) support for wsmouse(4), wskbd(4) and wsmux(4).mpi2015-09-105-5/+99
| | | | | | Needed for libinput port. ok guenther@, miod@
* sizes for free(); ok sthenderaadt2015-09-108-50/+59
|
* Fix a zx_putchar() stupid bug I introduced nine years ago by actuallymiod2015-09-101-5/+5
| | | | initializing variables before they get used.
* remove unused macro GEM_CURRENT_MEDIA; ok dlg@ mpi@stsp2015-09-101-8/+1
|
* Show usb stack error code if a firmware page fails to load in urtwn(4).stsp2015-09-101-3/+3
| | | | ok mpi@
* simple size for free()deraadt2015-09-101-2/+2
|
* PPB_EXNAMLEN for the extent name; now easier to pass as a size for free()deraadt2015-09-101-10/+12
|