diff mbox series

hdata: Add new "smp-cable-connector" VPD keyword

Message ID 20200728122118.12800-1-klaus@linux.vnet.ibm.com
State New
Headers show
Series hdata: Add new "smp-cable-connector" VPD keyword | expand

Commit Message

Klaus Heinrich Kiwi July 28, 2020, 12:21 p.m. UTC
Recent FSP versions are defining a new VPD keyword
'SN' that brings SMP Cable Connector FRU info.

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
---
 hdata/vpd.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Vasant Hegde July 29, 2020, 5:09 a.m. UTC | #1
On 7/28/20 5:51 PM, Klaus Heinrich Kiwi wrote:
> Recent FSP versions are defining a new VPD keyword

> 'SN' that brings SMP Cable Connector FRU info.

Thanks for the fix.

Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>

-Vasant

> 
> Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
> ---
>   hdata/vpd.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/hdata/vpd.c b/hdata/vpd.c
> index 3c480b444..010f59660 100644
> --- a/hdata/vpd.c
> +++ b/hdata/vpd.c
> @@ -167,6 +167,7 @@ static const struct vpd_key_map vpd_key_table[] = {
>   	{"SD", "sas-connector"},
>   	{"SI", "scsi-ide-converter"},
>   	{"SL", "phb-slot"},
> +	{"SN", "smp-cable-connector"},
>   	{"SP", "service-processor"},
>   	{"SR", "service-card"},
>   	{"SS", "soft-switch"},
>
diff mbox series

Patch

diff --git a/hdata/vpd.c b/hdata/vpd.c
index 3c480b444..010f59660 100644
--- a/hdata/vpd.c
+++ b/hdata/vpd.c
@@ -167,6 +167,7 @@  static const struct vpd_key_map vpd_key_table[] = {
 	{"SD", "sas-connector"},
 	{"SI", "scsi-ide-converter"},
 	{"SL", "phb-slot"},
+	{"SN", "smp-cable-connector"},
 	{"SP", "service-processor"},
 	{"SR", "service-card"},
 	{"SS", "soft-switch"},