PCI: add interface to set visible size of VPD
authorStephen Hemminger <shemminger@vyatta.com>
Thu, 18 Dec 2008 17:17:16 +0000 (09:17 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:13:18 +0000 (11:13 -0800)
commitdb5679437a2b938c9127480a3923633721583a4f
treeb2625345baa35490104b81fc1c7bd8ef6bb74100
parent287d19ce2e67c15e79a187b3bdcbbea1a0a51a7d
PCI: add interface to set visible size of VPD

The VPD on all devices may not be 32K. Unfortunately, there is no
generic way to find the size, so this adds a simple API hook
to reset it.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/access.c
include/linux/pci.h