Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-08-30 | Decode pin mux configuration correctly in gpio(4) support code such that | Mark Kettenis | |
we knock out the correct pins. Sptted by Artturi Alm. | |||
2017-08-30 | Report the rebuild state properly, so that in the case of a rebuild | Patrick Wildt | |
the sensor does not show the drive state as "unknown". ok phessler@ | |||
2017-08-29 | add _MEASURE_RATE bits from uonerng(4) | Jasper Lievisse Adriaanse | |
tested by abieber@ | |||
2017-08-29 | rename sc_pipe to sc_outpipe to indicate it's direction as there'll come an | Jasper Lievisse Adriaanse | |
sc_inpipe too | |||
2017-08-29 | "urng" is needed on the file lines... or these end up in all kernels, | Theo de Raadt | |
including ramdisks without usb support... | |||
2017-08-28 | Fix a memory leak in an error path. Coverity CID 1453042. | Jonathan Gray | |
ok visa@ | |||
2017-08-28 | Add urng(4) which supports various USB RNG devices. Instead of adding one | Jasper Lievisse Adriaanse | |
driver per device, start bundling them into a single driver. urng(4) supports the device currently supported by ualea(4) and adds support for the Altusmetrum ChaosKey 1.0, by abieber@ This was tested by abieber@ with a ChaosKey and Sean Levy with an Alea II ok abieber@ deraadt@ naddy@ | |||
2017-08-28 | tyop and whitespace nit | Jasper Lievisse Adriaanse | |
2017-08-28 | Add rkpmic(4), a driver for the RK808 Power Management IC. For now, this | Mark Kettenis | |
driver only provides support for the RTC embedded on this device. Support for the voltage regulators will come later. With this diff the Firefly-RK3399 gains a proper clock (if you connect a battery to the board). | |||
2017-08-28 | regen | Stefan Sperling | |
2017-08-28 | Add PCI device IDs for audio and USB OTG devices found on Atom z8300 SoC. | Stefan Sperling | |
ok jsg@ kettenis@ | |||
2017-08-28 | Fix clang warnings; ok guenther@ deraadt@ | Otto Moerbeek | |
(guenther says: code could need a rewrite using writev(2) though) | |||
2017-08-27 | Add rkiic(4) a driver for the i2c controllers found on the Rockchip RK3399. | Mark Kettenis | |
2017-08-27 | Add glass console support for arm64. This uses the "stdout-path" property | Mark Kettenis | |
of the /chosen node in the device tree to decide whether the framebuffer should be used as the console device. Most, if not all, machines will have that set to use a serial console and there is no easy way yet to change that. ok jsg@ | |||
2017-08-27 | Make it possible for iwm_stop() to sleep by always running it in | Stefan Sperling | |
a process context. In interrupt context, schedule the init task instead of calling iwm_stop() directly. ok procter@ | |||
2017-08-27 | Add RK3399 i2c-related clocks and fix a typo. | Mark Kettenis | |
2017-08-27 | always use %s to print a non-constant string; ok deraadt@ guenther@ | Otto Moerbeek | |
2017-08-26 | bug fix | Ulf Brosziewski | |
2017-08-26 | Mark decimal constants as unsigned to avoid gcc warning. | Mark Kettenis | |
2017-08-26 | Add supporting for adjusting the CPU core clock frequency on RK3399. | Mark Kettenis | |
Use this to bump up the clock of the "LITTLE" cluster on the Firefly-RK3399 to 1.2 GHz to make the board a bit more usable. | |||
2017-08-26 | regen | Aaron Bieber | |
2017-08-26 | Add device ID for Altusmetrum ChaosKey 1.0 | Aaron Bieber | |
OK jasper@ | |||
2017-08-25 | Reduce the delay before scrolling starts. | Ulf Brosziewski | |
2017-08-25 | Add mvneta(4), a driver for the Ethernet controller on the Armada | Patrick Wildt | |
38x series (SoliodRun ClearFog, Turris Omnia) and the 37xx series (ESPRESSObin). Also add mvmdio(4), which is used to talk to the MDIO bus. ok kettenis@ | |||
2017-08-25 | Add mvpinctrl(4), a driver to configure pins on Marvell SoCs. For now, | Patrick Wildt | |
only the Armada 388 (SolidRun ClearFog, Turris Omnia) is supported. ok kettenis@ | |||
2017-08-25 | Query the lower coordinate limits. | Ulf Brosziewski | |
2017-08-25 | unbreak tree: move comment out of #define. sorry | Theo Buehler | |
2017-08-25 | Add rktemp(4), a driver for the temperature sensors on the Rockchip RK3399 | Mark Kettenis | |
SoC. | |||
2017-08-25 | Add comments explaining why the out-of-bounds access in CID 1453077 can't | Theo Buehler | |
happen. ok mestre, stsp | |||
2017-08-24 | Fix a memory leak in an error path. Coverity CID 1453101. | Jonathan Gray | |
2017-08-23 | Slightly rework how the SoC-specific functions are set up and introduce an | Mark Kettenis | |
init function such that we can do some SoC-specific setup. Use this function to set cpu_cpuspeed. On (future) MULTIPROCESSOR kernels bump the PLL for the "big" cluster out of slow mode here. | |||
2017-08-23 | Fix typos in iwm(4) error messages. Patch by Bryan Linton. | Stefan Sperling | |
2017-08-23 | Prevent trashing of the producer index and descriptor counter | Mike Belopuhov | |
The last change has removed a clause that required caching producer index and descriptor counter but introduced an early break that can cause uninitialized values to be stored in the ring header. Coverity CID 1453170, 1452971 OK visa | |||
2017-08-23 | Fix up rssi calculations and r88e_rx_cck structure for RTL8188EU. | Kevin Lo | |
Tested with TL-WN725N v2 (rtl8188eu) on amd64. ok stsp@ | |||
2017-08-23 | Use the correct argument to sizeof. Coverity CID 1453382. | Jonathan Gray | |
2017-08-22 | Update inaccurate comment: rasops_copycols() doesn't use bcopy() | Frederic Cambus | |
anymore, but either memmove() or slow_bcopy(). OK nayden@ | |||
2017-08-22 | Move array bounds tests before access to avoid reading past the end of | Jonathan Gray | |
an array. Coverity CIDs 1452968 1453000. ok jung@ who mentions this case isn't hit in practice due to arrays having a terminating NULL. | |||
2017-08-22 | Fix negative array index read. Coverity CID 1453243 and 1453334. | Ricardo Mestre | |
Check if cp->dev value is invalid prior to using it as an array index and only then make the assignment si = &as->source_info[cp->dev]. OK tb@ and jsg@ | |||
2017-08-22 | Fix off by one overwrite. Covery CID 1452938. | Ricardo Mestre | |
ee->ee_ctls evaluates to either 16 or 32 depending on the card's EEPROM version and with the current loop condition it will write out of bounds in the second ee->ee_ctls assignment once the condition is either i < 16 or i < 32. OK stsp@ and tb@ | |||
2017-08-21 | Split up ahci_port_portreset into a few smaller bits, and also slightly | Jonathan Matthew | |
adjust port multiplier detection so it doesn't call ahci_port_portreset again directly, but instead restarts the loop for the current call. During attach, poll for device detection across all ports until either all ports have detected a device, or one second has passed, rather than doing them sequentially. Devices are still attached in order of port number, so disk unit numbers won't change. ok visa@ | |||
2017-08-21 | Add RK3399 CPU core related clocks. Fix RK3399 SD/MMC controller clock. | Mark Kettenis | |
For now, expose the clock speed of the Cortex-A53 cores through the hw.cupseed sysctl. | |||
2017-08-21 | Fix off by one in array bounds tests when parsing descriptors. | Jonathan Gray | |
Coverity CIDs 1452970 1453305. | |||
2017-08-21 | Fix the build when RTWN_DEBUG is defined. | Jonathan Gray | |
ok kettenis@ stsp@ | |||
2017-08-20 | Surprise: I/Q calibration now works with urtwn(4) devices, so enable it. | Stefan Sperling | |
Tested with 8188CUS, 8188EU, and 8192CU. | |||
2017-08-20 | Fix use of uninitialized variables during rtwn(4) I/Q calibration, which | Stefan Sperling | |
restored device registers from uninitialized memory after calibration. Bug was hinted at by clang which produced a non-working driver at -O2. The problem was eventually spotted by jsg@ with gcc 6.3.1. | |||
2017-08-19 | Rotate framebuffer (counter-clockwise) when width < height. | Mark Kettenis | |
ok mpi@ | |||
2017-08-19 | Remove a redundant declaration of rtwn_update_avgrssi(). | Stefan Sperling | |
It is also declared in rtwnvar.h. No functional change. | |||
2017-08-18 | Backout because it breaks ramdisks. Anyone making changes in the kernel | Theo de Raadt | |
is required to consider or test ramdisks before commit. | |||
2017-08-18 | Add compressed fonts support in the kernel. | Frederic Cambus | |
The wsdisplay_font structure has been modified to add two new members (zdata and zdata_len) to store compressed font data and its size. We define compressed fonts by setting the data field to NULL and populating the zdata and zdata_len fields. In wsfont_lock(), we check if the selected font needs to be inflated, and we call the newly introduced wsfont_inflate() if required. OK kettenis@ | |||
2017-08-18 | Test for device_lookup() returning NULL in gpioioctl() and gpioclose(). | Jonathan Gray | |
Coverity CIDs 1453046, 1453184. |