RAM 6.0 BUX II Series Guía de usuario Pagina 96

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 189
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 95
VxWorks
BSP Developer’s Guide, 6.0
88
The default value is NULL, so that no roll call delay is introduced before PCI
configuration.
Optional PCI Routines
PCI_INCLUDE_FUNC_SET
This device inclusion routine is specified by assigning a function pointer with the
PCI_INCLUDE_FUNC_SET pciAutoCfgCtl( ) command as follows:
pciAutoCfgCtl(pSystem, PCI_INCLUDE_FUNC_SET,sysPciAutoconfigInclude);
This optional routine takes as input both the bus-device-function tuple, and a
32-bit quantity containing both the PCI vendor ID and device ID of the routine. The
function prototype for this routine is as follows:
STATUS sysPciAutoconfigInclude
(
PCI_SYSTEM *pSys,
PCI_LOC *pLoc,
UINT devVend
);
This routine is called from pciAutoConfig( ) for each and every routine
encountered in the scan phase. The BSP developer can use any combination of the
input data to ascertain whether a device is to be excluded from the
autoconfiguration process. The exclusion routine then returns
ERROR if a device is
to be excluded, and
OK if a device is to be included in the autoconfiguration
process.
Note that PCI-to-PCI bridges cannot be excluded, regardless of the value returned
by the BSP device inclusion routine. Any return value is ignored for PCI-to-PCI
bridges.
The bridge device is always configured with proper primary, secondary, and
subordinate bus numbers in the device scanning phase, and proper I/O and
memory aperture settings in the configuration phase of the autoconfiguration
process regardless of the value returned by the BSP device inclusion routine.
The default value for the device inclusion routine is
NULL. This indicates that all
devices are autoconfigured.
PCI_INCLUDE_FUNC_SET
FUNCPTR * pArg
PCI_INT_ASSIGN_FUNC_SET
FUNCPTR * pArg
Vista de pagina 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 188 189

Comentarios a estos manuales

Sin comentarios