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 ?
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
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 > >