pci: Add PCI LRDT tag size and section size
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 26 Feb 2010 14:04:39 +0000 (14:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Feb 2010 08:43:30 +0000 (00:43 -0800)
commita2ce766238f72ff7337606c0bc96803c30c9e05c
tree5968e585402263556481075a49599dc697aeab49
parent2ea186ae533c7b4f4c56811b69d3e40a6209a9c0
pci: Add PCI LRDT tag size and section size

This patch adds a preprocessor constant to describe the PCI VPD large
resource data type tag size and an inline function to extract the large
resource section size from the large resource data type tag.

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