summaryrefslogtreecommitdiff
path: root/util/ipmidir.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-09-14 12:27:56 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-09-14 12:27:56 +0200
commitcce57c35b301d83ded5e5eaed9705744cffcfb56 (patch)
tree29dc5c93b1bc45be42e68f00b81c1106c3935862 /util/ipmidir.h
parent13dc8738dcd4739941735eab4d1956ccce770525 (diff)
parent808dd89a2beae6ab1d29d35f6119ad5b36969589 (diff)
Merge branch 'feature/upstream' into develop
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)