Kaynağa Gözat

Optimise ISAPNP_READ_PORT_STEP

tags/v0.9.3
Michael Brown 19 yıl önce
ebeveyn
işleme
57070797e3
1 değiştirilmiş dosya ile 7 ekleme ve 1 silme
  1. 7
    1
      src/include/isapnp.h

+ 7
- 1
src/include/isapnp.h Dosyayı Görüntüle

@@ -53,7 +53,13 @@
53 53
 					 * comment.  0x203 probably
54 54
 					 * clashes with something. */
55 55
 #define ISAPNP_READ_PORT_MAX	0x3ff
56
-#define ISAPNP_READ_PORT_STEP	0x08	/* Can be any multiple of 4 */
56
+#define ISAPNP_READ_PORT_STEP	0x10	/* Can be any multiple of 4
57
+					 * according to the spec, but
58
+					 * since ISA I/O addresses are
59
+					 * allocated in blocks of 16,
60
+					 * it makes no sense to use
61
+					 * any value less than 16.
62
+					 */
57 63
 
58 64
 /* Registers */
59 65
 #define ISAPNP_READPORT			0x00

Loading…
İptal
Kaydet