From bd6255c7be152ea3451dcd6f4175e250bf755f67 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 25 Jan 2017 07:32:38 +0000 Subject: [PATCH] [pic8259] Fix definitions for "read IRR" and "read ISR" commands Signed-off-by: Michael Brown --- src/arch/x86/include/pic8259.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arch/x86/include/pic8259.h b/src/arch/x86/include/pic8259.h index f02e6290..dbec5fd2 100644 --- a/src/arch/x86/include/pic8259.h +++ b/src/arch/x86/include/pic8259.h @@ -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