[i2c] How to find an i2c_adapter in the system

David Brownell david-b at pacbell.net
Wed Nov 21 01:16:35 CET 2007


On Tuesday 20 November 2007, Jean Delvare wrote:

> It might make sense to arbitrarily reserve I2C bus number 0 and 1 for
> the mainboard SMBus on x86. That would only require minor changes to
> i2c-boardinfo (basically, initialize __i2c_first_dynamic_bus_num to 2
> instead of 0, and change i2c-i801 and friends to use
> i2c_add_numbered_adapter instead of i2c_add_adapter.) Not necessarily
> very clean, but that should work. David, what do you think?

Would that be a PC-specific change?  I could imagine it working,
but it'd be good to know what ACPI and PC design specs say.  Also,
wouldn't some servers have more than two SMBus adapters?

How do the various flavors of MS-Windows manage SMBus ... purely
through ACPI?  Or not-at-all?

- Dave




More information about the i2c mailing list