Port-alpha archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
i2c devices on TSC
Hi,
> Oh, I forgot to mention, this configuration gets the snot beat out of it on jklos’s DS25:
>
> https://dmesgd.nycbug.org/dmesgd?do=view&id=7447
This reminded me:
[ 1.000000] tsciic0 at tsc0
[ 1.000000] iic0 at tsciic0: I2C bus
that a long time back, I added the tsciic driver and also entries in
GENERIC for the devices on the DS20L. However, as the entries are
commented out, I guess that almost no-one uses them. I wonder if there
is a nice way to add them at run time, because we already know the
machine model.
For sparc64, we have direct config and a list of i2c devices from the
firmware, but we also have patching code that adds devices missing from
the firmware tree [*]. This uses the machine model to add or fixup
i2c devices. I wonder if this latter approach would work here?
I could do this for the DS20L, but is there any interest for other
machines?
Regards,
Julian
[*] sparc64 patching code is:
https://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/sparc64/sparc64/ofw_patch.c?rev=1.10;content-type=text%2Fx-cvsweb-markup
--
Home |
Main Index |
Thread Index |
Old Index