User`s guide
3 Porting a BSP to Custom Hardware
3.3 Finalizing Your BSP
83
3
Bus Numbering
During autoconfiguration, the library maintains a counter with the highest
numbered bus. After configuration is complete, the counter value is retrieved as
follows:
pciAutoCfgCtl(pCookie, PCI_MAX_BUS_GET, &maxBus)
Cache Line Size
PCI_CACHE_SIZE_SET
This routine sets the PCI cache line size to the value specified in pArg. Cache line
size is specified in units of 32-bit words. For more information, see the
pciAutoConfigLib reference documentation or the PCI specification.
The default cache line size is 0.
PCI_CACHE_SIZE_GET
This routine retrieves the value of the PCI cache line size and returns it in pArg.
Automatic Interrupt Binding
PCI_AUTO_INT_ROUTE_SET
This routine enables or disables automatic interrupt binding across PCI bridges
during the autoconfiguration process. For more details, see the pciAutoConfigLib
reference documentation.
The default value is
FALSE (disabled).
PCI_AUTO_INT_ROUTE_GET
This routine retrieves the status of automatic interrupt binding.
PCI_MAX_BUS_GET
int * pArg
PCI_CACHE_SIZE_SET
int pArg
PCI_CACHE_SIZE_SET
int pArg
PCI_AUTO_INT_ROUTE_SET
BOOL pArg
PCI_AUTO_INT_ROUTE_GET
BOOL * pArg