]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit484e49514cee6e754db28c9448bf9029ba601dcd
tree5968e585402263556481075a49599dc697aeab49
parent33811f92bac68bb2e9bfeb1c9305b2c6c5cd737f
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