PCI: replace cfg space size (256/4096) by macros.
authorZhao, Yu <yu.zhao@intel.com>
Mon, 13 Oct 2008 11:18:07 +0000 (19:18 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 20 Oct 2008 17:54:29 +0000 (10:54 -0700)
commit557848c3c03ad1d1e66cb3b5b06698e3a9ebc33c
treef244d69c332d3bbbef9f924fb1f0892abba7e1ff
parent022edd86d7c864bc8fadc3c8ac4e6a464472ab05
PCI: replace cfg space size (256/4096) by macros.

This is a cleanup that changes all PCI configuration space size
representations to the macros (PCI_CFG_SPACE_SIZE and
PCI_CFG_SPACE_EXP_SIZE). And the macros are also moved from
drivers/pci/probe.c to drivers/pci/pci.h.

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-sysfs.c
drivers/pci/pci.c
drivers/pci/pci.h
drivers/pci/probe.c