#
28f5e880 |
| 02-Jan-2025 |
John Baldwin <jhb@FreeBSD.org> |
Use device_delete_children instead of explicit calls to device_delete_child
This is simpler and more robust in the face of potential double-frees (e.g. if called after bus_generic_detach which will
Use device_delete_children instead of explicit calls to device_delete_child
This is simpler and more robust in the face of potential double-frees (e.g. if called after bus_generic_detach which will delete devices in a future commit).
Reviewed by: manu, imp Differential Revision: https://reviews.freebsd.org/D47958
show more ...
|
Revision tags: release/14.2.0, release/13.4.0 |
|
#
5b56413d |
| 25-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY
Sponsored by: Netflix
|
Revision tags: release/14.1.0, release/13.3.0 |
|
#
b2f0caf1 |
| 26-Dec-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
regulator: Move regulator code in dev/regulator
We've removed kernel option EXT_RESOURCES almost two years ago. While it was ok to have some code under a common 'extres' subdirectory at first, we no
regulator: Move regulator code in dev/regulator
We've removed kernel option EXT_RESOURCES almost two years ago. While it was ok to have some code under a common 'extres' subdirectory at first, we now have a lot of consumer of it and we made it mandatory so no need to have it under a cryptic name.
Reviewed by: emaste, imp Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D43194
show more ...
|
#
1f469a9f |
| 26-Dec-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
hwreset: Move reset code in dev/hwreset
We've removed kernel option EXT_RESOURCES almost two years ago. While it was ok to have some code under a common 'extres' subdirectory at first, we now have a
hwreset: Move reset code in dev/hwreset
We've removed kernel option EXT_RESOURCES almost two years ago. While it was ok to have some code under a common 'extres' subdirectory at first, we now have a lot of consumer of it and we made it mandatory so no need to have it under a cryptic name.
Reviewed by: imp Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D43192
show more ...
|
#
be82b3a0 |
| 26-Dec-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
clk: Move clock code in dev/clk
We've removed kernel option EXT_RESOURCES almost two years ago. While it was ok to have some code under a common 'extres' subdirectory at first, we now have a lot of
clk: Move clock code in dev/clk
We've removed kernel option EXT_RESOURCES almost two years ago. While it was ok to have some code under a common 'extres' subdirectory at first, we now have a lot of consumer of it and we made it mandatory so no need to have it under a cryptic name.
Reviewed by: mhorne Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D43191
show more ...
|
#
fdafd315 |
| 24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
Remov
sys: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank 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
show more ...
|
Revision tags: release/14.0.0 |
|
#
685dc743 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
4d846d26 |
| 10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
#
7e1e2ba1 |
| 09-May-2022 |
John Baldwin <jhb@FreeBSD.org> |
arm allwinner: Remove unused devclass arguments to DRIVER_MODULE.
|
#
af8b51b0 |
| 16-Feb-2022 |
Andriy Gapon <avg@FreeBSD.org> |
aw_mmc: add crash dumping support in MMCCAM mode
MFC after: 1 week
|
Revision tags: release/12.3.0 |
|
#
8a8166e5 |
| 02-Aug-2021 |
Bartlomiej Grzesik <bag@semihalf.com> |
mmc: switch mmc_helper to device_ api
Add generic mmc_helper which uses newly introduced device_*_property api. Thanks to this change the sd/mmc drivers will be capable of parsing both DT and ACPI d
mmc: switch mmc_helper to device_ api
Add generic mmc_helper which uses newly introduced device_*_property api. Thanks to this change the sd/mmc drivers will be capable of parsing both DT and ACPI description.
Ensure backward compatibility for all mmc_fdt_helper users.
Reviewed by: manu, mw Sponsored by: Semihalf Differential revision: https://reviews.freebsd.org/D31598
show more ...
|
#
6bc8fe8a |
| 26-May-2021 |
Emmanuel Vadot <manu@FreeBSD.org> |
arm: allwinner: Add mmc_pwrseq support
If a pwrseq is found, set power accordingly.
Sponsored by: Diablotin Systems
|
#
115e71a4 |
| 16-May-2021 |
Emmanuel Vadot <manu@FreeBSD.org> |
arm: allwinner: aw_mmc: Check regulators status before enabling/disabling them
Sponsored by: Diablotin Systems Differential Revision: https://reviews.freebsd.org/D30294
|
#
2671bdb5 |
| 21-Apr-2021 |
Emmanuel Vadot <manu@FreeBSD.org> |
allwinner: aw_mmc: Convert driver to use the mmc_sim interface
A lot more generic cam related things are done in mmc_sim so this simplify the driver a lot.
Differential Revision: https://reviews.fr
allwinner: aw_mmc: Convert driver to use the mmc_sim interface
A lot more generic cam related things are done in mmc_sim so this simplify the driver a lot.
Differential Revision: https://reviews.freebsd.org/D27486 Reviewed by: imp
show more ...
|
Revision tags: release/13.0.0 |
|
#
020df509 |
| 30-Nov-2020 |
Emmanuel Vadot <manu@FreeBSD.org> |
arm: allwinner: aw_mmc: Add a sysctl for debuging
Add a new hw.aw_mmc.debug sysctl to help debugging the driver. Bit 0 will debug card changes (removal, insertion, power up/down) Bit 1 will debug io
arm: allwinner: aw_mmc: Add a sysctl for debuging
Add a new hw.aw_mmc.debug sysctl to help debugging the driver. Bit 0 will debug card changes (removal, insertion, power up/down) Bit 1 will debug ios changes Bit 2 will debug interrupts received Bit 3 will debug commands sent
show more ...
|
Revision tags: release/12.2.0 |
|
#
65454883 |
| 01-Sep-2020 |
Mateusz Guzik <mjg@FreeBSD.org> |
arm: clean up empty lines in .c and .h files
|
#
c7aa572c |
| 31-Jul-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
#
a6d9c925 |
| 24-Jul-2020 |
Emmanuel Vadot <manu@FreeBSD.org> |
mmccam: aw_mmc: Only print the new ios value under bootverbose
|
#
9bca4667 |
| 22-Jul-2020 |
Emmanuel Vadot <manu@FreeBSD.org> |
aw_mmc: Start a mmccam discovery when the CD handler is called.
Submitted by: kibab
|
Revision tags: release/11.4.0 |
|
#
cbba9a7b |
| 16-Apr-2020 |
Emmanuel Vadot <manu@FreeBSD.org> |
arm: allwinner: aw_mmc: Make it possible to unload the module
While here, add a makefile in sys/modules/allwinner so it is built. Also add the PNP info so devmatch will load this module automaticall
arm: allwinner: aw_mmc: Make it possible to unload the module
While here, add a makefile in sys/modules/allwinner so it is built. Also add the PNP info so devmatch will load this module automatically.
MFC after: 1 month
show more ...
|
#
9ed83210 |
| 14-Apr-2020 |
Emmanuel Vadot <manu@FreeBSD.org> |
arm: allwinner: aw_mmc: Use the mmc_fdt_helper
The fdt properties are now parsed via the help of mmc_fdt_helper functions. This also adds card detection. Note that on some boards (like the Pine64) c
arm: allwinner: aw_mmc: Use the mmc_fdt_helper
The fdt properties are now parsed via the help of mmc_fdt_helper functions. This also adds card detection. Note that on some boards (like the Pine64) card detection is broken due to a missing resistor on the cd pin.
MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D23268
show more ...
|
#
bb1d0df5 |
| 29-Jan-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r357179 through r357269.
|
#
8c7cd14a |
| 27-Jan-2020 |
Warner Losh <imp@FreeBSD.org> |
Create a convenince wrapper to fill in a CAM_PATH_INQ request for MMC sims. Pass in the parameters needed for the different sims, but it's almost all identical.
|
#
94d3675e |
| 06-Nov-2019 |
Emmanuel Vadot <manu@FreeBSD.org> |
arm: allwinner: aw_mmc: Check if the regulator support the voltage
Don't blindy say that we support both 3.3V and 1.8V. If we have a regulator for the data lines, check that the voltage is supported
arm: allwinner: aw_mmc: Check if the regulator support the voltage
Don't blindy say that we support both 3.3V and 1.8V. If we have a regulator for the data lines, check that the voltage is supported before adding the signaling caps. If we don't have a regulator, just assume that the data lines are 3.3V This unbreak eMMC on some allwinner boards.
Reported by: ganbold MFC after: 1 month X-MFC-With: r354396
show more ...
|
Revision tags: release/12.1.0 |
|
#
ef546520 |
| 30-Oct-2019 |
Ilya Bakulin <kibab@FreeBSD.org> |
Use the new cam_sim_alloc_dev function to properly initialize SIM
Using cam_sim_alloc_dev() allows to properly set sim_dev field so that sdiob(4) can attach to the CAM device that represents SDIO ca
Use the new cam_sim_alloc_dev function to properly initialize SIM
Using cam_sim_alloc_dev() allows to properly set sim_dev field so that sdiob(4) can attach to the CAM device that represents SDIO card. The same change for SDHCI driver happened in r348800.
Approved by: imp (mentor) Differential Revision: https://reviews.freebsd.org/D22192
show more ...
|