> Can we get rid of this switch as well? > > There are other places like this in the patch but I think you got my > idea :).
Makes sense -- I'll rework the patch to cut down on the code duplication (which is already there in my code that went upstream). I think there have to be switches (or equivalently, look-up tables) since there's no regularity in where the DCRs/SDRs for the different PCIe ports are. - R. _______________________________________________ Linuxppc-embedded mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-embedded
