summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-10-30 18:18:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-10-30 18:18:10 +0000
commitd69ba5aac639b64ce4b5622748a79da0fa093770 (patch)
tree503edbf78d854690c5643ad2adc152c63b8498b5
parentcb346982136c45ba43992abe8a6bbbf4d90a630c (diff)
correct interrupt status bits; patfbsd@davenulle.org
-rw-r--r--sys/arch/i386/pci/glxsb.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/arch/i386/pci/glxsb.c b/sys/arch/i386/pci/glxsb.c
index e405bb168b4..4465fd73971 100644
--- a/sys/arch/i386/pci/glxsb.c
+++ b/sys/arch/i386/pci/glxsb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: glxsb.c,v 1.16 2009/08/05 07:44:07 blambert Exp $ */
+/* $OpenBSD: glxsb.c,v 1.17 2009/10/30 18:18:09 deraadt Exp $ */
/*
* Copyright (c) 2006 Tom Cosgrove <tom@openbsd.org>
@@ -110,15 +110,15 @@
#define SB_CTL_CBC 0x0020 /* CBC (0 is ECB) */
/* For SB_AES_INT */
-#define SB_AI_DISABLE_AES_A 0x0001 /* Disable AES A compl int */
-#define SB_AI_ENABLE_AES_A 0x0000 /* Enable AES A compl int */
-#define SB_AI_DISABLE_AES_B 0x0002 /* Disable AES B compl int */
-#define SB_AI_ENABLE_AES_B 0x0000 /* Enable AES B compl int */
-#define SB_AI_DISABLE_EEPROM 0x0004 /* Disable EEPROM op comp int */
-#define SB_AI_ENABLE_EEPROM 0x0000 /* Enable EEPROM op compl int */
-#define SB_AI_AES_A_COMPLETE 0x0100 /* AES A operation complete */
-#define SB_AI_AES_B_COMPLETE 0x0200 /* AES B operation complete */
-#define SB_AI_EEPROM_COMPLETE 0x0400 /* EEPROM operation complete */
+#define SB_AI_DISABLE_AES_A 0x00001 /* Disable AES A compl int */
+#define SB_AI_ENABLE_AES_A 0x00000 /* Enable AES A compl int */
+#define SB_AI_DISABLE_AES_B 0x00002 /* Disable AES B compl int */
+#define SB_AI_ENABLE_AES_B 0x00000 /* Enable AES B compl int */
+#define SB_AI_DISABLE_EEPROM 0x00004 /* Disable EEPROM op comp int */
+#define SB_AI_ENABLE_EEPROM 0x00000 /* Enable EEPROM op compl int */
+#define SB_AI_AES_A_COMPLETE 0x10000 /* AES A operation complete */
+#define SB_AI_AES_B_COMPLETE 0x20000 /* AES B operation complete */
+#define SB_AI_EEPROM_COMPLETE 0x40000 /* EEPROM operation complete */
#define SB_RNS_TRNG_VALID 0x0001 /* in SB_RANDOM_NUM_STATUS */