> Yeow... I agree about the dirty hack part... shouldn't this be in the > device tree somewhere, or in the ali driver? > > I'm curious if this works on ml410 as well.. (Yes, I know, does this > really matter much? But there are still a bunch of them floating around > in universities.) It may be nice to factor this out so ml410/ppc405 and > microblaze can get it as well. > > Steve
Yes the code can work one the ML410 as well. The thing is that you would need a recent reference design from Xilinx. Before Xilinx used a OPB pci bridge and these days they use a PLB (v46) pci bridge. The old reference designs use the OPB core. I saw someone using a ML410 reference design which used the PBL pci soft-core and the same memory addresses were even used as in the ml510 reference design I'm using. I'm not sure where the guy got the design since the xilinx site only shows old opb_pci stuff. (though the core is nearly the same) Further most devices are also at the same locations on the pci bus. Further the ml410 also offers good old lpt1 and some other things which aren't on the ml510 but yes the pci code and big parts of the dts file I wrote can be reused. Roderick _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev