[U-Boot] PCI: Cannot read bus configuration

Simon Glass sjg at chromium.org
Thu Oct 8 00:30:05 CEST 2015


Hi Fabio,

On 7 October 2015 at 19:34, Fabio Estevam <festevam at gmail.com> wrote:
> Hi Simon,
>
> Since commit ff3e077bd2 ("dm: pci: Add a uclass for PCI") I see the following
> error message after running the 'pci' command:
>
> => pci 0
> Scanning PCI devices on bus 0
> BusDevFun  VendorId   DeviceId   Device Class       Sub-Class
> _____________________________________________________________
> 00.01.00   0x16c3     0xabcd     Bridge device           0x04
> Cannot read bus configuration: -1
> => pci 1
> Scanning PCI devices on bus 1
> BusDevFun  VendorId   DeviceId   Device Class       Sub-Class
> _____________________________________________________________
> 01.00.00   0x8086     0x08b1     Network controller      0x80
> Cannot read bus configuration: -1
> =>
>
> How can we silent this error?

This added error checking to pci_read_config_word(). It might be worth
looking at why the access is failing.

Regards,
Simon


More information about the U-Boot mailing list