
On May 28, 2010, at 3:05 PM, Timur Tabi wrote:
Add the LAW target (enum law_trgt_if) to the fsl_pci_info structure, so that we can capture the LAW target for a given PCI or PCIE controller. Also update the SET_STD_PCI_INFO and SET_STD_PCIE_INFO macros to assign the LAW_TRGT_IF_PCI[E]_x macro to the LAW target field of the structure.
This will allow future PCI[E] code to configure the LAW target automatically, rather than requiring each board to it for each PCI controller separately.
Signed-off-by: Timur Tabi timur@freescale.com
Tested via MAKEALL.
If this patch is accepted, I'll use it for the P1022DS board support that I'm working on.
arch/powerpc/include/asm/fsl_pci.h | 19 +++++++++++-------- 1 files changed, 11 insertions(+), 8 deletions(-)
Ack.
Will wait til there is code that uses fsl_pci_info.law until this is applied.
- k