[PATCH 1/2] powerpc/fsl_pci: Add MPC83xx PCI-E controller RC mode support
Kumar Gala
galak at kernel.crashing.org
Thu Jan 8 17:50:22 EST 2009
>
> +struct mpc83xx_pcie_priv {
> + void __iomem *cfg_map;
> + u32 dev_base;
> +};
So was thinking about this and was wondering about doing the following:
hose->cfg_addr /* use instead of dev_base to cache pci bus/dev/fn */
hose->cfg_data /* should be the outbound window used for pci cfg
cycles */
hose->dn->data /* for IMMR regs to tweak window */
thoughts?
Doing this means we should be able to get rid of struct
mpc83xx_pcie_priv
- k
More information about the Linuxppc-dev
mailing list