summaryrefslogtreecommitdiff
path: root/util/ipmidir.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-09-14 12:27:35 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-09-14 12:27:35 +0200
commit808dd89a2beae6ab1d29d35f6119ad5b36969589 (patch)
tree29dc5c93b1bc45be42e68f00b81c1106c3935862 /util/ipmidir.h
parent13dc8738dcd4739941735eab4d1956ccce770525 (diff)
parent0e9b185152b56ff33fe8a2a89a4f84923a308300 (diff)
Update upstream source from tag 'upstream/3.1.7'
Update to upstream version '3.1.7' with Debian dir 7d3f308e3ed6f413d39e2d1262518e82b3b486bc
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)