summaryrefslogtreecommitdiff
path: root/sys/dev/pci
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-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-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-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-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-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-19Report duplex state correctly for adapters with firmware interface versionsJonathan Matthew
older than 1.08. tested by and ok ccardenas@
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-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-03regenJoshua Stein
2018-09-03add another toshiba nvmeJoshua Stein
2018-09-03Remove round_buffersize function from drivers using the default buffersizemiko
provided by the upper layer audio driver. ok ratchov@
2018-08-30Set up an aggregation buffer ring and configure placement mode so dataJonathan Matthew
that doesn't fit in the rx buffer goes into an aggregation buffer, allowing jumbo frames to be received. Using 8k aggregation buffers means we'll only ever need one per packet. When receiving jumbos, sometimes we get an interrupt before all three of the completion events are ready, in which case we should not consume the events that are ready. Expanding the completion ring makes this happen less frequently, so allocate four cp ring pages instead of one.
2018-08-27Add an interface that allows drivers to claim a framebuffer and checkMark Kettenis
whether another driver has already claimed a framebuffer. Use this in radeondrm(4) and simplefb(4) to prevent the latter from attaching if radeondrm(4) is attached to the hardware that provides the framebuffer set up by the firmware. ok mlarkin@
2018-08-26return -1 from the interrupt handler if we didn't find any work to doJonathan Matthew
2018-08-25Use __HAVE_ACPI to decide whether ACPI support should be considered.Mark Kettenis
ok deraadt@, krw@, jca@
2018-08-25regenMark Kettenis
2018-08-25Audio as found on an "Oland" Radeon card. Naming is a bit arbitrary, butMark Kettenis
this one is present on several GCN gen 1 cards that have names that start in the HD 7700 range.
2018-08-24Include the list of multicast groups in the rx filter configuration.Jonathan Matthew
The adapter reads this from host memory, so we allocate a new page for it. The rx filter code ends up looking a lot more like other drivers as a result.
2018-08-24Allocate framebuffer PCI BAR if left uninitialized by firmware.Mark Kettenis
ok mlarkin@
2018-08-24set the rx mask to always accept all vlan tags, making vlan interfacesJonathan Matthew
on top of bnxt work properly.
2018-08-23remove hwrm interface code for nvram reads and writes, firmware updates,Jonathan Matthew
and wol filters, none of which we're going to use.
2018-08-23rearrange txeof so it processes slots up to the index given in theJonathan Matthew
completion event, and only request completion events for the last packet we place on the ring in bnxt_start, which doesn't do anything now but will make tx faster when we get tx mitigation working.
2018-08-23set interrupt aggregation parameters so we get around 10000 interruptsJonathan Matthew
per second, which makes a pretty sizable improvement to rx performance.