summaryrefslogtreecommitdiff
path: root/include/ipmitool/ipmi_dcmi.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2022-09-10 15:44:41 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2022-09-10 15:44:41 +0200
commita9ee361f27e0439530387765924574e5358c8a5c (patch)
tree3104aecc4d574f7d7bbb269223814586277b1797 /include/ipmitool/ipmi_dcmi.h
parent82ac6c87ce0b0af2fb8de25d70442fec406bb742 (diff)
New upstream version 1.8.19upstream/1.8.19upstream
Diffstat (limited to 'include/ipmitool/ipmi_dcmi.h')
-rw-r--r--include/ipmitool/ipmi_dcmi.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/include/ipmitool/ipmi_dcmi.h b/include/ipmitool/ipmi_dcmi.h
index 15a959f..c872f56 100644
--- a/include/ipmitool/ipmi_dcmi.h
+++ b/include/ipmitool/ipmi_dcmi.h
@@ -16,9 +16,7 @@
*
*/
-
-#ifndef IPMI_DCMI_H
-#define IPMI_DCMI_H
+#pragma once
#include <ipmitool/ipmi.h>
@@ -129,7 +127,7 @@ struct power_reading {
uint8_t state;
} __attribute__ ((packed));
-/* make a struct for the return from the capabilites command */
+/* make a struct for the return from the capabilities command */
struct capabilities {
uint8_t grp_id; /* first byte: Group Extension ID */
uint16_t conformance;
@@ -183,7 +181,7 @@ struct nm_discover {
uint8_t minor_rev;
} __attribute__ ((packed));
-/* Node Manager get capabilites command */
+/* Node Manager get capabilities command */
struct nm_capability {
uint8_t intel_id[3];
uint8_t max_settings;
@@ -236,7 +234,7 @@ struct nm_get_policy {
/* Node Manager set alert destination */
struct nm_set_alert {
uint8_t intel_id[3];
- uint8_t chan; /* 0:3 BMC chan, 4:6 reserved, bit 7=0 register alert reciever =1 invalidate */
+ uint8_t chan; /* 0:3 BMC chan, 4:6 reserved, bit 7=0 register alert receiver =1 invalidate */
uint8_t dest; /* lan destination */
uint8_t string; /* alert string selector */
} __attribute__ ((packed));
@@ -267,4 +265,3 @@ struct nm_suspend {
} __attribute__ ((packed));
int ipmi_nm_main(struct ipmi_intf * intf, int argc, char ** argv);
-#endif /*IPMI_DCMI_H*/