summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2018-10-31Add support to uvm to establish write-combining mappings. Use this in theMark Kettenis
inteldrm driver to add support for the I915_MMAP_WC flag. ok deraadt@, jsg@
2018-10-31sc argument of start_output, start_input, trigger_output and trigger_inputmiko
is void* so no need to cast; ok ratchov@
2018-10-30Replace with minimal version written from scratch that just defines the dataMark Kettenis
structures and function prototypes that we need. The original file doesn't even a suitable license even though the associated drm_mipi_dsi.c file is MIT-licensed. Probably a mistake upstream, but better safe than sorry. ok deraadt@
2018-10-27size for free(); ok ratchov@miko
2018-10-26Add acpipci(4) on amd64. For now this only calls the PCI-specific _OSCMark Kettenis
method to let the ACPI implementation know what features we support.
2018-10-26regenMike Larkin
2018-10-26Add VirtualBox NVMeMike Larkin
From Andrew Daugherity
2018-10-26syncKevin Lo
2018-10-26Fix entry for Realtek RTL8723BE, from Stuart Shillington.Kevin Lo
2018-10-25New mesa uses the I915_MMAP_WC flag which we advertise but don't actuallyMark Kettenis
implement. Knock out the I915_PARAM_MMAP_VERSION parameter that advertises this flag until we actually implement it. Fixes GPU hangs on GM45 chipset graphics. ok deraadt@
2018-10-23Fix OFW GPIO regulator by breaking out of the loop once the correctPatrick Wildt
match has been found. Otherwise the error condition will always be true. ok kettenis@
2018-10-22More "explicitely" -> "explicitly" in various comments.Kenneth R Westerback
ok guenther@ tb@ deraadt@
2018-10-22regenJonathan Gray
2018-10-22Add AMD 400 series (promontory), vega 10, more 17h ids seen onJonathan Gray
Ryzen 5 2600X, rename KernCZ FCH ids incorrectly labelled as Carrizo.
2018-10-21regenmortimer
2018-10-21Add some devices found on Lenovo A485.mortimer
ok jsg@
2018-10-04Force 8051 reset/enable before waiting for firmware to get ready forKevin Lo
RTL8723AE, like we alreay do for RTL8188C/RTL8192C. ok jmatthew@
2018-10-02Make some USB ioctls return ENXIO, instead of EIO, if usbd_is_dying().Stefan Sperling
Brings us one step closer towards making this condition's error code consistent across all USB drivers. Patch by Moritz Buhl ok mpi@ bluhm@
2018-10-02Add support for RT3290 chipset by James Hastings.Kevin Lo
Tested by me and James Hastings.
2018-10-01add RTL8723AE supportJonathan Matthew
ok kevlo@ stsp@
2018-10-01regenJonathan Matthew
2018-10-01add RTL8723AEJonathan Matthew
2018-10-01The sequence number field in the 802.11 frame header includes the sequenceJonathan Matthew
number and the fragment number, so shift it to get just the sequence number for the tx descriptor. While here, add a #define for the flag in the same field that enables hardware sequence numbering, and use existing constants for some R92C_RSV_CTRL writes. prompted by feedback from kevlo@ on another diff, tested on 8188CE, EE, EU ok stsp@ kevlo@
2018-09-28Move the unions into the rom struct which fixes Coverity CID 1473649 andKevin Lo
makes it more readable. ok stsp@ and jmatthew@
2018-09-25Insert a workaround for per-ifp ioctl being called w/o NET_LOCK().Martin Pieuchot
An example of such code path is vlan_destroy() where we don't want to grab the lock because this driver is already NET_LOCK()-free. The real solution to this problem is to stop holding the NET_LOCK() around driver *_ioctl() routines. Problem reported & fix tested by Élie Bouttier, ok visa@, bluhm@
2018-09-24Add "Spleen 5x8" to wsfont, a font targetted at small OLED displaysFrederic Cambus
to be used with devices handled by ssdfb(4). It contains all printable ASCII characters (96 glyphes). The font is 2-Clause BSD licensed and is my original creation. OK patrick@
2018-09-22Only clear the character backing store when the RI_CLEAR flag is set.Mark Kettenis
ok deraadt@
2018-09-22Back out the following if_iwm.c revisions:Stefan Sperling
r1.232 Fix length checks in the receive path of iwm(4) r1.230 Add monitor mode support to iwm(4) r1.229 Implement Rx of multiple frames per interrupt in the iwm(4) driver There is an apparent block-ack problem (base.tgz takes 8 hours to download) which goes away when these changes are reverted. To be revisited after release. ok deraadt@
2018-09-21Add support for RTL8188EE.Jonathan Matthew
This needs a new firmware image, which should be added to the rtwn firmware package shortly. testing and lots of help from kevlo@ ok kevlo@ stsp@
2018-09-20fix a memory leak in ihidev_hid_command()Jonathan Gray
ok claudio@
2018-09-19Report duplex state correctly for adapters with firmware interface versionsJonathan Matthew
older than 1.08. tested by and ok ccardenas@
2018-09-19In mue_iff() move the initialization of the hash table up so that is doneRicardo Mestre
unconditionally, like it's done on other devices, so that we don't end up in the situation of the card being put in promiscuous mode or if ac->ac_multirangecnt > 0 and then we would write into the table while being uninitialized a little bit later. Noticed on Coverity ID 1473316. hint from claudio@ and kettenis@ OK kevlo@ claudio@
2018-09-19Delete checks of the CST bit_width ('vendor') field, as new Ryzen machinesPhilip Guenther
are showing up with vendor 2 and it doesn't seem to mean anything: Linux doesn't check it at all, so this exhibits all the normal ACPI spec lossage tested in snaps for a few weeks shrug kettenis@
2018-09-18cast HWRM_NA_SIGNATURE when shortening it to keep gcc happy, prodded by jsg@Jonathan Matthew
2018-09-16Fix length checks in the receive path of iwm(4).Stefan Sperling
Prompted by a panic reported by Xavier Guerin on bugs@ ok tb@
2018-09-14ansify auich_trigger_input() and remove #ifdef around DPRINTF(); ok ratchov@miko
2018-09-14mark some suspend/resume functions always returning zero as void; ok ratchov@miko
2018-09-13In drm_wait_one_vblank() add a delay when we're "cold". Interrupts aren'tMark Kettenis
enabled at that point, so we cannot wait for one to happen. But having no delay at all breaks detection of some output connectors. Thanks to Philippe Meunier for tracking down the issue. ok millert@, jsg@
2018-09-13- There's no need to set R92C_HSSI_PARAM2_READ_EDGE for R92C_HSSI_PARAM2(0)Kevin Lo
for rtl8188eu - Fix typo in structure r92c_rom in comment: s/0x8192/0x8129/ - Add id member to struct r88e_rom which identifies eeprom - Replace magic numbers with something more readable - Cosmetic tweaking ok stsp@
2018-09-13clarify that config_activate_children() is called unconditionally in ↵miko
*activate(). ok ratchov@
2018-09-13drm/drivers: add support for using the arch wc mapping API.Jonathan Gray
From Dave Airlie c59fdc4cfbda52ce081c59540762185d765c3369 in linux 4.4.y/4.4.155 7cf321d118a825c1541b43ca45294126fd474efa in mainline linux
2018-09-13drm/i915/userptr: reject zero user_sizeJonathan Gray
From Matthew Auld 182e963432d867384f2e55487ec60ca7a9f99cd1 in linux 4.4.y/4.4.155 c11c7bfd213495784b22ef82a69b6489f8d0092f in mainline linux
2018-09-13avoid sequence-point warning with gcc 4.9Jonathan Gray
ok kettenis@
2018-09-11Only look for acpi tables if acpi(4) attached. Fixes radeondrm(4) crashMark Kettenis
on arm64 when using a device tree.
2018-09-10Prevent a panic in umb(4) when roaming is diabled.Gerhard Roth
Found by beck@, tested and ok by bluhm@
2018-09-10put the port into autonegotiate mode on attach, since that's the defaultJonathan Matthew
media setting. tested by and ok ccardenas@
2018-09-10if the adapter can't determine the phy type on a port, pretend it's baseCRJonathan Matthew
so we get a usable list of media types to pick from. tested by and ok ccardenas@
2018-09-10bit rates over 2G won't fit in an int, so use uint64_ts insteadJonathan Matthew
2018-09-07remove some unused variables and otherwise tidy up a bit.Jonathan Matthew
2018-09-07clarify that goto error in alloc_all_endpoints_fixed_ep() always returnsmiko
USBD_INVAL. ok mpi@