summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-bus-pci-devices-cciss
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2009-09-17 13:48:21 -0500
committerJens Axboe <jens.axboe@oracle.com>2009-10-01 21:15:44 +0200
commit3ff1111dc6e27524eeef267ab0ca9b5690594748 (patch)
tree200b62231c3c266ea3366c8200403c946c9dc481 /Documentation/ABI/testing/sysfs-bus-pci-devices-cciss
parentfa52bec9df974096f9eb0e42a0b890512c0a0036 (diff)
downloadblackbird-op-linux-3ff1111dc6e27524eeef267ab0ca9b5690594748.tar.gz
blackbird-op-linux-3ff1111dc6e27524eeef267ab0ca9b5690594748.zip
cciss: Add a "raid_level" attribute to each logical drive in /sys
and change get rid of some magic numbers in raid lavel decoding. Add raid_level attribute to each logical drive at /sys/devices/<dev>/ccissX/cXdY/raid_level for controller X, logical drive Y Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-bus-pci-devices-cciss')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-pci-devices-cciss7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-pci-devices-cciss b/Documentation/ABI/testing/sysfs-bus-pci-devices-cciss
index 5a6c8d36afc4..8d0260256168 100644
--- a/Documentation/ABI/testing/sysfs-bus-pci-devices-cciss
+++ b/Documentation/ABI/testing/sysfs-bus-pci-devices-cciss
@@ -45,3 +45,10 @@ Kernel Version: 2.6.31
Contact: iss_storagedev@hp.com
Description: Displays the 8-byte LUN ID used to address logical
drive Y of controller X.
+
+Where: /sys/bus/pci/devices/<dev>/ccissX/cXdY/raid_level
+Date: August 2009
+Kernel Version: 2.6.31
+Contact: iss_storagedev@hp.com
+Description: Displays the RAID level of logical drive Y of
+ controller X.
OpenPOWER on IntegriCloud