[cciss_vol_status] Add new device IDs

Joshua Roys roysjosh at fedoraproject.org
Tue Jul 10 14:07:26 UTC 2012


commit 325be162e824dc374190f0cd86fce23519f82508
Author: Joshua Roys <roysjosh at gmail.com>
Date:   Tue Jul 10 10:06:16 2012 -0400

    Add new device IDs

 cciss_vol_status.spec |    7 ++++++-
 new-device-ids.patch  |   44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+), 1 deletions(-)
---
diff --git a/cciss_vol_status.spec b/cciss_vol_status.spec
index 76743aa..9f8d8f8 100644
--- a/cciss_vol_status.spec
+++ b/cciss_vol_status.spec
@@ -1,12 +1,13 @@
 Name:           cciss_vol_status
 Version:        1.09
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Show status of logical drives attached to HP Smartarray controllers
 
 Group:          Applications/System
 License:        GPLv2+
 URL:            http://cciss.sourceforge.net/#cciss_utils
 Source0:        http://downloads.sourceforge.net/cciss/%{name}-%{version}.tar.gz
+Patch0:         new-device-ids.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
@@ -16,6 +17,7 @@ Smart Array controllers and also fibre channel attached MSA1000.
 
 %prep
 %setup -q
+%patch0 -p1
 
 
 %build
@@ -40,6 +42,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Jul 10 2012 Joshua Roys <roysjosh at gmail.com> - 1.09-4
+- add new device IDs (use patch from https://raw.github.com/zeha/cciss-vol-status/master/debian/patches/device_ids)
+
 * Thu Jan 12 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.09-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/new-device-ids.patch b/new-device-ids.patch
new file mode 100644
index 0000000..419296f
--- /dev/null
+++ b/new-device-ids.patch
@@ -0,0 +1,44 @@
+Description: Add P71Xm and Gen8 hardware IDs
+Author: Christian Hofstaedtler <christian at hofstaedtler.name>
+Forwarded: no
+Last-Update: 2012-07-04
+
+Based on a patch by Dean Hamstead. Further device IDs extracted
+from FreeBSD commit r230588.
+
+Index: cciss-vol-status/cciss_vol_status.c
+===================================================================
+--- cciss-vol-status.orig/cciss_vol_status.c	2012-07-04 22:58:01.419398220 +0200
++++ cciss-vol-status/cciss_vol_status.c	2012-07-04 23:20:21.850109199 +0200
+@@ -131,6 +131,15 @@
+ 	{ 0x3245103C, "Smart Array P410i",	0, 1},
+ 	{ 0x3247103C, "Smart Array P411",	0, 1},
+ 	{ 0x3249103C, "Smart Array P812",	0, 1},
++	{ 0x324A103C, "Smart Array P712m",	0, 1},
++	{ 0x324B103C, "Smart Array P711m",	0, 1},
++	{ 0x3350103C, "Smart Array P222",	0, 1},
++	{ 0x3351103C, "Smart Array P420",	0, 1},
++	{ 0x3352103C, "Smart Array P421",	0, 1},
++	{ 0x3353103C, "Smart Array P822",	0, 1},
++	{ 0x3354103C, "Smart Array P420i",	0, 1},
++	{ 0x3355103C, "Smart Array P220i",	0, 1},
++	{ 0x3356103C, "Smart Array P721m",	0, 1},
+ 	{ 0xe0110e11, "HP MSA500",		1, 0}, /* aka Smart Array CL */
+ 	{ 0xe0200e11, "HP MSA500 G2",		1, 0},
+ 	{ 0xe0300e11, "HP MSA20",		1, 0},
+@@ -1217,6 +1226,15 @@
+ 		"HP      P410i",
+ 		"HP      P411",
+ 		"HP      P812",
++		"HP      P712m",
++		"HP      P711m",
++		"HP      P222",
++		"HP      P420",
++		"HP      P421",
++		"HP      P822",
++		"HP      P420i",
++		"HP      P220i",
++		"HP      P721m",
+ 		NULL,
+ };
+ 


More information about the scm-commits mailing list