Re: [U-Boot] [PATCH] pci: gate print info of reading vender id with CONFIG_DM_PCI

2016-01-28 Thread Qianyu Gong
> -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Thursday, January 28, 2016 4:02 PM > To: Qianyu Gong > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH] pci: gate print info of reading vender id with > CONFIG_DM_PCI > > On T

Re: [U-Boot] [PATCH] pci: gate print info of reading vender id with CONFIG_DM_PCI

2016-01-28 Thread Bin Meng
On Thu, Jan 28, 2016 at 3:43 PM, Qianyu Gong wrote: > Hi, > >> -Original Message- >> From: Bin Meng [mailto:bmeng...@gmail.com] >> Sent: Thursday, January 28, 2016 3:30 PM >> To: Qianyu Gong >> Cc: U-Boot Mailing List >> Subject: Re: [U-Boo

Re: [U-Boot] [PATCH] pci: gate print info of reading vender id with CONFIG_DM_PCI

2016-01-27 Thread Qianyu Gong
Hi, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Thursday, January 28, 2016 3:30 PM > To: Qianyu Gong > Cc: U-Boot Mailing List > Subject: Re: [U-Boot] [PATCH] pci: gate print info of reading vender id with > CONFIG_DM_PCI > > O

Re: [U-Boot] [PATCH] pci: gate print info of reading vender id with CONFIG_DM_PCI

2016-01-27 Thread Bin Meng
On Thu, Jan 28, 2016 at 3:15 PM, Gong Qianyu wrote: > From: Mingkai Hu > > Referring to 'commit ff3e077bd23c ("dm: pci: Add a uclass for PCI")'. > > For legacy PCIe driver, it needs loop to read the vender_id from > devie 0 to devie 255 to check if there is device available. > Reading non-existen

[U-Boot] [PATCH] pci: gate print info of reading vender id with CONFIG_DM_PCI

2016-01-27 Thread Gong Qianyu
From: Mingkai Hu Referring to 'commit ff3e077bd23c ("dm: pci: Add a uclass for PCI")'. For legacy PCIe driver, it needs loop to read the vender_id from devie 0 to devie 255 to check if there is device available. Reading non-existen device will trigger the "Cannot read bus configuration: -1" info