aboutsummaryrefslogtreecommitdiff
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorGary Hade <garyhade@us.ibm.com>2009-05-27 12:41:44 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-06-16 14:53:32 -0700
commitf9cde5ffed17bf74f6bef042d99edb0622f58576 (patch)
tree1bd553e8624a5efe6c2a2de021eed2ad649bd33c /include/linux/pci.h
parentab7de999a2c771482698efa6fe7c7b7fcb1d482a (diff)
x86/ACPI: Correct maximum allowed _CRS returned resources and warn if exceeded
Issue a warning if _CRS returns too many resource descriptors to be accommodated by the fixed size resource array instances. If there is no transparent bridge on the root bus "too many" is the PCI_BUS_NUM_RESOURCES size of the resource array. Otherwise, the last 3 slots of the resource array must be excluded making the maximum (PCI_BUS_NUM_RESOURCES - 3). The current code: - is silent when _CRS returns too many resource descriptors and - incorrectly allows use of the last 3 slots of the resource array for a root bus with a transparent bridge Signed-off-by: Gary Hade <garyhade@us.ibm.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/pci.h')
0 files changed, 0 insertions, 0 deletions