[packages/cciss_vol_status] add new-ids patch from debian

glen glen at pld-linux.org
Mon Dec 28 16:18:22 CET 2015


commit 8c228247c688ebcf5a809712c68805f8824aab48
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Dec 28 17:17:47 2015 +0200

    add new-ids patch from debian

 cciss_vol_status.spec |  4 ++-
 new-ids.patch         | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+), 1 deletion(-)
---
diff --git a/cciss_vol_status.spec b/cciss_vol_status.spec
index 816da98..fe22466 100644
--- a/cciss_vol_status.spec
+++ b/cciss_vol_status.spec
@@ -2,11 +2,12 @@ Summary:	Shows status of logical drives attached to HP SmartArray controllers
 Summary(pl.UTF-8):	Wyświetla status logicznych dysków stworzonych w kontrolerach HP SmartArray
 Name:		cciss_vol_status
 Version:	1.11
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Applications/System
 Source0:	http://downloads.sourceforge.net/cciss/%{name}-%{version}.tar.gz
 # Source0-md5:	e97de30e79874fb479d766c638421483
+Patch0:		new-ids.patch
 URL:		http://cciss.sourceforge.net/#cciss_utils
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -24,6 +25,7 @@ dysków kontrolera Smart Array jak również MSA1000.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__aclocal}
diff --git a/new-ids.patch b/new-ids.patch
new file mode 100644
index 0000000..2f291e7
--- /dev/null
+++ b/new-ids.patch
@@ -0,0 +1,81 @@
+Origin: http://sources.debian.net/data/main/c/cciss-vol-status/1.11-3/debian/patches/new-ids
+Description: Add new PCI IDs and update names
+Author: Christian Hofstaedtler <zeha at debian.org>
+Forwarded: no
+Last-Update: 2014-07-05
+
+Index: cciss-vol-status/cciss_vol_status.c
+===================================================================
+--- cciss-vol-status.orig/cciss_vol_status.c
++++ cciss-vol-status/cciss_vol_status.c
+@@ -139,15 +139,12 @@ struct smartarray_id_t {
+ 	{ 0x3223103C, "Smart Array P800",	0, 1},
+ 	{ 0x3237103c, "Smart Array E500",	0, 1},
+ 	{ 0x323D103C, "Smart Array P700m",	0, 1},
++	/* start of hpsa list */
+ 	{ 0x3241103C, "Smart Array P212",	0, 1},
+ 	{ 0x3243103C, "Smart Array P410",	0, 1},
+ 	{ 0x3245103C, "Smart Array P410i",	0, 1},
+ 	{ 0x3247103C, "Smart Array P411",	0, 1},
+ 	{ 0x3249103C, "Smart Array P812",	0, 1},
+-	{ 0xe0110e11, "HP MSA500",		1, 0}, /* aka Smart Array CL */
+-	{ 0xe0200e11, "HP MSA500 G2",		1, 0},
+-	{ 0xe0300e11, "HP MSA20",		1, 0},
+-	{ 0x3118103c, "HP B110i",		0, 1},
+ 	{ 0x324A103C, "Smart Array P712m", 0, 1},
+ 	{ 0x324B103C, "Smart Array P711m", 0, 1},
+ 	{ 0x3350103C, "Smart Array P222", 0, 1},
+@@ -157,15 +154,44 @@ struct smartarray_id_t {
+ 	{ 0x3354103C, "Smart Array P420i", 0, 1},
+ 	{ 0x3355103C, "Smart Array P220i", 0, 1},
+ 	{ 0x3356103C, "Smart Array P721m", 0, 1},
+-	{ 0x1920103C, "Smart Array", 0, 1},
+-	{ 0x1921103C, "Smart Array", 0, 1},
+-	{ 0x1922103C, "Smart Array", 0, 1},
+-	{ 0x1923103C, "Smart Array", 0, 1},
+-	{ 0x1924103C, "Smart Array", 0, 1},
+-	{ 0x1925103C, "Smart Array", 0, 1},
+-	{ 0x1926103C, "Smart Array", 0, 1},
+-	{ 0x1928103C, "Smart Array", 0, 1},
+-	{ 0x334D103C, "Smart Array P822se", 0, 1},
++	{ 0x1920103C, "Smart Array P430i", 0, 1},
++	{ 0x1921103C, "Smart Array P830i", 0, 1},
++	{ 0x1922103C, "Smart Array P430", 0, 1},
++	{ 0x1923103C, "Smart Array P431", 0, 1},
++	{ 0x1924103C, "Smart Array P830", 0, 1},
++	{ 0x1925103C, "Smart Array P831", 0, 1},
++	{ 0x1926103C, "Smart Array P731m", 0, 1},
++	{ 0x1928103C, "Smart Array P230i", 0, 1},
++	{ 0x1929103C, "Smart Array P530", 0, 1},
++	{ 0x192A103C, "Smart Array P531", 0, 1},
++	{ 0x21BD103C, "Smart Array P244br", 0, 1},
++	{ 0x21BE103C, "Smart Array P741m", 0, 1},
++	{ 0x21BF103C, "Smart HBA H240ar", 0, 1},
++	{ 0x21C0103C, "Smart Array P440ar", 0, 1},
++	{ 0x21C1103C, "Smart Array P840ar", 0, 1},
++	{ 0x21C2103C, "Smart Array P440", 0, 1},
++	{ 0x21C3103C, "Smart Array P441", 0, 1},
++	{ 0x21C4103C, "Smart Array", 0, 1},
++	{ 0x21C5103C, "Smart Array P841", 0, 1},
++	{ 0x21C6103C, "Smart HBA H244br", 0, 1},
++	{ 0x21C7103C, "Smart HBA H240", 0, 1},
++	{ 0x21C8103C, "Smart HBA H241", 0, 1},
++	{ 0x21C9103C, "Smart Array", 0, 1},
++	{ 0x21CA103C, "Smart Array P246br", 0, 1},
++	{ 0x21CB103C, "Smart Array P840", 0, 1},
++	{ 0x21CC103C, "Smart Array", 0, 1},
++	{ 0x21CD103C, "Smart Array", 0, 1},
++	{ 0x21CE103C, "Smart HBA", 0, 1},
++	{ 0x00761590, "HP Storage P1224 Array Controller", 0, 1}, /* VID = 3PAR */
++	{ 0x00871590, "HP Storage P1224e Array Controller", 0, 1},
++	{ 0x007D1590, "HP Storage P1228 Array Controller", 0, 1},
++	{ 0x00881590, "HP Storage P1228e Array Controller", 0, 1},
++	{ 0x333f103c, "HP StorageWorks 1210m Array Controller", 0, 1},
++	/* end of hpsa list */
++	{ 0xe0110e11, "HP MSA500",		1, 0}, /* aka Smart Array CL */
++	{ 0xe0200e11, "HP MSA500 G2",		1, 0},
++	{ 0xe0300e11, "HP MSA20",		1, 0},
++	{ 0x3118103c, "HP B110i",		0, 1},
+ 	{ 0x00451590, "Dynamic Smart Array B320i", 0, 1},
+ 	{ 0x00471590, "Dynamic Smart Array B320i", 0, 1}, 
+ 	{ 0x00481590, "Dynamic Smart Array B120i", 0, 1},
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cciss_vol_status.git/commitdiff/8c228247c688ebcf5a809712c68805f8824aab48



More information about the pld-cvs-commit mailing list