diff options
| author | Michael Brown | 2005-04-16 16:50:41 +0200 |
|---|---|---|
| committer | Michael Brown | 2005-04-16 16:50:41 +0200 |
| commit | 57070797e3eb2611212abf0e5f4b5086a3d00278 (patch) | |
| tree | 662f04bbef9bd55499f5c4adaadd73b73c8ad099 /src | |
| parent | Remove debugging call to getchar() (diff) | |
| download | ipxe-57070797e3eb2611212abf0e5f4b5086a3d00278.tar.gz ipxe-57070797e3eb2611212abf0e5f4b5086a3d00278.tar.xz ipxe-57070797e3eb2611212abf0e5f4b5086a3d00278.zip | |
Optimise ISAPNP_READ_PORT_STEP
Diffstat (limited to 'src')
| -rw-r--r-- | src/include/isapnp.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/include/isapnp.h b/src/include/isapnp.h index c66b4112a..4d7bc3954 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 |
