Introduce range.h

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 bf1b007123)
This commit is contained in:
Blue Swirl 2010-09-18 05:53:14 +00:00 committed by Michael S. Tsirkin
parent 48ebf2f90f
commit 5afb986917
3 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@
*/
#include "msi.h"
#include "range.h"
/* Eventually those constants should go to Linux pci_regs.h */
#define PCI_MSI_PENDING_32 0x10

View File

@ -31,6 +31,7 @@
#include "pci_bridge.h"
#include "pci_internals.h"
#include "range.h"
/* PCI bridge subsystem vendor ID helper functions */
#define PCI_SSVID_SIZEOF 8

View File

@ -25,6 +25,7 @@
#include "msi.h"
#include "pci_internals.h"
#include "pcie_regs.h"
#include "range.h"
//#define DEBUG_PCIE
#ifdef DEBUG_PCIE