Linux I2C development
 help / color / mirror / Atom feed
* [PATCH 0/3] i2c-tools: Allow passing i2c bus by name
@ 2008-04-12 11:58 Jean Delvare
       [not found] ` <20080412135841.1983d15c-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Jean Delvare @ 2008-04-12 11:58 UTC (permalink / raw)
  To: Linux I2C

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
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-12 12:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-12 11:58 [PATCH 0/3] i2c-tools: Allow passing i2c bus by name Jean Delvare
     [not found] ` <20080412135841.1983d15c-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-04-12 12:34   ` [PATCH 1/3] Refactor the handling of the i2cbus command line argument Jean Delvare
2008-04-12 12:35   ` [PATCH 2/3] Split print_i2c_busses into a gathering part and a printing part Jean Delvare
2008-04-12 12:38   ` [PATCH 3/3] Allow passing i2c bus by name Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox