summaryrefslogtreecommitdiff
path: root/util/ipmidir.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-09-14 12:27:22 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-09-14 12:27:22 +0200
commit0e9b185152b56ff33fe8a2a89a4f84923a308300 (patch)
treea5921c0b328a249f4978fa27c641e13512f16d44 /util/ipmidir.h
parentc71bf8390b9a06fa498d2cb4f8a4924309f4875e (diff)
New upstream version 3.1.7upstream/3.1.7
Diffstat (limited to 'util/ipmidir.h')
-rw-r--r--util/ipmidir.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/util/ipmidir.h b/util/ipmidir.h
index 079c6b6..5a5b4c1 100644
--- a/util/ipmidir.h
+++ b/util/ipmidir.h
@@ -157,16 +157,16 @@ unsigned int baseAddr;
// SMBus 1.0
#define AMD_SMB_1_STATUS 0x00 // SMBus global status
-#define AMD_SMB_1_STATUS_SMBS_BSY (1<11)
-#define AMD_SMB_1_STATUS_SMBA_STS (1<10)
-#define AMD_SMB_1_STATUS_HSLV_STS (1<9)
-#define AMD_SMB_1_STATUS_SNP_STS (1<8)
-#define AMD_SMB_1_STATUS_TO_STS (1<5)
-#define AMD_SMB_1_STATUS_HCYC_STS (1<4)
-#define AMD_SMB_1_STATUS_HST_BSY (1<3)
-#define AMD_SMB_1_STATUS_PERR_STS (1<2)
-#define AMD_SMB_1_STATUS_COL_STS (1<1)
-#define AMD_SMB_1_STATUS_ABRT_STS (1<0)
+#define AMD_SMB_1_STATUS_SMBS_BSY (1<<11)
+#define AMD_SMB_1_STATUS_SMBA_STS (1<<10)
+#define AMD_SMB_1_STATUS_HSLV_STS (1<<9)
+#define AMD_SMB_1_STATUS_SNP_STS (1<<8)
+#define AMD_SMB_1_STATUS_TO_STS (1<<5)
+#define AMD_SMB_1_STATUS_HCYC_STS (1<<4)
+#define AMD_SMB_1_STATUS_HST_BSY (1<<3)
+#define AMD_SMB_1_STATUS_PERR_STS (1<<2)
+#define AMD_SMB_1_STATUS_COL_STS (1<<1)
+#define AMD_SMB_1_STATUS_ABRT_STS (1<<0)
#define AMD_SMB_1_STATUS_ALL_ERRS AMD_SMB_1_STATUS_TO_STS|AMD_SMB_1_STATUS_HST_BSY|AMD_SMB_1_STATUS_PERR_STS|AMD_SMB_1_STATUS_COL_STS
#define AMD_SMB_1_CTL 0x02 // SMBus global control
#define AMD_SMB_1_CTL_SMBA_EN (1<<10)