diff --git a/doc/busses/i2c-hydra b/doc/busses/i2c-hydra index c2eea5d2..d6eae786 100644 --- a/doc/busses/i2c-hydra +++ b/doc/busses/i2c-hydra @@ -4,7 +4,8 @@ Status: Complete and somewhat tested Supported adapters: * Apple `Hydra' Mac I/O - Datasheet: Publicly available (?) + Datasheet: Was publicly available from the Apple website, now seems to + have disappeared?!? Author: Geert Uytterhoeven diff --git a/prog/dump/isadump.c b/prog/dump/isadump.c index 06eeb1c6..ee4742a6 100644 --- a/prog/dump/isadump.c +++ b/prog/dump/isadump.c @@ -99,7 +99,7 @@ int main(int argc, char *argv[]) sleep(5); #ifndef __powerpc__ - if ((datareg < 0x400) && (datareg < 0x400)) { + if ((datareg < 0x400) && (addrreg < 0x400)) { if(ioperm(datareg,1,1)) { fprintf(stderr,"Error: Could not ioperm() data register!\n"); exit(1);