On Wed, 25 Nov 2009 16:42:02 +0800, Lanttor wrote: > > > > Yes, you are correct. You can't predefine I2C devices with > > i2c_register_board_info() if you don't also set I2C adapter numbers > > with i2c_add_numbered_adapter(). Trying would be equivalent to sending a > > letter to someone when you know the city and street number but not the > > street name: unlikely to succeed. > > > Thanks Jean. > > In fact my bus driver used i2c_add_adapter() not i2c_add_numbered_adapter(). > Now I use i2c_add_numbered_adapter() to replace 2c_add_adapter() and set > the bus number first. > > In one word, you mean that i2c_add_adapter() can not work normally if > useing i2c_register_board_info() to pre-declare the i2c device, right? Yes, exactly. > I really need track i2c-stack in detail. -- Jean Delvare http://khali.linux-fr.org/wishlist.html -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html