[Skiboot] [PATCH] pci: Do a dummy config write to devices to establish bus number
benh at kernel.crashing.org
Thu Jun 9 18:02:49 AEST 2016
On Thu, 2016-06-09 at 15:43 +1000, Gavin Shan wrote:
> >+ /* Perform a dummy write to the device in order for it to
> >+ * capture it's own bus number, so any subsequent error
> >+ * messages will be properly tagged
> >+ */
> >+ pci_cfg_write32(phb, bdfn, 0, &vdid);
> Ben, I guess it's vdid, not &vdid though the target register is read-
Hah, oops, forgot to commt the compile fix before sending the patch.
Yes, it is. I will resend tmr.
More information about the Skiboot