What BSP and Device Driver Developers should know about Wind River's PCI Autoconfiguration Software.
Wind River provides support for the Peripheral Component Interconnect (PCI) bus in many of its Board Support Packages (BSPs). There are two methods of configuring the PCI bus: manual configuration or automatic configuration. With manual configuration, the BSP developer determines in advance what hardware will be present on the PCI bus and uses functions from pciConfigLib.c to configure the buses and devices. With automatic configuration, the BSP developer determines overall configuration variables and calls functions from pciAutoConfigLib.c to configure the bus automatically. In the second case, pciAutoConfigLib.c functions will call the pciConfigLib.c functions as necessary. When pciAutoConfigLib.c is used, knowledge of the specific devices on the PCI bus is not required for PCI configuration. This document focuses mostly on the use of pciAutoConfigLib.c.