Opening More Windows In The Pci Target Channel - Motorola PPC/PMC-8260/DS1 Reference Manual

Table of Contents

Advertisement

PowerSPAN II PCI Bus Bridge

Opening More Windows in the PCI Target Channel

P1_TIx_CTL
P1_BSTx
P1_TIx_TADDR
P1_TIx_CTL
5 - 12
The PCI target channel needs to be programmed to make the resources on the 60x
bus side visible on the PCI bus i.e. to enable the PCI bus to access devices on the
60x bus. By default, one window of four possible windows is activated by the
default settings in the E
target images (P1_TI1_CTL to P1_TI3_CTL) in the firmware of the carrier board.
Program the registers of the PCI target images according to the instructions below.
Define basic attributes and sizes for the base address registers. These settings must
be accomplished while PCI lockout is active. The following settings in
P1_TIx_CTL must be programmed:
1. Set bit BAR_EN to 1 to enable BAR in PCI configuration header
2. Set bit MODE to 0 to map BAR to PCI memory space, or to 1 for PCI
I/O space
3. Set bit BS to define the size of translation image
4. Optional: Set bit P1_BSTx[PRFTCH] to enable read prefetching
Configure the PCI base address by programming P1_BSTx. This setting is usually
performed by the PCI bus enumerator of the host which assigns PCI resources to all
PCI devices.
Configure the 60x bus base address by programming P1_TIx_TADDR. For further
information, see the PowerSpan II User Manual.
Set the following additional attribute bits and the size of the target image in
P1_TIx_CTL:
Image and translation enable/disable
Caching attributes
Setting the bit GBL enforces cache coherency on the 60x bus. Cache Inhibit
(CI) is not supported on the PPC/PMC-8260/DS1.
Read prefetching attributes
Defines whether to keep or purge prefetched data and the amount of data
prefetched
2
PROM. To activate more windows, program the other PCI
Memory Map and Devices
PPC/PMC-8260/DS1

Advertisement

Table of Contents
loading

Table of Contents