summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2022-01-29Add LPDDR4X and DDR5. Not decoded yet.msaitoh
2022-01-29Default WSDISPLAY_BORDER_COLOR to WS_DEFAULT_BG.uwe
Avoids black overscan area when WS_DEFAULT_BG is set.
2022-01-28Factor out the lun detection code to simplify control flow.christos
2022-01-28shut up GCC about possibly-uninit; some KNFjakllsch
2022-01-27use powerof2() in sd_validate_blksize()jakllsch
2022-01-27We no need for PQUIRK_FORCELUNS now that we try REPORT LUNS.jakllsch
2022-01-27Try REPORT LUNS command to enumerate logical units.jakllsch
2022-01-27drop poorly phrased and redundant message about unsupported chip revisionsjakllsch
2022-01-26shut up an unused variable warningmacallan
apparently clang gets confused by bus_dmatag_subregion() being EOPNOTSUPP on powerpc
2022-01-25fix various typos in comments.andvar
2022-01-25Add Intel 600 Series PCH (desktop) support.msaitoh
2022-01-25Regen.msaitoh
2022-01-25Add Alder Lake devices and Intel 600 Series PCH devices.msaitoh
2022-01-25Accept USB 3.2 in xhci_id_protocols().msaitoh
2022-01-25Fix compile error for non __HAVE_ATOMIC64_LOADSTORE arch.msaitoh
2022-01-25Use atomic_{load,store}_relaxed() for event counters.msaitoh
2022-01-24remove double "with" in comments and usage text. Also fix one typo.andvar
2022-01-24s/begining/beginning/ in comments and messages.andvar
2022-01-24 Fix ixv.c rev. 1.176. Calculate 36bit counter correctly.msaitoh
2022-01-24Use 32bit for 32bit counter.msaitoh
2022-01-23Use __MASK(4) in bus_dmatag_subregion. NFCI.skrll
2022-01-22Explicitly cast a __MASK(48) to bus_addr_t (for 32bit bus_addr_t archs)martin
2022-01-22Explicitly cast a __MASK(40) to bus_addr_t (for 32bit bus_addr_t archs)martin
2022-01-22Explicitly cast a 40-bit mask to bus_addr_t in a dead branch (gcc apparentlymartin
is not clever enough and warns about the truncation)
2022-01-22Ensure bus_dmatag_subregion is called with an inclusive max_addrskrll
everywhere.
2022-01-22Change the devhandle_from_*() functions to also take a "super handle",thorpej
from which the newly created handle will inherit it's implementation. The root implementation for a new handle type is used if an invalid "super handle" is passed.
2022-01-21s/compatile/compatible/andvar
2022-01-21when enumerating ports and endpoints treat missing 'reg' properties as zeromacallan
ok jmcneill: Looking at Linux. If port or endpoint are missing a 'reg' property it defaults to 0. Please make our code do the same. see https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/graph.yaml with this my pinebook has a usable console again
2022-01-21Don't bother with prom_node_to_devhandle() if we're just forwarding alongthorpej
our own node; use device_handle(self) instead.
2022-01-21Replace devhandle_invalidate(), which invalidates a devhandle, withthorpej
devhandle_invalid(), which returns an invalid devhandle.
2022-01-20don't 'extern' some other .c file's data, espcially when it'smrg
already in usbhist.h.
2022-01-19Use spi_compatible_lookup().thorpej
2022-01-19Provide a spi_compatible_lookup() function to go along withthorpej
spi_compatible_match().
2022-01-19Stash the device_t in spi_softc.thorpej
2022-01-19Improve ixv(4)'s some event counters.msaitoh
- The virtual function's packet counter registers are not cleared on read. To solve this problem, <REGNAME>, base_<REGNAME>, last_<REGNAME> and saved_reset_<REGNAME> are in the struct ixgbevf_hw_stats and some functions use them. However, saved_reset_<REGNAME> is set but never referenced. base_<REGNAME> is set and it's only used for saved_reset_<REGNAME>, so it's also unused in reality. THERE ARE A LOT OF GARBAGE. Remove them. - Call ixv_init_stats() in ixv_clear_evcnt() to make ifconfig -z ixvN work correctly.
2022-01-19Try to fix the build.martin
2022-01-19Pass the device_t into spi_configure(), and make the API contract thatthorpej
spi_configure() will print errors if they occur; the driver is off the hook.
2022-01-19Probe / match routines should not have side-effects: do the spi_configure()thorpej
calls in the attach routines.
2022-01-18Update ixv_print_debug_info() to print similar data to ixg(4).msaitoh
The old hw.ixvN.debug=1 printed evcnt(9) data. The same values are printed by vmstat -e, so it's not worth to print. Remove all of the old output and make it similar to ixgbe_print_debug_info().
2022-01-18Don't expose garbage data of hw.ixvN.debug.msaitoh
2022-01-18Don't clear mailbox related counters in ixgbe_upgrade_mbx_params_pf().msaitoh
2022-01-18Don't clear mailbox related counters in ixgbe_upgrade_mbx_params_vf().msaitoh
2022-01-18Use 64bit for lxon + lxoff.msaitoh
2022-01-17fix typos in comments, mainly s/foward/forward/.andvar
2022-01-17sdhc: avoid taking adaptive mutex while holding spin mutexmrg
the clock_bus pre- and post- callbacks used in sdhc_bus_clock_ddr() are called with a spin mutex held, and the new sdhc@acpi ends up calling into (sleeping) ACPI code, triggering lockdebug assertion. introduce an adaptive mutex that is held around these callbacks, and reduce the spin mutex held time in sdhc_bus_clock_ddr().
2022-01-17Pass the controller devhandle along to the GPIO layer.thorpej
2022-01-17G/C mcpgpio_softc::sc_phandle; nothing is using it.thorpej
2022-01-17Minimal hack to pass child devices a devhandle created from the OFthorpej
or ACPI "cookie". Temporary measure until the i2c autoconfiguration overhaul is merged (which fixes this in a more generic way).
2022-01-17When initializing pins, try to get the default pin name from thethorpej
"gpio-line-names" property. If not present, then fall back on the default name for the pin from the parent, if there is one.
2022-01-17Re-factor and overhaul the "mcp23s17gpio" driver as "mcpgpio", andthorpej
add support for 8-bit and I2C variants of the chip: - MCP23008 / MCP23S08: 8-bit (I2C / SPI) - MCP23017 / MCP23S17: 16-bit (I2C / SPI) - MCP23018 / MCP23S18: 16-bit (I2C / SPI), open-drain outputs The MCP23x17 and MCP23x18 are essentially identical, software-wise; we merely report different GPIO pin capabilities (no push-pull output for MCP23x18). Also, remove the tri-state capability that was previously advertised by the old version of this driver; these chips have no way to put the pin into a HI-Z mode. All 3 I2C versions are supported, but the SPI front-end still only supports the MCP23S17 for now (SPI autoconfiguration needs an overhaul). mcp23s17gpio(4) remains present as a link to the new mcpgpio(4) man page. XXX Still to-do: FDT integration, interrupt suppoort.