diff --git a/prog/dump/isadump.8 b/prog/dump/isadump.8 index 92a419f7..3b3bc989 100644 --- a/prog/dump/isadump.8 +++ b/prog/dump/isadump.8 @@ -53,7 +53,7 @@ register at 0x2F. .PP The \fIbank\fR and \fIbankreg\fR parameters are useful on the Winbond chips as well as on Super-I/O chips. -\fIbank\fR is an integer between 0 and 15, and \fIbankreg\fR is an integer +\fIbank\fR is an integer between 0 and 31, and \fIbankreg\fR is an integer between 0x00 and 0xFF (default value: 0x4E for Winbond chips, 0x07 for Super-I/O chips). The W83781D datasheet has more information on bank selection. @@ -68,7 +68,7 @@ and the address is forcibly aligned on a 256-byte boundary. .PP The \fIbank\fR and \fIbankreg\fR parameters are useful on the National Semiconductor PC87365 and PC87366 Super-I/O chips. -\fIbank\fR is an integer between 0 and 15, and \fIbankreg\fR is an integer +\fIbank\fR is an integer between 0 and 31, and \fIbankreg\fR is an integer between 0x00 and 0xFF (default value: 0x09; must fit in the specified range). See the PC87365 datasheet for more information on bank selection. diff --git a/prog/dump/isadump.c b/prog/dump/isadump.c index b6eb05ad..2a2f5fae 100644 --- a/prog/dump/isadump.c +++ b/prog/dump/isadump.c @@ -200,8 +200,8 @@ int main(int argc, char *argv[]) help(); exit(1); } - if ((bank < 0) || (bank > 15)) { - fprintf(stderr, "Error: bank out of range (0-15)!\n"); + if ((bank < 0) || (bank > 31)) { + fprintf(stderr, "Error: bank out of range (0-31)!\n"); help(); exit(1); }