Extract range functions from pci.h. These will be used by later patches
by non-PCI devices. Adjust current users.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
(cherry picked from commit
bf1b00712375bea65f2254dea8281fa646eebbd5)
*/
#include "msi.h"
+#include "range.h"
/* Eventually those constants should go to Linux pci_regs.h */
#define PCI_MSI_PENDING_32 0x10
#include "pci_bridge.h"
#include "pci_internals.h"
+#include "range.h"
/* PCI bridge subsystem vendor ID helper functions */
#define PCI_SSVID_SIZEOF 8
#include "msi.h"
#include "pci_internals.h"
#include "pcie_regs.h"
+#include "range.h"
//#define DEBUG_PCIE
#ifdef DEBUG_PCIE