david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Optimise ISAPNP_READ_PORT_STEP

This commit is contained in:
Michael Brown 2005-04-16 14:50:41 +00:00
parent 86d2127204
commit 57070797e3
1 changed files with 7 additions and 1 deletions

View File

@ -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