diff options
author | Ivan Kokshaysky <ink@jurassic.park.msu.ru> | 2008-01-14 17:31:09 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-10 15:52:45 -0500 |
commit | a0ca9909609470ad779b9b9cc68ce96e975afff7 (patch) | |
tree | af1ce8cdf6e927e25ad92869849456916e236fbf /arch/x86/pci/pci.h | |
parent | 7cf712db6087342e5e7e259d3883a7b5ac3212d1 (diff) |
PCI x86: always use conf1 to access config space below 256 bytes
Thanks to Loic Prylli <loic@myri.com>, who originally proposed
this idea.
Always using legacy configuration mechanism for the legacy config space
and extended mechanism (mmconf) for the extended config space is
a simple and very logical approach. It's supposed to resolve all
known mmconf problems. It still allows per-device quirks (tweaking
dev->cfg_size). It also allows to get rid of mmconf fallback code.
Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/pci/pci.h')
-rw-r--r-- | arch/x86/pci/pci.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/pci/pci.h b/arch/x86/pci/pci.h index ac56d3916c50..36cb44c397c3 100644 --- a/arch/x86/pci/pci.h +++ b/arch/x86/pci/pci.h | |||
@@ -98,13 +98,6 @@ extern void pcibios_sort(void); | |||
98 | 98 | ||
99 | /* pci-mmconfig.c */ | 99 | /* pci-mmconfig.c */ |
100 | 100 | ||
101 | /* Verify the first 16 busses. We assume that systems with more busses | ||
102 | get MCFG right. */ | ||
103 | #define PCI_MMCFG_MAX_CHECK_BUS 16 | ||
104 | extern DECLARE_BITMAP(pci_mmcfg_fallback_slots, 32*PCI_MMCFG_MAX_CHECK_BUS); | ||
105 | |||
106 | extern int __init pci_mmcfg_arch_reachable(unsigned int seg, unsigned int bus, | ||
107 | unsigned int devfn); | ||
108 | extern int __init pci_mmcfg_arch_init(void); | 101 | extern int __init pci_mmcfg_arch_init(void); |
109 | 102 | ||
110 | /* | 103 | /* |