Re: xilinx-pci driver and pci in general

2010-01-18 Thread Grant Likely
On Wed, Jan 13, 2010 at 8:23 AM, Michal Simek michal.si...@petalogix.com wrote: Hi guys, We (John and partially I) did initial support for pci on Microblaze. It is based on powerpc files and almost everything is the same. There are some small differences which could be easily removed that's

Re: xilinx-pci driver and pci in general

2010-01-18 Thread Grant Likely
On Wed, Jan 13, 2010 at 7:07 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Wed, 2010-01-13 at 16:23 +0100, Michal Simek wrote: The main problems are: ppc use ppc_md struct which we don't have it on Microblaze. xilinx-pci driver uses exclude_device function. This function is

Re: xilinx-pci driver and pci in general

2010-01-15 Thread Michal Simek
Benjamin Herrenschmidt wrote: On Wed, 2010-01-13 at 16:23 +0100, Michal Simek wrote: The main problems are: ppc use ppc_md struct which we don't have it on Microblaze. xilinx-pci driver uses exclude_device function. This function is used in indirect_pci.c too. There could be a way to move

xilinx-pci driver and pci in general

2010-01-13 Thread Michal Simek
Hi guys, We (John and partially I) did initial support for pci on Microblaze. It is based on powerpc files and almost everything is the same. There are some small differences which could be easily removed that's why I think that will be good to move that file to any generic location. That's

Re: xilinx-pci driver and pci in general

2010-01-13 Thread Benjamin Herrenschmidt
On Wed, 2010-01-13 at 16:23 +0100, Michal Simek wrote: The main problems are: ppc use ppc_md struct which we don't have it on Microblaze. xilinx-pci driver uses exclude_device function. This function is used in indirect_pci.c too. There could be a way to move that function directly to