Fw: Configuring PCI w/ 44x
Eugene Surovegin wrote on 05/02/2006 07:49:16 PM: > On Tue, May 02, 2006 at 04:58:32PM -0400, Stephen Winiecki wrote: > > I have a question regarding configuring PCI with 44x. Using 2.6.17-rc3 as > > a reference, PCI_CONFIG is defined for the 44x defconfigs, and Kconfig is > > not enabled to reflect/change the setting for 44x. When I update > > arch/ppc/Kconfig to enable configuring or not configuring PCI with 44x, and > > then don't configure it, the kernel won't compile: > > Hmm, you cannot disable PCI for 44x in the current 2.6. It's always > enabled. > > If you changed Konfig to be able to do so, why are you complaining > here? It's not enough to just change Konfig, you have to modify Ocotea > port as well. Look for example how this is handled for 85xx. > > Patches are welcome. > > -- > Eugene > I was first wondering if for some reason defaulting/forcing PCI to always be configured for 44x was intentional. I was second reporting the fact that if a change is made to not configure PCI for 44x, the kernel will not compile. Steve -- next part -- An HTML attachment was scrubbed... URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060503/a78f022f/attachment.htm
Fw: Configuring PCI w/ 44x
On Wed, May 03, 2006 at 01:11:26PM -0400, Stephen Winiecki wrote: > > Eugene Surovegin wrote on 05/02/2006 07:49:16 PM: > > > On Tue, May 02, 2006 at 04:58:32PM -0400, Stephen Winiecki wrote: > > > I have a question regarding configuring PCI with 44x. Using 2.6.17-rc3 > as > > > a reference, PCI_CONFIG is defined for the 44x defconfigs, and Kconfig > is > > > not enabled to reflect/change the setting for 44x. When I update > > > arch/ppc/Kconfig to enable configuring or not configuring PCI with 44x, > and > > > then don't configure it, the kernel won't compile: > > > > Hmm, you cannot disable PCI for 44x in the current 2.6. It's always > > enabled. > > > > If you changed Konfig to be able to do so, why are you complaining > > here? It's not enough to just change Konfig, you have to modify Ocotea > > port as well. Look for example how this is handled for 85xx. > > > > Patches are welcome. > > > > -- > > Eugene > > > > I was first wondering if for some reason defaulting/forcing PCI to always > be configured for 44x was intentional. Yes. I think it's quite obvious from the way it's configured in Konfig. > I was second reporting the fact > that if a change is made to not configure PCI for 44x, the kernel will not > compile. Well, I don't follow you here. You made the wrong change and report here that it broke the build. How is this interesting? Your report looked as you discovered a bug, when in fact you broke the build yourself. And again, if disabling PCI is important to you you are welcome to submit patches instead of sending misleading e-mails to this list. -- Eugene
Configuring PCI w/ 44x
I have a question regarding configuring PCI with 44x. Using 2.6.17-rc3 as a reference, PCI_CONFIG is defined for the 44x defconfigs, and Kconfig is not enabled to reflect/change the setting for 44x. When I update arch/ppc/Kconfig to enable configuring or not configuring PCI with 44x, and then don't configure it, the kernel won't compile: arch/ppc/kernel/built-in.o: In function `__dma_alloc_coherent': arch/ppc/kernel/dma-mapping.c:231: undefined reference to `pci_dram_offset' arch/ppc/kernel/dma-mapping.c:231: undefined reference to `pci_dram_offset' arch/ppc/mm/built-in.o: In function `ioport_map': arch/ppc/mm/pgtable.c:265: undefined reference to `isa_io_base' arch/ppc/mm/pgtable.c:265: undefined reference to `isa_io_base' arch/ppc/mm/built-in.o: In function `__ioremap': arch/ppc/mm/pgtable.c:187: undefined reference to `isa_mem_base' arch/ppc/mm/pgtable.c:187: undefined reference to `isa_mem_base' arch/ppc/mm/pgtable.c:187: undefined reference to `isa_mem_base' arch/ppc/mm/pgtable.c:187: undefined reference to `isa_mem_base' arch/ppc/syslib/built-in.o: In function `outb': include/asm/io.h:299: undefined reference to `isa_io_base' arch/ppc/syslib/built-in.o: In function `todc_m48txx_write_val': include/asm/io.h:299: undefined reference to `isa_io_base' arch/ppc/syslib/built-in.o: In function `outb': include/asm/io.h:299: undefined reference to `isa_io_base' arch/ppc/syslib/built-in.o: In function `todc_mc146818_read_val': include/asm/io.h:299: undefined reference to `isa_io_base' arch/ppc/syslib/built-in.o: In function `outb': include/asm/io.h:299: undefined reference to `isa_io_base' arch/ppc/syslib/built-in.o:include/asm/io.h:299: more undefined references to `isa_io_base' follow arch/ppc/syslib/built-in.o: In function `pciauto_setup_bars': arch/ppc/syslib/pci_auto.c:56: undefined reference to `early_write_config_dword' arch/ppc/syslib/pci_auto.c:61: undefined reference to `early_read_config_dword' arch/ppc/syslib/pci_auto.c:93: undefined reference to `early_write_config_dword' arch/ppc/syslib/pci_auto.c:108: undefined reference to `early_write_config_dword' arch/ppc/syslib/built-in.o: In function `pciauto_prescan_setup_bridge': arch/ppc/syslib/pci_auto.c:130: undefined reference to `early_write_config_byte' arch/ppc/syslib/pci_auto.c:135: undefined reference to `early_write_config_byte' arch/ppc/syslib/pci_auto.c:140: undefined reference to `early_write_config_byte' arch/ppc/syslib/pci_auto.c:155: undefined reference to `early_write_config_word' arch/ppc/syslib/pci_auto.c:160: undefined reference to `early_write_config_byte' arch/ppc/syslib/pci_auto.c:165: undefined reference to `early_write_config_word' arch/ppc/syslib/pci_auto.c:172: undefined reference to `early_write_config_dword' arch/ppc/syslib/pci_auto.c:177: undefined reference to `early_write_config_dword' arch/ppc/syslib/built-in.o: In function `pciauto_postscan_setup_bridge': arch/ppc/syslib/pci_auto.c:194: undefined reference to `early_write_config_byte' arch/ppc/syslib/pci_auto.c:208: undefined reference to `early_write_config_word' arch/ppc/syslib/pci_auto.c:215: undefined reference to `early_write_config_word' arch/ppc/syslib/pci_auto.c:223: undefined reference to `early_write_config_word' arch/ppc/syslib/pci_auto.c:234: undefined reference to `early_write_config_byte' arch/ppc/syslib/pci_auto.c:239: undefined reference to `early_write_config_word' arch/ppc/syslib/pci_auto.c:246: undefined reference to `early_read_config_dword' arch/ppc/syslib/pci_auto.c:251: undefined reference to `early_write_config_dword' arch/ppc/syslib/built-in.o: In function `pciauto_prescan_setup_cardbus_bridge': arch/ppc/syslib/pci_auto.c:269: undefined reference to `early_write_config_byte' arch/ppc/syslib/pci_auto.c:274: undefined reference to `early_write_config_byte' arch/ppc/syslib/pci_auto.c:279: undefined reference to `early_write_config_byte' arch/ppc/syslib/pci_auto.c:294: undefined reference to `early_write_config_dword' arch/ppc/syslib/pci_auto.c:299: undefined reference to `early_write_config_dword' arch/ppc/syslib/built-in.o: In function `pciauto_postscan_setup_cardbus_bridge': arch/ppc/syslib/pci_auto.c:321: undefined reference to `early_write_config_byte' arch/ppc/syslib/pci_auto.c:347: undefined reference to `early_write_config_dword' arch/ppc/syslib/pci_auto.c:355: undefined reference to `early_write_config_dword' arch/ppc/syslib/pci_auto.c:362: undefined reference to `early_read_config_dword' arch/ppc/syslib/pci_auto.c:367: undefined reference to `early_write_config_dword' arch/ppc/syslib/built-in.o: In function `pciauto_bus_scan': arch/ppc/syslib/pci_auto.c:403: undefined reference to `early_read_config_byte' arch/ppc/syslib/pci_auto.c:413: undefined reference to `early_read_config_word' arch/ppc/syslib/pci_auto.c:420: undefined reference to `early_read_config_dword' arch/ppc/syslib/pci_auto.c:493: undefined reference to `early_read_config_dword' arch/ppc/syslib/pci_auto.c:498: undefined reference to `early_write_config_dword' arch/ppc/
Configuring PCI w/ 44x
On Tue, May 02, 2006 at 04:58:32PM -0400, Stephen Winiecki wrote: > I have a question regarding configuring PCI with 44x. Using 2.6.17-rc3 as > a reference, PCI_CONFIG is defined for the 44x defconfigs, and Kconfig is > not enabled to reflect/change the setting for 44x. When I update > arch/ppc/Kconfig to enable configuring or not configuring PCI with 44x, and > then don't configure it, the kernel won't compile: Hmm, you cannot disable PCI for 44x in the current 2.6. It's always enabled. If you changed Konfig to be able to do so, why are you complaining here? It's not enough to just change Konfig, you have to modify Ocotea port as well. Look for example how this is handled for 85xx. Patches are welcome. -- Eugene