OSDN Git Service

PCI: Support BAR sizes up to 8GB
authorAlan <alan@linux.intel.com>
Mon, 19 May 2014 13:03:14 +0000 (14:03 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 23 May 2014 16:47:21 +0000 (10:47 -0600)
commit14c8530dbc1b7cd5020c44b391e34bdb731fd098
tree2ca7d75ce49993efafad9d6d744ef8a7b674c81f
parente4c729664339e4be352d4c7434a5c6184285148d
PCI: Support BAR sizes up to 8GB

This is needed for some of the Xeon Phi type systems.

[bhelgaas: added Nikhil, use ARRAY_SIZE() to connect with decl, folded in
Kevin's "order < 0" fix to ARRAY_SIZE() usage]
Signed-off-by: Nikhil P Rao <nikhil.rao@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/setup-bus.c