Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/dev/i2c
Module Name: src
Committed By: thorpej
Date: Wed Sep 17 13:49:13 UTC 2025
Modified Files:
src/sys/dev/i2c: ac100.c as3722.c tcakp.c tps65217pmic.c twl4030.c
Log Message:
These drivers conditionally support FDT (with an #ifdef). Rather than
blindly assume that i2c_attach_args::ia_cookie is an FDT phandle, consult
self's devhandle and, if the type is DEVHANDLE_TYPE_OF, exctract the phandle
from there.
XXX These drivers should probably become FDT-only (like many others already
are) because the functionality is questionable without information from the
device tree.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/i2c/ac100.c
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/i2c/as3722.c
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/i2c/tcakp.c
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/i2c/tps65217pmic.c
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/i2c/twl4030.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