summaryrefslogtreecommitdiff
path: root/util/oem_kontron.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/oem_kontron.c')
-rw-r--r--util/oem_kontron.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/util/oem_kontron.c b/util/oem_kontron.c
index 891075a..b8fedf7 100644
--- a/util/oem_kontron.c
+++ b/util/oem_kontron.c
@@ -73,6 +73,8 @@ typedef uint32_t socklen_t;
#define FRU_TYPE_COMPONENT 0x01
#define FRU_TYPE_BASEBOARD 0x07
+static char * progver = "3.04";
+static char * progname = "ikontronoem";
const struct valstr ktc5520_post[] = { /*from EAS*/
{ 0x0003, "Start POST Init" },
{ 0x0004, "Check CMOS" },
@@ -1103,4 +1105,11 @@ int decode_sensor_kontron(uchar *sdr,uchar *reading,char *pstring, int slen)
return(rv);
}
+#ifdef METACOMMAND
+int i_kontronoem(int argc, char **argv)
+{
+ printf("%s ver %s\n", progname,progver);
+ return(0);
+}
+#endif
/* end oem_kontron.c */