summaryrefslogtreecommitdiffstats
path: root/sys/dev (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Allow SD/MMC controller drivers to allocate their own DMA mapping structurekettenis2017-12-242-3/+5
| | | | | | to account for any relevant hardware constraints. ok stsp@
* regenmlarkin2017-12-232-2/+12
|
* Add missing Sunrise Point-H I2C controller PCI IDsmlarkin2017-12-231-1/+3
|
* Sync Allwinner H3/H5 pin definitions with Linux.kettenis2017-12-231-3/+2
|
* Avoid null-pointer dereference wen a device tree refers to a pin-functionkettenis2017-12-231-1/+3
| | | | that doesn't exist.
* scrolling: take care of noise.bru2017-12-231-3/+5
|
* Remove dead assignment.fcambus2017-12-231-4/+1
| | | | | | Now that we call rasops_putchar_rotated(), we don't need ri anymore. OK kettenis@
* enable snooping on Intel 200 Series HDAjsg2017-12-231-1/+2
|
* match on intel 200 seriesjsg2017-12-231-2/+3
|
* regenjsg2017-12-232-2/+247
|
* add ids for intel coffee lake-s and series 200/300 pchjsg2017-12-231-1/+50
|
* 1. Use unfiltered deltas for scrolling. 2. (Re-)Simplify the edge areabru2017-12-221-74/+63
| | | | setup.
* Two width specifiers changed from %02 to %0 in previous. Change them back.tb2017-12-211-2/+2
| | | | ok deraadt
* Do not use %hx for chars, ok kettenisderaadt2017-12-211-3/+3
|
* add some ifq and ifiq barriers in ixl_down.dlg2017-12-211-4/+5
| | | | move rxfill in ixl_up so the qtail is only written once.
* now that we have multiple input queues in ifnet structs, use them.dlg2017-12-211-26/+24
| | | | | for now we still only have one set of tx and rx rings, but sets us up to bump that number.
* Two background scan fixes for iwn(4) (4965 devices only):stsp2017-12-201-6/+19
| | | | | | | | | | | | | | | | | | | 1) Use only one antenna while scanning on 5GHz. Fixes very low RSSI values. 2) During a background scan while associated to a 5GHz AP, send probe requests on 2GHz channels with an OFDM rate (6Mbps) because the buggy firmware does not like sending with a CCK rate (1Mbps) in this state. CCK rates are not valid for 5GHz, which could explain this firmware bug. Taken from FreeBSD r222679. jca@ tested and confirmed the first problem but lacks a 5GHz access point to associate to and test the second one with. I am going to *blindly trust* FreeBSD on the second one! It is not a big deal if it doesn't actually apply to our firmware version as the change itself is rather inconsequential in practice. And 4965 hardware is quite rare nowadays. ok jca@
* Add a sanity check on the number of chunks beingkrw2017-12-201-1/+8
| | | | | assembled into a volume, to enure the on-disk metadata and the in-memory metadata agree.
* Properly implement the rsb attribute and actually use it.kettenis2017-12-181-5/+5
|
* Add sensors for the AXP809.kettenis2017-12-181-3/+10
|
* Use axppmic as a dependency instead of axppmic_rsb.kettenis2017-12-181-2/+2
|
* Read RAM size for chips with SOCRAM like the BCM4334 on one of mypatrick2017-12-181-2/+18
| | | | Intel machines.
* Read RAM size for chips with SOCRAM like the BCM4334 on one of mypatrick2017-12-181-5/+55
| | | | Intel machines.
* Pass the BSSID to the join command so that we connect to the AP thatpatrick2017-12-181-4/+7
| | | | we chose instead of any AP the firmware chooses based on the SSID.
* Pass scan type directly to the scan command instead of using the globalpatrick2017-12-182-8/+6
| | | | variable.
* Add i2c interface code to the new axppmic(4) code and add support for thekettenis2017-12-183-164/+305
| | | | | | AXP152 and AXP209 here as well. The AXP209 is extended to support regulators and sensors. The ACIN and VBUS indicators are now exported as sensors. Retire the old AXP152/AXP209 support code.
* Map framebuffer into userland as non-cachable (but normal) memory. We stillkettenis2017-12-181-2/+4
| | | | | | | | | map the framebuffer as device memory in the kernel. Using mismatched memory attributes like this is discouraged (and we should probably fix this at some point) but this particular case is well-defined and the potential side-effects should not matter for thus use-case. ok patrick@
* Add support for enabling registered regulators. Make sure that we leavekettenis2017-12-182-11/+32
| | | | | | regulators with a "regulator-always-on" property alone. ok patrick@
* Support setting the Cortex-A7 cores to active/passive mode andpatrick2017-12-181-4/+32
| | | | fix up the code for the Cortex-R4 which works the same.
* Make axppmic(4) attach to a Reduced Serial Bus, and support the AXP806kettenis2017-12-172-1/+323
| | | | and AXP809 PMICs. Disabled for now.
* Add 32K output klock support.kettenis2017-12-171-17/+60
|
* Add magic to make USB PYs work on Allwinner H3/H5/A64.kettenis2017-12-171-4/+15
|
* Pass Cortex-R4 reset vector to activation function.patrick2017-12-171-2/+2
|
* Read RAM base address and size so we know where to put the firmware.patrick2017-12-162-3/+104
|
* Implement setting the chip into active mode, as needed for setting uppatrick2017-12-162-14/+63
| | | | the PCIe-based BCM43602's firmware in the PCI attachment driver.
* Support setting the Cortex-R4, as found on a BCM43602, to passive mode.patrick2017-12-161-2/+9
|
* Add some more Chip IDs to bwfm(4).patrick2017-12-161-1/+4
|
* Enforce voltage limits from the device tree. Enforcing the limits alsokettenis2017-12-162-3/+21
| | | | | | | happens when regulators are registered. As a consequence they will be properly initialized even when the firmware doesn't do that. ok patrick@
* Add support for 1-byte reads and writes.kettenis2017-12-162-23/+63
|
* Add a driver for the RSB controller found on various Allwinner SoCs.kettenis2017-12-164-1/+527
| | | | | | | | Add a driver for the RTC part of the AC100 chip. Together this turns my Cubieboard4 into a real computer by giving it a proper clock. ok patrick@
* Add a few more Allwinner A80 clocks.kettenis2017-12-151-1/+44
|
* put where im up to into the tree so jmatthew@ can look at it.dlg2017-12-151-143/+367
|
* Don't bother using DETACH_FORCE for the softraid luns at rebootderaadt2017-12-141-10/+11
| | | | | time; the aggressive mountpoint destruction seems to hit insane use-after-frees when we are already far on the way down.
* Make roaming after a background scan work while tcpbench -u is runningstsp2017-12-141-2/+3
| | | | | | | | | | over iwn(4), in the same way as this was done for iwm(4). I forgot about making iwn(4) heed the IEEE80211_F_TX_MGMT_ONLY flag which is used to disable queueing of new data frames during an AP switch. Found due to a problem report by naddy@ ok phessler@ tb@
* Add background scanning support to iwn(4), as was done for iwm(4) recently.stsp2017-12-143-23/+111
| | | | | | Tested on following devices by various people: 6300, 6200, 6205, 2200, 5100 ok phessler@ tb@
* let urtwn(4) find my TP-LINK TL-WN722N v2benno2017-12-141-2/+3
| | | | ok deraadt@ phessler@ kettenis@
* syncbenno2017-12-142-4/+9
|
* add usb id for TP-LINK TL-WN722N v2benno2017-12-141-1/+2
| | | | ok deraadt@ phessler@ kettenis@
* Repair flushcache/standby operations to not convert AT_WAIT operationsderaadt2017-12-141-12/+4
| | | | | to AT_POLL, which some chip driver underneath cannot handle. tested by bluhm also
* Fix stray return; hopefully this makes the internal PHY actually work now.kettenis2017-12-131-2/+1
|