From 6c489a5260bcb010bd6a712e312b0aa29cd591b8 Mon Sep 17 00:00:00 2001 From: Robert Mustacchi Date: Fri, 3 Jun 2022 00:02:00 +0000 Subject: 14734 pcieadm decodes expansion ROM address incorrectly Reviewed by: Dan McDonald Reviewed by: Andy Fiddaman Approved by: Garrett D'Amore --- usr/src/cmd/pcieadm/pcieadm_cfgspace.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/usr/src/cmd/pcieadm/pcieadm_cfgspace.c b/usr/src/cmd/pcieadm/pcieadm_cfgspace.c index 73841d4c23..bdc04bbe2d 100644 --- a/usr/src/cmd/pcieadm/pcieadm_cfgspace.c +++ b/usr/src/cmd/pcieadm/pcieadm_cfgspace.c @@ -989,8 +989,17 @@ static pcieadm_regdef_t pcieadm_regdef_bist[] = { static pcieadm_regdef_t pcieadm_regdef_exprom[] = { { 0, 0, "enable", "Enable", PRDV_STRVAL, .prd_val = { .prdv_strval = { "disabled", "enabled" } } }, + { 1, 3, "valsts", "Validation Status", PRDV_STRVAL, + .prd_val = { .prdv_strval = { "not supported", "in progress", + "valid contents, no trust test performed", + "valid and trusted contents", + "invalid contents", + "valid but untrusted contents", + "valid contents with warning, no trust test performed", + "valid and trusted contents with warning" } } }, + { 4, 7, "valdet", "Validation Details", PRDV_HEX }, { 11, 31, "addr", "Base Address", PRDV_HEX, - .prd_val = { .prdv_hex = { 21 } } }, + .prd_val = { .prdv_hex = { 11 } } }, { -1, -1, NULL } }; -- cgit v1.2.3