summaryrefslogtreecommitdiff
path: root/arch/i386/pci/init.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-10-05 16:47:22 (GMT)
committerAndi Kleen <andi@basil.nowhere.org>2006-10-05 16:47:22 (GMT)
commitf015c6c4d733f68cbc1c5d231bb158abaa5c9606 (patch)
tree9ffa7a284f8265723bf46cb19557443bf1e68ea2 /arch/i386/pci/init.c
parent70d666d6ae9724c0a08434c20f8830c90a635bd3 (diff)
downloadlinux-fsl-qoriq-f015c6c4d733f68cbc1c5d231bb158abaa5c9606.tar.xz
[PATCH] i386: Fix PCI BIOS config space access
Got broken by a earlier change. Also add a printk when no pci config method could be found. Cc: gregkh@suse.de Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/i386/pci/init.c')
-rw-r--r--arch/i386/pci/init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/i386/pci/init.c b/arch/i386/pci/init.c
index d028e1b..b21b6da 100644
--- a/arch/i386/pci/init.c
+++ b/arch/i386/pci/init.c
@@ -28,6 +28,10 @@ static __init int pci_access_init(void)
#ifdef CONFIG_PCI_DIRECT
pci_direct_init(type);
#endif
+ if (!raw_pci_ops)
+ printk(KERN_ERR
+ "PCI: Fatal: No config space access function found\n");
+
return 0;
}
arch_initcall(pci_access_init);