Hi all, This patch set lets the user provide the i2c bus by name, rather than number, in i2cdetect, i2cdump, i2cget and i2cset. The first patch refactors the handling of the i2cbus command line argument so that further changes only have to be done in once place. The second patch splits print_i2c_busses into a gathering part and a printing part. The third patch makes use of the gathering part to resolve the bus name to a bus number.
This has been tested on both Linux 2.4 and Linux 2.6 and works well for me. I welcome comments, reviews and testing. Thanks, -- Jean Delvare _______________________________________________ i2c mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/i2c
