pci: Add helper to search for VPD keywords
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 26 Feb 2010 14:04:43 +0000 (14:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Feb 2010 08:43:33 +0000 (00:43 -0800)
commit4067a8541d397e9d6b443dd2ce0ecb78bfd991db
tree49690419b218020b8a0e9381db2f9cc90b658cd0
parente1d5bdabb94da89bdb3c3f2ee105cf61fca88ec8
pci: Add helper to search for VPD keywords

This patch adds the pci_vpd_find_info_keyword() helper function to
find information field keywords within read-only and read-write large
resource data type sections.

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/vpd.c
include/linux/pci.h