Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   thorpej
Date:           Sat Oct  4 01:12:15 UTC 2025

Modified Files:
        src/sys/arch/sparc/sparc: promlib.c
        src/sys/dev/acpi: acpi_util.c
        src/sys/dev/ofw: ofw_subr.c
        src/sys/kern: device_calls subr_device.c
        src/sys/sys: device_calls.h

Log Message:
Add a platform device tree passthrough for device properties.  First,
the device's properties dictionary is consulted, and if it doesn't have
what we're looking for, we go ask the platform device tree.  The upshot
is that we can g/c (or not have to add) code that duplicates values from
the device tree into the properties dictionary (either in something like
device_register() or in a driver attachment front-end -- there are multiple
example of both in the system, currently), and everyone gets to use a
consistent interface (which will, over time, allow more code to de-duplicated).

Implement back-ends for ACPI, Sun OpenBoot, and OpenFirmware (including FDT).


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/sparc/sparc/promlib.c
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/acpi/acpi_util.c
cvs rdiff -u -r1.61 -r1.62 src/sys/dev/ofw/ofw_subr.c
cvs rdiff -u -r1.3 -r1.4 src/sys/kern/device_calls
cvs rdiff -u -r1.15 -r1.16 src/sys/kern/subr_device.c
cvs rdiff -u -r1.4 -r1.5 src/sys/sys/device_calls.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index