x86: Work around mmio config space quirk on AMD Fam10h
authordean gaudet <dean@arctic.org>
Fri, 10 Aug 2007 20:30:59 +0000 (22:30 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 11 Aug 2007 22:58:12 +0000 (15:58 -0700)
commit3320ad994afb2c44ad34b3b34c3c5cf0da297331
tree7eb9c73a0513f96a7af3c598cd3103cbf4da5043
parent9535239f6bc99f68e0cfae44505ad402b53ed24c
x86: Work around mmio config space quirk on AMD Fam10h

Some broken devices have been discovered to require %al/%ax/%eax registers
for MMIO config space accesses.  Modify mmconfig.c to use these registers
explicitly (rather than modify the global readb/writeb/etc inlines).

AK: also changed i386 to always use eax
AK: moved change to extended space probing to different patch
AK: reworked with inlines according to Linus' requirements.
AK: improve comments.

Signed-off-by: dean gaudet <dean@arctic.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/pci/mmconfig.c
arch/i386/pci/pci.h
arch/x86_64/pci/mmconfig.c