From: "corentin.labbe" <corentin.labbe@xxxxxxxxxxx> Date: Tue, 14 Jun 2011 14:59:41 +0200 > This patch enable i2c-ali1535 to works under SPARC architecture. > > I wait for your comments/approval before sending it to the lm_sensors mailing lists. Implementing this as a PCI driver doesn't make any sense. It's be better to probe and fetch the register information by using the openfirmware tree driver interfaces, a table of "struct of_device_id", a "platform_driver" that points to that of_device_id table, and a call to platform_device_register() to register that platform_driver. Also, even if you attach the I2C controller, you won't be able to enumerate the underlying I2C devices properly. The openfirmware device tree will need to be used in order to do that as well. -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html