commit | 4451a6da8bd29f9414e8a41ef9ff9ceb28920cdd | [log] [tgz] |
---|---|---|
author | Ed Swarthout <Ed.Swarthout@freescale.com> | Mon Nov 02 09:05:49 2009 -0600 |
committer | Kumar Gala <galak@kernel.crashing.org> | Wed Nov 04 09:16:30 2009 -0600 |
tree | 753315d236cd213c5b4805988539dfb121dc5020 | |
parent | b83ff07f92a457d8a84709cfc4f4124317d72c18 [diff] |
fsl_pci_init_port end-point initialization is broken commit 70ed869e broke fsl pcie end-point initialization. Returning 0 is not correct. The function must return the first free bus number for the next controller. fsl_pci_init() must still be called and a bus allocated even if the controller is an end-point. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Acked-by: Vivek Mahajan <vivek.mahajan@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>