PCI: Add new PCI_VPD_RO_KEYWORD_SERIALNO macro
authorVasundhara Volam <vasundhara-v.volam@broadcom.com>
Fri, 27 Mar 2020 09:35:32 +0000 (15:05 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Mar 2020 22:34:42 +0000 (15:34 -0700)
This patch adds a new macro for serial number keyword.

Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/pci.h

index fc54b8922e66991042cc8a5452cea9b2322968c7..a048fba311d2ebf10e98ec9a2fda82fc70ffabba 100644 (file)
@@ -2184,6 +2184,7 @@ int pci_enable_atomic_ops_to_root(struct pci_dev *dev, u32 cap_mask);
 #define PCI_VPD_INFO_FLD_HDR_SIZE      3
 
 #define PCI_VPD_RO_KEYWORD_PARTNO      "PN"
+#define PCI_VPD_RO_KEYWORD_SERIALNO    "SN"
 #define PCI_VPD_RO_KEYWORD_MFR_ID      "MN"
 #define PCI_VPD_RO_KEYWORD_VENDOR0     "V0"
 #define PCI_VPD_RO_KEYWORD_CHKSUM      "RV"