On Thu, 5 Jun 2008 22:07:31 -0600
"Grant Likely" <[EMAIL PROTECTED]> wrote:

> The fallback is to just let the i2c layer auto-assign an ID.  The only
> reason I can think of to want to assign a specific id to an i2c bus is
> so that a userspace application can reference a specific bus.  The
> drivers really shouldn't care.

If we switch the iic driver to use i2c_add_adapter rather than
i2c_add_numbered_adapter, this is exactly what it does. i2c will use
the idr_ functions to assign a number.

Cheers,
   Sean
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to