Optimise ISAPNP_READ_PORT_STEP
authorMichael Brown <mcb30@etherboot.org>
Sat, 16 Apr 2005 14:50:41 +0000 (14:50 +0000)
committerMichael Brown <mcb30@etherboot.org>
Sat, 16 Apr 2005 14:50:41 +0000 (14:50 +0000)
src/include/isapnp.h

index c66b411..4d7bc39 100644 (file)
                                         * 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