Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-04 | Move allocation behind sanity check to address possible memory leak as | Patrick Wildt | |
seen by Coverity CID 1470240. Cast the ieee80211_frame struct pointer to uint8_t to address concerns raised by Coverity CID 1470239 and CID 1470237. ok stsp@ | |||
2018-07-04 | Do not try to unlock the fdplock() in an error path if it isn't held. | Martin Pieuchot | |
Found the hardway by mlarkin@, ok bluhm@ | |||
2018-07-03 | Add a new so_seek member to "struct file" such that we can have seekable | Mark Kettenis | |
files that aren't vnodes. Move the vnode-specific code into its own function. Add an implementation for the "DMA buffers" that can be used by DRI3/prime code to find out the size of the graphics buffer. This implementation is very limited and only supports offset 0 and only for SEEK_SET and SEEK_END. This doesn't really make sense; implementing stat(2) would be a more obvious choice. But this is what Linux does. ok guenther@, visa@ | |||
2018-07-03 | Use LIST_FOREACH construct instead of homebrew loop. | Kevin Lo | |
ok bluhm@, mpi@ | |||
2018-07-03 | regen | Frederic Cambus | |
2018-07-03 | Add device IDs of the VIA VX900 chipset. | Frederic Cambus | |
OK mlarkin@ | |||
2018-07-03 | During attach, give the loop a while to settle before we start looking | Jonathan Matthew | |
for targets. With some combinations of controllers and targets, the loop seems to bounce a bit, but with a short delay we can attach targets more reliably. | |||
2018-07-03 | regen | Landry Breuil | |
2018-07-03 | Add usb ids for the Logitech Webcams C210 and C270. | Landry Breuil | |
Their audio isn't properly detected yet, but a new quirk will fix that. ok mpi@ | |||
2018-07-03 | If we're not on a fabric, we may still need to attach and detach targets | Jonathan Matthew | |
as part of processing port database changes. | |||
2018-07-03 | Instead of overwriting `f_data' replace the 'struct file' with a new one. | Martin Pieuchot | |
With this change `f_data' is effectively immutable. While here prevent a lock ordering issue by not unterleaving the vnode's lock and the fdplock(). Tested by bluhm@, ok kettenis@, visa@, jsing@ | |||
2018-07-03 | Fix typo. | Kevin Lo | |
ok claudio@, deraadt@, mpi@, rob@ | |||
2018-07-03 | Nuke unused variable. | Kevin Lo | |
ok deraadt@, mpi@, rob@ | |||
2018-07-02 | Allow pluart(4) to attach to acpi(4). | Mark Kettenis | |
ok mlarkin@, patrick@ | |||
2018-07-02 | Allow xhci(4) to attach to acpi(4). | Mark Kettenis | |
ok dlg@, patrick@, mpi@ | |||
2018-07-01 | acpi: clean up some inconsistent style in the hid matching arrays | Mike Larkin | |
ok millert, kettenis, jcs, phessler, deraadt, mpi | |||
2018-07-01 | Use generated string for the bus number extent. | Mark Kettenis | |
2018-07-01 | Allow ahci(4) to attach to acpi(4). | Mark Kettenis | |
ok deraadt@ | |||
2018-07-01 | Move acpi(4) attach glue into acpi_machdep.c. | Mark Kettenis | |
ok guenther@, deraadt@ | |||
2018-07-01 | Use fnew() to allocate a struct file. Simplifies the code. | Mark Kettenis | |
ok mpi@, visa@ | |||
2018-07-01 | Remove semicolon before printing the AML name. | Mark Kettenis | |
spotted by deraadt@ | |||
2018-07-01 | Allow com(4) to attach to acpi(4). For now we will only use this on arm64 | Mark Kettenis | |
where this is needed to support serial console in ACPI mode. ok mlarkin@ | |||
2018-07-01 | Add support for _DSD Device Properties. | Mark Kettenis | |
ok mlarkin@ | |||
2018-07-01 | Add definitions for SPCR tables. | Mark Kettenis | |
ok mlarkin@ | |||
2018-06-30 | Typo in comment in previous file which I said I'd address in the original | Mike Larkin | |
commit and forgot to do. (Sufrace -> Surface) | |||
2018-06-30 | acpisurface(4): driver for Surface Pro 4 and Surface Book hardware | Mike Larkin | |
buttons. ok phessler, deraadt, kettenis | |||
2018-06-30 | Add intr_enable() function, intended for MI use to amd64 and i386 and use | Mark Kettenis | |
this in the acpi(4) suspend/resume code paths. ok deraadt@ | |||
2018-06-29 | Use <stdint.h> types. | Mark Kettenis | |
ok mpi@, jung@, krw@, deraadt@ | |||
2018-06-29 | ACPI: Allow (with warning) GPE handler reassignment, instead of returning | Mike Larkin | |
a failure code. ok kettenis | |||
2018-06-28 | regen | Kevin Lo | |
2018-06-28 | Add Microchip Ethernet device IDs. | Kevin Lo | |
ok deraadt@ | |||
2018-06-28 | Remove unused/redundant prototypes. | Mark Kettenis | |
Pointed out by patrick@ | |||
2018-06-26 | knf | Mike Larkin | |
2018-06-26 | Let acpi(4) pass down the bus dma tag. | Mark Kettenis | |
ok deraadt@ | |||
2018-06-25 | Reorganize acpi(4) code a bit in preparation for upcoming arm64 support. | Mark Kettenis | |
ok deraadt@ | |||
2018-06-25 | Implement DRI3/prime support. This allows graphics buffers to be passed | Mark Kettenis | |
between processes using file descriptors. This provides an alternative to eporting them with guesable 32-bit IDs. This implementation does not (yet) allow sharing of graphics buffers between GPUs. ok mpi@, visa@ | |||
2018-06-24 | Save all mixer elements in the suspend/resume array instead of only | Alexandre Ratchov | |
enum, sets, and values. This is simpler and less error prone. This fixes the record.enable elements replacing the last few hardware mixer controls. Help from Laurence Tratt, tested by landry@ | |||
2018-06-24 | If ACPI tables are present, set a global variable to point at their | Mark Kettenis | |
(physical) address such that acpidump(8) can read it and dump the tables on arm64 systems. ok deraadt@ | |||
2018-06-22 | set I2C_F_POLL when acquiring the iic bus in an interrupt handler | Joshua Stein | |
found by witness, reported and tested by bentley | |||
2018-06-20 | drm/i915: Disable LVDS on Radiant P845 | Jonathan Gray | |
From Ondrej Zary e88640adf6fe0709466f814a26753d78184a598c in linux 4.4.y/4.4.136 b3fb22733ae61050f8d10a1d6a8af176c5c5db1a in mainline linux | |||
2018-06-19 | Add support for SAS3.5 controllers. This involves reordering | Jonathan Matthew | |
initialisation so we get the controller capabilities first, allowing a soft reset instead of hard reset. The new controllers don't work after a hard reset, and older generations seem fine either way. tested by robert@ on a sas3408, by dlg@ on a sas2008 (on sparc64) and by me on a sas3008. ok dlg@ robert@ | |||
2018-06-18 | Add an HP LD220 pole display | Mike Belopuhov | |
Diff from Paul de Weerd (weerd@), tested by Jan-Piet Mens, thanks! | |||
2018-06-18 | regen | Mike Belopuhov | |
2018-06-18 | Add an HP LD220 pole display | Mike Belopuhov | |
Diff from Paul de Weerd (weerd@), tested by Jan-Piet Mens, thanks! | |||
2018-06-18 | Run the code to handle interrupts directly from the interrupt handler | Mark Kettenis | |
instead of from a task. The sdmmc(4) interrupt handler is already executed in process context and returning from the interrupt handler without acknowledging the interrupts may lead to an interrupt storm. ok patrick@ | |||
2018-06-17 | Use regmap | Mark Kettenis | |
2018-06-17 | Resetting fec(4) also resets the MII control register. Since we | Patrick Wildt | |
continue to read the MII bus in the background we must make sure that the register is correctly set. Otherwise bringing down fec(4) leads to a complete system hang. ok kettenis@ | |||
2018-06-17 | Add curly braces to the if-condition to make sure the bus width | Patrick Wildt | |
is only bumped if the high-speed mode is available. ok kettenis@ | |||
2018-06-17 | Add another missing clock for i.MX7D. This particular clock lives on the | Mark Kettenis | |
"analog" part that is really covered by imxanatop(4). To keep all the clock logic together, use the regmap exposed by that device to access the registers. ok patrick@ | |||
2018-06-16 | regen | Jonathan Matthew | |