]> bbs.cooldavid.org Git - net-next-2.6.git/commit
pci: Add VPD information field helper functions
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 26 Feb 2010 14:04:42 +0000 (14:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Feb 2010 08:43:32 +0000 (00:43 -0800)
commite1d5bdabb94da89bdb3c3f2ee105cf61fca88ec8
treebc5b86b19bc49ace2df10ed9e7ba7d1ca2b74d33
parentb55ac1b22690d2e5b02a61cf6d69c2d66969c79d
pci: Add VPD information field helper functions

This patch adds a preprocessor constant to describe the PCI VPD
information field header size and an inline function to extract the
size of the information field itself.

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