Hi James, All-in-all, this seems good but I have a few comments/questions.
Mark -- James Chapman wrote: > Add support for Radstone PPC7D PPC boards. > > Signed-off-by: James Chapman <jchapman at katalix.com> > > The Radstone PPC7D is a rugged ppc7447A VME card with > Marvell Discovery-II dual GigE, dual PCI/PCI-X PMC sites, > 4 UARTs, 2 high speed serial ports, USB and optional > SCSI / VGA. > diff -Nru a/arch/ppc/platforms/radstone_ppc7d.c b/arch/ppc/platforms/radstone_ppc7d.c > +void __init ppc7d_setup_peripherals(void) > + val32 = mv64x60_read(&bh, MV64x60_PCI1_PCI_DECODE_CNTL); > + val32 &= ~(1 << 3); > + mv64x60_write(&bh, MV64x60_PCI1_PCI_DECODE_CNTL, val32); Bit 3 is already cleared by the core code. > + /* Setup P2P for PCI#0 */ > + val32 = mv64x60_read(&bh, MV64x60_PCI0_P2P_CONFIG); > + val32 &= ~(0x00ffffff); > + val32 |= ((bh.hose_a->first_busno & 0xff) << 16); etc. Do you really use the P2P bridge? Unless I missed something, I think it remains disabled. You shouldn't need it unless you have PCI devices on one hose directly accessing PCI devices on the other hose. The P2P stuff seems complicated & unnecessary.