Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-02 | Do not free the configuration descriptor without setting ``dev->cdesc'' | Martin Pieuchot | |
to NULL. Prevent a use after free triggerable with invalid interface descriptor. Found with umap2 and a facedancer21. | |||
2016-09-02 | Prevent a NULL dereference, triggerable with a crafted configuration | Martin Pieuchot | |
descriptor with a bad type. Found with umap2 and a facedancer21. | |||
2016-09-02 | Avoid calling usbd_set_config_index() in *_attach() and let the stack | Martin Pieuchot | |
do it instead. If anything bad happen due to a malformed descriptor it makes no sense to try to attach a driver, and bail before probing. | |||
2016-09-02 | No need to set 'error' to 0 at the beginning of acx_encap(), as | Tom Cosgrove | |
we're only going to set it again 10 lines later. ok mpi@ | |||
2016-09-01 | remove three more sparc references noticed by jsg | Ted Unangst | |
2016-09-01 | add iatp(4), a driver for the i2c touchpad and touchscreen found on | Joshua Stein | |
the chromebook pixel | |||
2016-09-01 | Always initialize error code returned from iwm_firmware_load_chunk(). | Stefan Sperling | |
Patch by Imre Vadasz. | |||
2016-09-01 | for broadwell HIDs, apply a magic write found in linux that is | Joshua Stein | |
required in order to talk to certain i2c slave devices behind dwiic | |||
2016-09-01 | - disable controller when we're done using it | Joshua Stein | |
- read CLR_INTR register when disabling interrupts | |||
2016-09-01 | - separate hid and ihidev attachment for upcoming drivers | Joshua Stein | |
- move power control into a dedicated function - sprinkle aml_freevalue | |||
2016-09-01 | remove another straggler hunted down by miod | Ted Unangst | |
2016-09-01 | openbsd.randomdata became RO in userland due to the RELRO work. We should | Theo de Raadt | |
also do so in the kernel, which gains us RO ssp cookie, which will prevent spraying attacks. The random layer was openbsd.randomdata annotating working entropy/chacha buffers which in turn required them to be RW. To make that work again, so we need to copy RO seeds to RW working buffers, and later clear the RO seed buffers afterwards using a temporary RW mapping. help & ok kettenis, ok guenther | |||
2016-08-31 | Remove rt leftovers in isapnp, unbreak kernel config. | Alexander Bluhm | |
OK deraadt@ | |||
2016-08-31 | Support A Radio Free Europe! | Ted Unangst | |
remove long disabled radio devices ok deraadt | |||
2016-08-31 | Don't put a device in the wake device list if _STA says it's not there. | Mike Larkin | |
Fixes at least one machine that woke up from sleep / poweroff immediately. ok kettenis@, tested by kettenis and martijn@ | |||
2016-08-31 | sys/arch/sgi/hpc/wskbdmap_sgi.c should be regen'd too. | Jeremie Courreges-Anglas | |
Requested by miod | |||
2016-08-31 | these drivers should have perished in the same fire as mvme88k | Ted Unangst | |
discovered by the ever alert mlarkin | |||
2016-08-31 | Remove unnecessary 'error' assignment | Tom Cosgrove | |
2016-08-31 | remove some ISA drivers for devices not recently seen in the wild. | Ted Unangst | |
2016-08-31 | regen | Jeremie Courreges-Anglas | |
2016-08-31 | Estonian keymap | Jeremie Courreges-Anglas | |
Original diff from Taavi Tani in 2005 (!), adapted to -current by Mart Tonso. ok mpi@ | |||
2016-08-31 | Delete unused ioctls and associated macros. Move macros that are still | Alexandre Ratchov | |
used internally by low-level drivers from sys/audioio.h to dev/audio_if.h instead of deleting them. | |||
2016-08-30 | Make the init code match the comment and disable watchdog | Jonathan Gray | |
reset by mouse and keyboard instead of mouse and mouse. | |||
2016-08-29 | Set MTU size to ~4k until the TX path is ready to deal with larger packets | Mike Belopuhov | |
2016-08-29 | Don't count output errors twice | Mike Belopuhov | |
2016-08-29 | Fixup packet fragment unrolling procedure | Mike Belopuhov | |
When bus_dmamap_load fails to load one of the buffers in the mbuf chain, we need to revert all changes to transmit descriptors. The code to do that was prototyped but not tested. However due to how the Tx ring is set up in xnf(4) and generic lack of proper fragment support in the Netfront design we're always limited to having 256 entries for distinct shared memory pages. The mbuf chain is traversed and attempt is made to load every data chunk into a 4k sized DMA map segment which makes it impossible to reference a buffer composed of multiple pages. Current implementation lacks support for this preventing reliable transmission of frames larger than 4k. Bug reported by Kirill Miazine <km at krot ! org>, thanks! | |||
2016-08-27 | Return -1 if we try to set the frequency of a clock but couldn't find it. | Mark Kettenis | |
2016-08-26 | correct INTR_MSG_MASK to include INTR_MSG_1 | Jonathan Gray | |
ok dlg@ | |||
2016-08-24 | pool_setipl for oce(4) | David Gwynne | |
ok mikeb@ | |||
2016-08-24 | pool_setipl for cardbus and drm pools. | David Gwynne | |
ok kettenis@ | |||
2016-08-23 | Add functions to assert/deassert all reset signals for a device. | Mark Kettenis | |
2016-08-23 | don't enter burst mode for single-byte reads and writes. | Joshua Stein | |
avoids problems on hardware with broken or unimplemented burst mode and isn't really necessary for such small transactions anyway. matches what linux and freebsd have done for a long time. tested in snaps ok deraadt kettenis | |||
2016-08-23 | Actually make fdt_find_node() return NULL if the node couldn't be found. | Mark Kettenis | |
ok tom@ | |||
2016-08-23 | remove duplicated test for em_82574 | Jonathan Gray | |
2016-08-23 | Convert %q to %ll in format strings | Philip Guenther | |
ok natano@ krw@ | |||
2016-08-22 | Fix two small bugs in the new reset API code. | Mark Kettenis | |
2016-08-22 | Add an API to set the clock frequency. | Mark Kettenis | |
2016-08-22 | Add a reset signal API alongside the clock API. | Mark Kettenis | |
2016-08-22 | Implement interfaces to disable clocks and add interfaces that enable or | Mark Kettenis | |
disable all clocks for a device. The latter interfaces are useful for devices that have multiple clocks that don't have specific names/purposes such as sxiahci(4). | |||
2016-08-21 | Add a minimal clock "framework". Build it on armv7. | Mark Kettenis | |
ok patrick@ | |||
2016-08-21 | Fix a pasto in a comment. | Mark Kettenis | |
2016-08-18 | Reset the input state completely when wsmouse is (re-)opened. | Ulf Brosziewski | |
ok mpi@ | |||
2016-08-18 | Update NVS protocol structure definitions to the 2016 version | Mike Belopuhov | |
Microsoft has considerably cleaned up the style and it makes sense to keep in sync with the maintained upstream version in FreeBSD. | |||
2016-08-18 | add a missing splx in an error path | Jonathan Gray | |
ok millert@ stsp@ | |||
2016-08-18 | Clean up style and replace a magic value with a magic define | Mike Belopuhov | |
2016-08-17 | Sync up monitor trigger groups handling to the upstream | Mike Belopuhov | |
Replace hand rolled atomic bit operations and use MI ones from DRM and convert event matrixes to arrays of longs. | |||
2016-08-17 | Replace hand rolled atomic bit operations and use MI ones from DRM | Mike Belopuhov | |
2016-08-17 | Add support for RT5390 and RT5392 chipsets to the ral(4) driver. | Stefan Sperling | |
Tested by procter@ on RT2860 and by me on RT2790 and RT3090. Ported from FreeBSD by James Hastings. | |||
2016-08-17 | Update ral(4) firmware for RT2860 family devices. | Stefan Sperling | |
Required for upcoming RT5390 and RT5392 chipset support. Tested by procter@ on RT2860 and by me on RT2790 and RT3090. Ported from FreeBSD by James Hastings. kevlo confirmed this version of the firmware is still ISC licensed. | |||
2016-08-17 | wpi(4) scans all bands at once, as far as the net80211 stack is concerned. | Stefan Sperling | |
So set the appropriate scan capability flags in the ic. ok sthen@ |