From: Paul v. G. <pau...@ri...> - 2003-06-17 22:44:53
|
On Tue, Jun 17, 2003 at 11:08:26PM +0100, David Woodhouse wrote: > OK, the resources it's allocating there are completely bogus as far as I > can tell. Can you double-check the values of PCIBIOS_MIN_MEM and > PCIBIOS_MIN_IO as seen in drivers/pci/setup-res.c::pci_assign_resource() I added a printk statement in pci_assign_resource. The output is: pvg PCIBIOS_MIN_IO = 10000 pvg PCIBIOS_MIN_MEM = fd000000 pvg PCIBIOS_MIN_IO = 10000 pvg PCIBIOS_MIN_MEM = fd000000 BTW this routine seems to be called after the resources have already been assigned. It seems to be getting the values from include/asm-sh/pci.h: #elif defined(CONFIG_SH_7751_SOLUTION_ENGINE) // #define PCIBIOS_MIN_IO 0x4000 #define PCIBIOS_MIN_IO 0x10000 #define PCIBIOS_MIN_MEM 0xFD000000 #endif > Make it stop assigning resources which your board I/O code doesn't think > are PCI, and you'll be most of the way there :) Sounds like a good idea... I'll start debugging the kernel a bit to see what data it's working with. Thanks. Paul -- Paul van Gool Rincon Networks pau...@ri... (805)-705-1442 |