summaryrefslogtreecommitdiff
path: root/usr/src/cmd/fcinfo/printAttrs.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/fcinfo/printAttrs.c')
-rw-r--r--usr/src/cmd/fcinfo/printAttrs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/src/cmd/fcinfo/printAttrs.c b/usr/src/cmd/fcinfo/printAttrs.c
index 4f17f0236c..4961694526 100644
--- a/usr/src/cmd/fcinfo/printAttrs.c
+++ b/usr/src/cmd/fcinfo/printAttrs.c
@@ -21,6 +21,7 @@
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright 2020 RackTop Systems, Inc.
*/
@@ -139,6 +140,10 @@ printPortSpeed(HBA_PORTSPEED portSpeed) {
fprintf(stdout, "16Gb ");
foundSpeed = 1;
}
+ if ((portSpeed & HBA_PORTSPEED_32GBIT) == HBA_PORTSPEED_32GBIT) {
+ fprintf(stdout, "32Gb ");
+ foundSpeed = 1;
+ }
if ((portSpeed & HBA_PORTSPEED_NOT_NEGOTIATED)
== HBA_PORTSPEED_NOT_NEGOTIATED) {
fprintf(stdout, "not established ");