PCI x86: always use conf1 to access config space below 256 bytes
authorIvan Kokshaysky <ink@jurassic.park.msu.ru>
Mon, 14 Jan 2008 22:31:09 +0000 (17:31 -0500)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 10 Feb 2008 20:52:45 +0000 (12:52 -0800)
commita0ca9909609470ad779b9b9cc68ce96e975afff7
treeaf1ce8cdf6e927e25ad92869849456916e236fbf
parent7cf712db6087342e5e7e259d3883a7b5ac3212d1
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>
arch/x86/pci/mmconfig-shared.c
arch/x86/pci/mmconfig_32.c
arch/x86/pci/mmconfig_64.c
arch/x86/pci/pci.h