Source-Changes archive

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

CVS commit: src/sys/arch



Module Name:    src
Committed By:   thorpej
Date:           Sun Sep 21 13:51:50 UTC 2025

Modified Files:
        src/sys/arch/macppc/conf: files.macppc
        src/sys/arch/ofppc/conf: files.ofppc
        src/sys/arch/powerpc/include: ofw_machdep.h
        src/sys/arch/powerpc/oea: ofw_autoconf.c
Added Files:
        src/sys/arch/macppc/macppc: autoconf.c
        src/sys/arch/ofppc/ofppc: autoconf.c

Log Message:
Give each PowerPC OFW platform its own device_register(), which calls
into the common ofw_device_register().  ofppc's is a simple wrapper.

macppc's, on the other hand, takes care of looking up environmental
sensor descriptive information in the OFW device tree and adds those
properties directly to the sensor device property dictionaries.  This
single implementation will replace the duplicated code that's scattered
across multiple macppc i2c controller drivers.


To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 src/sys/arch/macppc/conf/files.macppc
cvs rdiff -u -r0 -r1.62 src/sys/arch/macppc/macppc/autoconf.c
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/ofppc/conf/files.ofppc
cvs rdiff -u -r0 -r1.18 src/sys/arch/ofppc/ofppc/autoconf.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/powerpc/include/ofw_machdep.h
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/powerpc/oea/ofw_autoconf.c

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