diff options
author | 2009-10-30 18:18:09 +0000 | |
---|---|---|
committer | 2009-10-30 18:18:09 +0000 | |
commit | d9471c9ce15c4cccc1d01ea6ed9d72a7823ba534 (patch) | |
tree | 84a624884578a48d56620fd82f692fff0e0f83dc | |
parent | KNOTE() after selwakeup() (diff) | |
download | wireguard-openbsd-d9471c9ce15c4cccc1d01ea6ed9d72a7823ba534.tar.xz wireguard-openbsd-d9471c9ce15c4cccc1d01ea6ed9d72a7823ba534.zip |
correct interrupt status bits; patfbsd@davenulle.org
-rw-r--r-- | sys/arch/i386/pci/glxsb.c | 20 |
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 */ |