diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2011-03-09 16:58:21 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-10 01:56:12 -0800 |
commit | d4894f3ea7375dd9492b5d3d2ecb0b6e4bdb604e (patch) | |
tree | a538179ac50d080a4240f7f9da77655d4b40160c /include/linux/pci.h | |
parent | 01c3a3920f9f78866420b2004602944fca45083a (diff) | |
download | op-kernel-dev-d4894f3ea7375dd9492b5d3d2ecb0b6e4bdb604e.zip op-kernel-dev-d4894f3ea7375dd9492b5d3d2ecb0b6e4bdb604e.tar.gz |
tg3: Add code to verify RODATA checksum of VPD
This patch adds code to verify the checksum stored in the "RV" info
keyword of the RODATA VPD section.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 559d028..ff5bccb8 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -1479,6 +1479,7 @@ void pci_request_acs(void); #define PCI_VPD_RO_KEYWORD_PARTNO "PN" #define PCI_VPD_RO_KEYWORD_MFR_ID "MN" #define PCI_VPD_RO_KEYWORD_VENDOR0 "V0" +#define PCI_VPD_RO_KEYWORD_CHKSUM "RV" /** * pci_vpd_lrdt_size - Extracts the Large Resource Data Type length |