]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
imsm: update name in --detail-platform
authorArtur Paszkiewicz <artur.paszkiewicz@intel.com>
Tue, 16 Jan 2018 11:23:09 +0000 (12:23 +0100)
committerJes Sorensen <jsorensen@fb.com>
Sun, 21 Jan 2018 21:17:27 +0000 (16:17 -0500)
For IMSM enterprise firmware starting with major version 6, present the
platform name as Intel VROC.

Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
super-intel.c

index c55802f15862a8d5d9ee27944c8eaa5e61086ea5..c4a5a1beffa6f3d4e03199fc7f8bae57471acd7a 100644 (file)
@@ -2369,6 +2369,8 @@ static void print_imsm_capability(const struct imsm_orom *orom)
        printf("       Platform : Intel(R) ");
        if (orom->capabilities == 0 && orom->driver_features == 0)
                printf("Matrix Storage Manager\n");
+       else if (imsm_orom_is_enterprise(orom) && orom->major_ver >= 6)
+               printf("Virtual RAID on CPU\n");
        else
                printf("Rapid Storage Technology%s\n",
                        imsm_orom_is_enterprise(orom) ? " enterprise" : "");