parse_saa7134.pl: add logic to detect transactions without STOP
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 3 Oct 2010 16:21:39 +0000 (13:21 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 3 Oct 2010 16:21:39 +0000 (13:21 -0300)
commit62ba492f2b96cede817c1a9430abdd2eeeed7b0d
tree484eacc96e632c4f8de05704cb89fab4ed007878
parent595aa990f561c826f229c23ce7aa324d3d739f78
parse_saa7134.pl: add logic to detect transactions without STOP

Read operations with sub-addresses are done by a write to the write address,
plus a read. Between the write and read, there's no stop.

For example, a read from eeprom, starting at eeprom address 0 will
be displayed as:

write_i2c_addr(0x50, 1, { 0x00}); /* INCOMPLETE */
read_i2c_addr(0x50, 23) /* 0xde, 0x17, 0x36, 0xb1, 0x54, 0x20, 0x1c, 0x00, 0x43, 0x43, 0xa9, 0x1c, 0x55, 0xd2, 0xb2, 0x92, 0xff, 0xff, 0xff, 0xff, 0xff, 0x20, 0xff */;

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
contrib/saa7134/parse_saa7134.pl