Browse Source

[pic8259] Fix definitions for "read IRR" and "read ISR" commands

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 8 years ago
parent
commit
bd6255c7be
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/arch/x86/include/pic8259.h

+ 2
- 2
src/arch/x86/include/pic8259.h View File

37
 
37
 
38
 /* Register command values */
38
 /* Register command values */
39
 #define OCW3_ID 0x08
39
 #define OCW3_ID 0x08
40
-#define OCW3_READ_IRR 0x03
41
-#define OCW3_READ_ISR 0x02
40
+#define OCW3_READ_IRR 0x02
41
+#define OCW3_READ_ISR 0x03
42
 #define ICR_EOI_NON_SPECIFIC 0x20
42
 #define ICR_EOI_NON_SPECIFIC 0x20
43
 #define ICR_EOI_NOP 0x40
43
 #define ICR_EOI_NOP 0x40
44
 #define ICR_EOI_SPECIFIC 0x60
44
 #define ICR_EOI_SPECIFIC 0x60

Loading…
Cancel
Save