RAM 6.0 BUX II Series Guia do Utilizador Página 86

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 189
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 85
VxWorks
BSP Developer’s Guide, 6.0
78
sysPciAutoConfig( ) routine (located in sysBusPci.c) that makes a call to
pciAutoCfg( ).
If PCI autoconfiguration is not desired but one or more devices on the PCI bus are
to be supported, manual PCI configuration must be done. Normally, this requires
a sysPciConfig( ) routine, which makes the appropriate calls to configure the bus
and devices. However, it is recommended that autoconfiguration be used instead.
In order to support PCI autoconfiguration, the sysBusPci.c file must, at a
minimum, contain the sysPciAutoConfig( ) routine. For most BSPs, the file also
includes some or all of the following minor routines and, possibly, other PCI
configuration routines:
sysPciAutoConfigIntAssign( )
Assigns the “interrupt line” value.
sysPciAutoconfigInclude( )
Support routine to include or exclude support for specific devices or routines.
sysPciAutoconfigIntrAssign( )
Support routine for PCI interrupt assignment.
sysPciAutoconfigPreEnumBridgeInit( )
Bridge-specific initialization preceding autoconfiguration.
sysPciHostBridgeInit( )
Initializes the host bridge.
sysPciAutoconfigPostEnumBridgeInit( )
Bridge-specific initialization following autoconfiguration.
sysPciRollCallRtn( )
Check “roll call” list against list of PCI devices found.
The routines listed above are optional routines that the BSP may provide to assist
with PCI autoconfiguration. The routines are installed from within
sysPciAutoConfig( ) by issuing a call to pciAutoCfgCtl( ) as specified later in this
chapter (see Fast Back-To-Back Transmissions, p.80, and later sub-sections). When
PCI configuration occurs, the configuration code makes calls to these routines at
specific points during the initialization process.
Vista de página 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 ... 188 189

Comentários a estes Manuais

Sem comentários