diff --git a/CHANGES b/CHANGES index f305a791..e7b1780a 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,10 @@ lm_sensors CHANGES file ----------------------- +SVN HEAD + Program isadump: Detect when address bit 7 is a busy flag + + 2.10.3 (20070319) Library: Do not skip i2c adapters with only a class device and no physical device. This change is required to survive the diff --git a/prog/dump/isadump.c b/prog/dump/isadump.c index 1ed7dcc5..5031e783 100644 --- a/prog/dump/isadump.c +++ b/prog/dump/isadump.c @@ -293,6 +293,10 @@ int main(int argc, char *argv[]) res = inb(addrreg + i + j); } else { outb(i+j, addrreg); + if (i+j == 0 && (inb(addrreg) & 0x80)) { + /* Bit 7 appears to be a busy flag */ + range = 128; + } res = inb(datareg); } printf("%02x ", res);