summaryrefslogtreecommitdiff
path: root/debian/patches/0125-nvidia-iana.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-08-07 12:21:21 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-08-07 12:21:21 +0200
commit99a4cc35ef702c3eabb92e799c75f198d781cc4d (patch)
treef4375d66e4670660a9080fc8df1cb2c2e474a456 /debian/patches/0125-nvidia-iana.patch
parenta0d16ef955c0d94685b5228c3fbe8b0bbc8825f2 (diff)
parentbd235ecf44621f77a90f6ef316b337e21a5d6c88 (diff)
Merge branch 'release/debian/1.8.18-6'debian/1.8.18-6
Diffstat (limited to 'debian/patches/0125-nvidia-iana.patch')
-rw-r--r--debian/patches/0125-nvidia-iana.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/debian/patches/0125-nvidia-iana.patch b/debian/patches/0125-nvidia-iana.patch
new file mode 100644
index 0000000..28276f8
--- /dev/null
+++ b/debian/patches/0125-nvidia-iana.patch
@@ -0,0 +1,36 @@
+Description: Add IANA ID for NVIDIA hardware
+ Add the NVIDIA IANA ID to the hardcoded list used in ipmitool <= 1.8.18.
+ After upstream commit "9d41136 ID:491 - Fetch vendor IDs from IANA", ipmitool
+ generates a list of vendor IDs dynamically at build time, so we can drop this
+ patch in future releases.
+Author: dann frazier <dannf@debian.org>
+Origin: backport
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903616
+Forwarded: not-needed
+Last-Update: 2018-07-11
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: ipmitool-1.8.18/include/ipmitool/ipmi.h
+===================================================================
+--- ipmitool-1.8.18.orig/include/ipmitool/ipmi.h
++++ ipmitool-1.8.18/include/ipmitool/ipmi.h
+@@ -279,6 +279,7 @@ typedef enum IPMI_OEM {
+ /* 4769 for [IBM Corporation] */
+ IPMI_OEM_IBM_4769 = 4769,
+ IPMI_OEM_MAGNUM = 5593,
++ IPMI_OEM_NVIDIA = 5703,
+ IPMI_OEM_TYAN = 6653,
+ IPMI_OEM_QUANTA = 7244,
+ IPMI_OEM_NEWISYS = 9237,
+Index: ipmitool-1.8.18/lib/ipmi_strings.c
+===================================================================
+--- ipmitool-1.8.18.orig/lib/ipmi_strings.c
++++ ipmitool-1.8.18/lib/ipmi_strings.c
+@@ -96,6 +96,7 @@ const struct valstr ipmi_oem_info[] = {
+ { IPMI_OEM_IBM_4769, "IBM Corporation" },
+ { IPMI_OEM_IBM_20301, "IBM eServer X" },
+ { IPMI_OEM_ADLINK_24339, "ADLINK Technology Inc." },
++ { IPMI_OEM_NVIDIA, "NVIDIA Corporation" },
+ { 0xffff , NULL },
+ };
+