From 57070797e3eb2611212abf0e5f4b5086a3d00278 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sat, 16 Apr 2005 14:50:41 +0000 Subject: [PATCH] Optimise ISAPNP_READ_PORT_STEP --- src/include/isapnp.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/include/isapnp.h b/src/include/isapnp.h index c66b4112..4d7bc395 100644 --- a/src/include/isapnp.h +++ b/src/include/isapnp.h @@ -53,7 +53,13 @@ * comment. 0x203 probably * clashes with something. */ #define ISAPNP_READ_PORT_MAX 0x3ff -#define ISAPNP_READ_PORT_STEP 0x08 /* Can be any multiple of 4 */ +#define ISAPNP_READ_PORT_STEP 0x10 /* Can be any multiple of 4 + * according to the spec, but + * since ISA I/O addresses are + * allocated in blocks of 16, + * it makes no sense to use + * any value less than 16. + */ /* Registers */ #define ISAPNP_READPORT 0x00