Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - pci device rescan.: (3 Items)
   
pci device rescan.  
I am designing an embedded system which require to hard reset  PCI devices
occasionally.

Can someone tell me if I restarted pci-bios, will pci-bios rescan pci bus
and reconfigure the BARs of each devices ?
RE: pci device rescan.  
If this reset is for specific device on the bus, you do not actually need to restart the pci-bios.

pci_rescan_bus() API should be able to rescan the device for you after you reset that device.

Lichun

> -----Original Message-----
> From: Lawrence Lee [mailto:community-noreply@qnx.com]
> Sent: November-03-11 3:36 PM
> To: ostech-core_os
> Subject: pci device rescan.
> 
> I am designing an embedded system which require to hard reset  PCI devices
> occasionally.
> 
> Can someone tell me if I restarted pci-bios, will pci-bios rescan pci bus and
> reconfigure the BARs of each devices ?
> 
> 
> 
> 
> _______________________________________________
> 
> OSTech
> http://community.qnx.com/sf/go/post89859
Re: pci device rescan.  
Thanks you!

On Thu, Nov 3, 2011 at 5:16 PM, Lichun Zhu <community-noreply@qnx.com>wrote:

> If this reset is for specific device on the bus, you do not actually need
> to restart the pci-bios.
>
> pci_rescan_bus() API should be able to rescan the device for you after you
> reset that device.
>
> Lichun
>
> > -----Original Message-----
> > From: Lawrence Lee [mailto:community-noreply@qnx.com]
> > Sent: November-03-11 3:36 PM
> > To: ostech-core_os
> > Subject: pci device rescan.
> >
> > I am designing an embedded system which require to hard reset  PCI
> devices
> > occasionally.
> >
> > Can someone tell me if I restarted pci-bios, will pci-bios rescan pci
> bus and
> > reconfigure the BARs of each devices ?
> >
> >
> >
> >
> > _______________________________________________
> >
> > OSTech
> > http://community.qnx.com/sf/go/post89859
>
>
>
>
> _______________________________________________
>
> OSTech
> http://community.qnx.com/sf/go/post89868
>
>