fix: pci: enabled usage of pci_config_table usage for each device
patch 03992ac2c974ae3e169219ba0ccdd94a8ce0146a removed the usage of pci_config_Table.
This caused unsuccessful runs of pciauto_config_device on already detected devices,
which caused the device to be not functional.
This fix restores the usage of pci_config_Table.
Instead of running pciauto_config_device for each device, first scan table for the device (pci_find_config)
And if device was already detected, run config_device.
** Tested with PCIe 8613 AIC bridge using E1000 NIC **
Change-Id: I3fedf56f9f29a621aa39a1b22e58e264e0c54b03
Signed-off-by: Omri Itach <omrii@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/5647
Reviewed-by: Yehuda Yitschak <yehuday@marvell.com>
Tested-by: Star_Automation <star@marvell.com>
1 file changed