]> err.no Git - linux-2.6/commitdiff
[SCSI] raid_class.c - adding RAID10 and RAID10 defines
authorMoore, Eric <Eric.Moore@lsil.com>
Wed, 4 Jan 2006 21:58:43 +0000 (14:58 -0700)
committerJames Bottomley <jejb@mulgrave.(none)>
Thu, 12 Jan 2006 17:35:15 +0000 (11:35 -0600)
Adding defines for RAID10 and RAID50 levels, in preparation
of adding RAID Transport support in the mpt fusion drivers.
(BTW: IME is RAID10, and IM is RAID1).

Signed-off-by: Eric Moore <Eric.Moore@lsil.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/raid_class.c
include/linux/raid_class.h

index 5ec5f44602ac8ebd7d18aa1865523fc4873233df..50c398aab5575305fc725f4e8e8b819b3abfce37 100644 (file)
@@ -148,9 +148,11 @@ static struct {
        { RAID_LEVEL_LINEAR, "linear" },
        { RAID_LEVEL_0, "raid0" },
        { RAID_LEVEL_1, "raid1" },
+       { RAID_LEVEL_10, "raid10" },
        { RAID_LEVEL_3, "raid3" },
        { RAID_LEVEL_4, "raid4" },
        { RAID_LEVEL_5, "raid5" },
+       { RAID_LEVEL_50, "raid50" },
        { RAID_LEVEL_6, "raid6" },
 };
 
index 48831eac291075b31cb45d766cc8f76b6c9cdaac..d0dd38b3a2fd8b0c14ea47d540eb4de9361080b5 100644 (file)
@@ -31,9 +31,11 @@ enum raid_level {
        RAID_LEVEL_LINEAR,
        RAID_LEVEL_0,
        RAID_LEVEL_1,
+       RAID_LEVEL_10,
        RAID_LEVEL_3,
        RAID_LEVEL_4,
        RAID_LEVEL_5,
+       RAID_LEVEL_50,
        RAID_LEVEL_6,
 };