Unshare these, as we can not use them when  buggy PCI expansion ROMS
are active and are hiding ROM.

attached.

ron
Unshared pci functions, since these can not be used when broken PCI 
expansion ROMs are active.

Signed-off-by: Ronald G. Minnich <[EMAIL PROTECTED]>

Index: include/device/pci_ops.h
===================================================================
--- include/device/pci_ops.h	(revision 939)
+++ include/device/pci_ops.h	(working copy)
@@ -24,33 +24,19 @@
 #include <shared.h>
 
 u8 pci_read_config8(struct device * dev, unsigned where);
-EXPORT_SYMBOL(pci_read_config8);
 u16 pci_read_config16(struct device * dev, unsigned where);
-EXPORT_SYMBOL(pci_read_config16);
 u32 pci_read_config32(struct device * dev, unsigned where);
-EXPORT_SYMBOL(pci_read_config32);
 void pci_write_config8(struct device * dev, unsigned where, u8 val);
-EXPORT_SYMBOL(pci_write_config8);
 void pci_write_config16(struct device * dev, unsigned where, u16 val);
-EXPORT_SYMBOL(pci_write_config16);
 void pci_write_config32(struct device * dev, unsigned where, u32 val);
-EXPORT_SYMBOL(pci_write_config32);
 
 u8 pci_conf1_read_config8(u32 bdf, int where);
-EXPORT_SYMBOL(pci_conf1_read_config8);
 u16 pci_conf1_read_config16(u32 bdf, int where);
-EXPORT_SYMBOL(pci_conf1_read_config16);
 u32 pci_conf1_read_config32(u32 bdf, int where);
-EXPORT_SYMBOL(pci_conf1_read_config32);
 void pci_conf1_write_config8(u32 bdf, int where, u8 value);
-EXPORT_SYMBOL(pci_conf1_write_config8);
 void pci_conf1_write_config16(u32 bdf, int where, u16 value);
-EXPORT_SYMBOL(pci_conf1_write_config16);
 void pci_conf1_write_config32(u32 bdf, int where, u32 value);
-EXPORT_SYMBOL(pci_conf1_write_config32);
 int pci_conf1_find_on_bus(u16 bus, u16 vid, u16 did, u32 *busdevfn);
-EXPORT_SYMBOL(pci_conf1_find_on_bus);
 int pci_conf1_find_device(u16 vid, u16 did, u32 * dev);
-EXPORT_SYMBOL(pci_conf1_find_device);
 
 #endif /* DEVICE_PCI_OPS_H */
Index: arch/x86/Makefile
===================================================================
--- arch/x86/Makefile	(revision 939)
+++ arch/x86/Makefile	(working copy)
@@ -194,7 +194,7 @@
 		       compute_ip_checksum.c string.c
 
 STAGE2_ARCH_X86_SRC  = archtables.c coreboot_table.c multiboot.c udelay_io.c
-STAGE2_ARCH_X86_SRC += pci_ops_auto.c
+STAGE2_ARCH_X86_SRC += pci_ops_auto.c pci_ops_conf1.c 
 STAGE2_ARCH_X86_SRC += keyboard.c i8259.c isa-dma.c
 
 ifeq ($(CONFIG_PIRQ_TABLE),y)
--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to