tg3: Add code to verify RODATA checksum of VPD
commitd4894f3ea7375dd9492b5d3d2ecb0b6e4bdb604e
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 9 Mar 2011 16:58:21 +0000 (9 16:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Mar 2011 09:56:12 +0000 (10 01:56 -0800)
treea538179ac50d080a4240f7f9da77655d4b40160c
parent01c3a3920f9f78866420b2004602944fca45083a
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>
drivers/net/tg3.c
include/linux/pci.h