Hello community,

here is the log from the commit of package dmidecode for openSUSE:Factory 
checked in at 2014-01-14 21:45:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dmidecode (Old)
 and      /work/SRC/openSUSE:Factory/.dmidecode.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dmidecode"

Changes:
--------
--- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes      2013-04-26 
19:20:27.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.dmidecode.new/dmidecode.changes 2014-01-14 
21:45:48.000000000 +0100
@@ -1,0 +2,10 @@
+Mon Jan 13 17:31:16 CET 2014 - [email protected]
+
+- dmidecode-1.176-SMBIOS-2.8-is-supported.patch: Bump
+  SUPPORTED_SMBIOS_VER so that SMBIOS 2.8 implementations don't
+  trigger a warning.
+- dmidecode-1.177-decode-pcie3-slot-id.patch: Decode ID of PCI
+  Express 3 slots (DMI type 9.)
+  https://savannah.nongnu.org/bugs/?40178
+
+-------------------------------------------------------------------

New:
----
  dmidecode-1.176-SMBIOS-2.8-is-supported.patch
  dmidecode-1.177-decode-pcie3-slot-id.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dmidecode.spec ++++++
--- /var/tmp/diff_new_pack.sUpZmq/_old  2014-01-14 21:45:49.000000000 +0100
+++ /var/tmp/diff_new_pack.sUpZmq/_new  2014-01-14 21:45:49.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package dmidecode
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,8 @@
 Source:         
http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.bz2
 Patch1:         dmidecode-1.173-drop-cast.patch
 Patch2:         dmidecode-1.175-fix-SMBIOS-2.8.0.patch
+Patch3:         dmidecode-1.176-SMBIOS-2.8-is-supported.patch
+Patch4:         dmidecode-1.177-decode-pcie3-slot-id.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  %ix86 ia64 x86_64 %arm aarch64
 Obsoletes:      pmtools < 20071117
@@ -49,6 +51,8 @@
 %setup
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 %build
 make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}

++++++ dmidecode-1.176-SMBIOS-2.8-is-supported.patch ++++++
Subject: Bump SUPPORTED_SMBIOS_VER to 0x0208
Upstream: yes, 1.176

Bump SUPPORTED_SMBIOS_VER so that SMBIOS 2.8 implementations don't trigger
a warning.
---
 dmidecode.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/dmidecode.c
+++ b/dmidecode.c
@@ -69,7 +69,7 @@
 #define out_of_spec "<OUT OF SPEC>"
 static const char *bad_index = "<BAD INDEX>";
 
-#define SUPPORTED_SMBIOS_VER 0x0207
+#define SUPPORTED_SMBIOS_VER 0x0208
 
 /*
  * Type-independant Stuff
++++++ dmidecode-1.177-decode-pcie3-slot-id.patch ++++++
Subject: Decode ID of PCI Express 3 slots
Upstream: yes, 1.177

dmidecode.c: Decode ID of PCI Express 3 slots (DMI type 9).
This fixes Savannah bug #40178:
https://savannah.nongnu.org/bugs/?40178
---
 dmidecode.c |   12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

--- a/dmidecode.c
+++ b/dmidecode.c
@@ -2,7 +2,7 @@
  * DMI Decode
  *
  *   Copyright (C) 2000-2002 Alan Cox <[email protected]>
- *   Copyright (C) 2002-2010 Jean Delvare <[email protected]>
+ *   Copyright (C) 2002-2014 Jean Delvare <[email protected]>
  *
  *   This program is free software; you can redistribute it and/or modify
  *   it under the terms of the GNU General Public License as published by
@@ -1697,6 +1697,10 @@ static const char *dmi_slot_type(u8 code
                "PCI Express 3 x8",
                "PCI Express 3 x16" /* 0xB6 */
        };
+       /*
+        * Note to developers: when adding entries to these lists, check if
+        * function dmi_slot_id below needs updating too.
+        */
 
        if (code >= 0x01 && code <= 0x13)
                return type[code - 0x01];
@@ -1790,6 +1794,12 @@ static void dmi_slot_id(u8 code1, u8 cod
                case 0xAE: /* PCI Express 2 */
                case 0xAF: /* PCI Express 2 */
                case 0xB0: /* PCI Express 2 */
+               case 0xB1: /* PCI Express 3 */
+               case 0xB2: /* PCI Express 3 */
+               case 0xB3: /* PCI Express 3 */
+               case 0xB4: /* PCI Express 3 */
+               case 0xB5: /* PCI Express 3 */
+               case 0xB6: /* PCI Express 3 */
                        printf("%sID: %u\n", prefix, code1);
                        break;
                case 0x07: /* PCMCIA */
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to