Replace calls to bus_generic_attach with bus_attach_childrenReviewed by: impDifferential Revision: https://reviews.freebsd.org/D47675
hwreset: Move reset code in dev/hwresetWe've removed kernel option EXT_RESOURCES almost two years ago.While it was ok to have some code under a common 'extres' subdirectoryat first, we now have a
hwreset: Move reset code in dev/hwresetWe've removed kernel option EXT_RESOURCES almost two years ago.While it was ok to have some code under a common 'extres' subdirectoryat first, we now have a lot of consumer of it and we made it mandatoryso no need to have it under a cryptic name.Reviewed by: impSponsored by: Beckhoff Automation GmbH & Co. KGDifferential Revision: https://reviews.freebsd.org/D43192
show more ...
clk: Move clock code in dev/clkWe've removed kernel option EXT_RESOURCES almost two years ago.While it was ok to have some code under a common 'extres' subdirectoryat first, we now have a lot of
clk: Move clock code in dev/clkWe've removed kernel option EXT_RESOURCES almost two years ago.While it was ok to have some code under a common 'extres' subdirectoryat first, we now have a lot of consumer of it and we made it mandatoryso no need to have it under a cryptic name.Reviewed by: mhorneSponsored by: Beckhoff Automation GmbH & Co. KGDifferential Revision: https://reviews.freebsd.org/D43191
sys: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Remov
sys: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/Remove /\n+#if.*\n#endif.*\n+/Remove /^#if.*\n#endif.*\n/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/Sponsored by: Netflix
sys: Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
sys: Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of BSD-2-Clause.Discussed with: pfgMFC After: 3 daysSponsored by: Netflix
qcom_qup: compilation fixesFix compilation warning/errors - in this instance we do need the registerIO.Reviewed by: impDifferential Revision: https://reviews.freebsd.org/D36535
qcom_qup: Remove a double word in a source code comment- s/the the/the/MFC after: 3 days
qcom_*: Remove unused devclass arguments to DRIVER_MODULE.
Remove unused spibus_devclass and ofw_spibus_devclass.
qcom_qup: add initial v1/v2 QUP SPI driverThe Qualcomm Universal Peripherals Engine (QUP) is a unified SPI and I2Cperipheral that ships with a variety of Qualcomm SoCs.It supports three transfer
qcom_qup: add initial v1/v2 QUP SPI driverThe Qualcomm Universal Peripherals Engine (QUP) is a unified SPI and I2Cperipheral that ships with a variety of Qualcomm SoCs.It supports three transfer modes - single PIO, block PIO and DMA.This driver only supports the single PIO mode, which is enough tobootstrap the rest of the SPI NAND/NOR support and means I can dothings like read the Wifi calibration data from NOR. It has somehardware support code for the other transfer modes as well assome support for split transfers (ie, transfers with no read orwrite phase), but I haven't yet implemented those.This driver is based on four sources - the linux driver, the u-bootdriver, some initial work done for APQ8064 by mmel@, and the APQ8064Technical Reference Manual which is surprisingly free and open toread. The linux and u-boot drivers approach a variety of thingscompletely differently, from how PIO is done, the hardware supportfor re-ordering bytes in a transfer word and how the CS linesare used.Tested:* IPQ4018, SPI to NAND/NOR flash, PIO only