summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2005-04-16 16:50:41 +0200
committerMichael Brown2005-04-16 16:50:41 +0200
commit57070797e3eb2611212abf0e5f4b5086a3d00278 (patch)
tree662f04bbef9bd55499f5c4adaadd73b73c8ad099 /src/include
parentRemove debugging call to getchar() (diff)
downloadipxe-57070797e3eb2611212abf0e5f4b5086a3d00278.tar.gz
ipxe-57070797e3eb2611212abf0e5f4b5086a3d00278.tar.xz
ipxe-57070797e3eb2611212abf0e5f4b5086a3d00278.zip
Optimise ISAPNP_READ_PORT_STEP
Diffstat (limited to 'src/include')
-rw-r--r--src/include/isapnp.h8
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