]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
imsm: display maximum volumes per controller and array
authorLabun, Marcin <Marcin.Labun@intel.com>
Tue, 17 Apr 2012 02:30:50 +0000 (12:30 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 17 Apr 2012 02:30:50 +0000 (12:30 +1000)
Display maximum volumes per array and per controller
in --detail-platform command.

Signed-off-by: Marcin Labun <marcin.labun@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
super-intel.c

index ed7792dc6333d7c177036c7d2dffa9b5968f9008..088e6bc18e5b1274db1861d9d2978d50db9457ff 100644 (file)
@@ -1783,12 +1783,13 @@ static void print_imsm_capability(const struct imsm_orom *orom)
               imsm_orom_has_chunk(orom, 1024*16) ? " 16M" : "",
               imsm_orom_has_chunk(orom, 1024*32) ? " 32M" : "",
               imsm_orom_has_chunk(orom, 1024*64) ? " 64M" : "");
-       printf("      Max Disks : %d\n", orom->tds);
-       printf("    Max Volumes : %d\n", orom->vpa);
        printf("    2TB volumes :%s supported\n",
               (orom->attr & IMSM_OROM_ATTR_2TB)?"":" not");
        printf("      2TB disks :%s supported\n",
               (orom->attr & IMSM_OROM_ATTR_2TB_DISK)?"":" not");
+       printf("      Max Disks : %d\n", orom->tds);
+       printf("    Max Volumes : %d per array, %d per controller\n",
+              orom->vpa, orom->vphba);
        return;
 }