git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
arch
/
i386
/
pci
/
mmconfig.c
diff --git
a/arch/i386/pci/mmconfig.c
b/arch/i386/pci/mmconfig.c
index
0b95fc4
..
f42c453
100644
(file)
--- a/
arch/i386/pci/mmconfig.c
+++ b/
arch/i386/pci/mmconfig.c
@@
-1,3
+1,10
@@
+/*
+ * Copyright (C) 2004 Matthew Wilcox <matthew@wil.cx>
+ * Copyright (C) 2004 Intel Corp.
+ *
+ * This code is released under the GNU General Public License version 2.
+ */
+
/*
* mmconfig.c - Low-level direct PCI config space access via MMCONFIG
*/
/*
* mmconfig.c - Low-level direct PCI config space access via MMCONFIG
*/
@@
-9,7
+16,7
@@
/* The physical address of the MMCONFIG aperture. Set from ACPI tables. */
u32 pci_mmcfg_base_addr;
/* The physical address of the MMCONFIG aperture. Set from ACPI tables. */
u32 pci_mmcfg_base_addr;
-#define mmcfg_virt_addr (fix_to_virt(FIX_PCIE_MCFG))
+#define mmcfg_virt_addr (
(void __iomem *)
fix_to_virt(FIX_PCIE_MCFG))
/* The base address of the last MMCONFIG device accessed */
static u32 mmcfg_last_accessed_device;
/* The base address of the last MMCONFIG device accessed */
static u32 mmcfg_last_accessed_device;