Files
u-boot/drivers
Bogdan Purcareata 3378727d13 pcie/layerscape: fix bug in bus number computation when setting msi-map
When multiple PCI cards are present in an ls2080a board, the second
card does not get its msi-map set up properly due to a bug in
computing the bus number.

The bus number returned by PCI_BDF() is not the actual PCI bus
number, but instead represents a global u-boot PCI bus number. A
given bus number is relative to hose->first_busno, so that has to be
subtracted from the PCI device id.

Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com>
Acked-by: Stuart Yoder <stuart.yoder@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
2016-06-03 14:12:10 -07:00
..
2015-11-02 10:38:00 +09:00
2016-05-27 20:34:12 -04:00
2016-05-24 11:15:02 +02:00
2016-05-27 20:34:12 -04:00
2016-01-27 15:32:05 +01:00
2016-05-26 20:48:31 -06:00
2016-02-05 12:47:21 +08:00
2016-05-25 17:52:39 +02:00
2016-02-06 12:00:59 +01:00
2016-03-14 19:21:44 -04:00
2016-05-26 20:48:31 -06:00
2016-05-26 20:48:31 -06:00