From 0e7f69a873ac7dc24f696d15b2f01d474df26395 Mon Sep 17 00:00:00 2001 From: "Labun, Marcin" Date: Tue, 17 Apr 2012 12:30:50 +1000 Subject: [PATCH] imsm: display maximum volumes per controller and array Display maximum volumes per array and per controller in --detail-platform command. Signed-off-by: Marcin Labun Signed-off-by: NeilBrown --- super-intel.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/super-intel.c b/super-intel.c index ed7792dc..088e6bc1 100644 --- a/super-intel.c +++ b/super-intel.c @@ -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; } -- 2.39.2