]> bbs.cooldavid.org Git - net-next-2.6.git/commit - include/linux/pci.h
PCI: revise VPD access interface
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:17 +0000 (11:13 -0800)
commit287d19ce2e67c15e79a187b3bdcbbea1a0a51a7d
tree128d9c67557a4fe5e5e910b8ca2d50aedee31b7c
parent1120f8b8169fb2cb51219d326892d963e762edb6
PCI: revise VPD access interface

Change PCI VPD API which was only used by sysfs to something usable
in drivers.
   * move iteration over multiple words to the low level
   * use conventional types for arguments
   * add exportable wrapper

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