]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[pic8259] Fix definitions for "read IRR" and "read ISR" commands
authorMichael Brown <mcb30@ipxe.org>
Wed, 25 Jan 2017 07:32:38 +0000 (07:32 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 25 Jan 2017 07:37:04 +0000 (07:37 +0000)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/x86/include/pic8259.h

index f02e62909c28412f0f88099e6c3e07423591fe10..dbec5fd2ca27bb3ce00c716ac98a397d020c74f9 100644 (file)
@@ -37,8 +37,8 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
 
 /* Register command values */
 #define OCW3_ID 0x08
-#define OCW3_READ_IRR 0x03
-#define OCW3_READ_ISR 0x02
+#define OCW3_READ_IRR 0x02
+#define OCW3_READ_ISR 0x03
 #define ICR_EOI_NON_SPECIFIC 0x20
 #define ICR_EOI_NOP 0x40
 #define ICR_EOI_SPECIFIC 0x60