pci: Add helper to find a VPD resource data type
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 26 Feb 2010 14:04:41 +0000 (14:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Feb 2010 08:43:32 +0000 (00:43 -0800)
commitb55ac1b22690d2e5b02a61cf6d69c2d66969c79d
treed336b38719dba482e2734f2091f5a60dfcb134b4
parent7ad506fa1adc2da3d394c562f09b8e1b3026c402
pci: Add helper to find a VPD resource data type

This patch adds the pci_vpd_find_tag() helper function to find VPD
resource data types in a buffer.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c
drivers/net/tg3.c
drivers/pci/Makefile
drivers/pci/vpd.c [new file with mode: 0644]
include/linux/pci.h