diff options
author | Robert Mustacchi <rm@fingolfin.org> | 2022-06-03 00:02:00 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@fingolfin.org> | 2022-07-13 13:53:32 +0000 |
commit | 6c489a5260bcb010bd6a712e312b0aa29cd591b8 (patch) | |
tree | d42cd0c9bab522c3051b6dd815e8da4bee704cce | |
parent | d5ba932774e3e5d63ba25284cae7bb0e8a0b5d1d (diff) | |
download | illumos-joyent-6c489a5260bcb010bd6a712e312b0aa29cd591b8.tar.gz |
14734 pcieadm decodes expansion ROM address incorrectly
Reviewed by: Dan McDonald <danmcd@mnx.io>
Reviewed by: Andy Fiddaman <andy@omnios.org>
Approved by: Garrett D'Amore <garrett@damore.org>
-rw-r--r-- | usr/src/cmd/pcieadm/pcieadm_cfgspace.c | 11 |
1 files changed, 10 insertions, 1 deletions
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 } }; |