summaryrefslogtreecommitdiff
path: root/util/subs.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-05-08 23:32:29 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-05-08 23:32:29 +0200
commit38d4a182b7ccc4a683c1f9bcbe1da7779cc14832 (patch)
tree974665e1baf08a8ad70f2fbad970102bd1e7a8c8 /util/subs.c
parent69786de63e325b2f4d9f1afc49b30dcf091b5220 (diff)
parent55adddbc16f65732b57ab8585c47001fced91d77 (diff)
Merge tag 'upstream/2.9.9'
Upstream version 2.9.9
Diffstat (limited to 'util/subs.c')
-rw-r--r--util/subs.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/util/subs.c b/util/subs.c
index 13e1603..135fcd9 100644
--- a/util/subs.c
+++ b/util/subs.c
@@ -403,7 +403,7 @@ int get_errno(void)
/* For a list of all IANA enterprise mfg vendor numbers,
* see http://www.iana.org/assignments/enterprise-numbers
* Product numbers are different for each mfg vendor. */
-#define N_MFG 43
+#define N_MFG 44
static struct { int val; char *pstr; } mfgs[N_MFG] = {
{0, " "},
{0x0000BA, "Toshiba"},
@@ -424,6 +424,7 @@ static struct { int val; char *pstr; } mfgs[N_MFG] = {
{ 7154, "IPMI forum"},
{ 11129, "Google"},
{ 12634, "PICMG"},
+ { 15370, "Giga-Byte"}, /*0x3C0A*/
{ 16394, "Pigeon Point"},
{ 20569, "Inventec ESC"},
{ 24673, "ServerEngines"},
@@ -608,7 +609,7 @@ static int sysinfo_has_len(uchar enc, int vendor)
return(rv);
}
-int get_device_guid(char *pbuf, int *szbuf)
+int get_device_guid(uchar *pbuf, int *szbuf)
{
int rv = -1;
//uchar idata[8];
@@ -668,7 +669,7 @@ int get_sysinfo(uchar parm, uchar set, uchar block, uchar *pbuf, int *szbuf)
return(rv);
}
-int set_system_info(uchar parm, uchar *pbuf, int szbuf)
+int set_system_info(uchar parm, char *pbuf, int szbuf)
{
uchar idata[32];
uchar rdata[8];