3.2. I/O Address Assignment
The plug & play BIOS will assign a proper I/O address to each PCI device. If there is
only one PIO/PISO board, the board can be identified as card-0. If there are two or more
PIO/PISO boards in the system, it is very difficult to identify which board is card-0? The
software driver can support a maximum of 16 boards. Therefore, it is possible to install 16
PIO/PISO series boards in a single PC system. The following describes the method for
identifying card-0 and card-1.
It is difficult to identify the card number. The simplest way to identify which card is
card-0 is to use the wSlotBus and wSlotDevice functions as follows:
1. Remove all PIO and PISO series cards from the PC.
2. Install a single PISO-P8R8U/P16R16U or PEX-P8R8i/P16R16i into PCI_slot1 of the PC,
then run PIO_PISO.EXE and record the wSlotBus1 and wSlotDevice1 information.
3. Remove all PIO and PISO series cards from the PC.
4. Install a single PISO-P8R8U/P16R16U or PEX-P8R8i/P16R16i into PCI_slot2 of the PC,
then run PIO_PISO.EXE & record the wSlotBus2 and wSlotDevice2 information.
5. Repeat steps 3 and 4 for all PCI slots, and record all wSlotBus and wSlotDevice
information.
An example of the records may be as follows:
PCI slot
wSlotBus
wSlotDevice
Slot_1 0
0x07
Slot_2 0
0x08
Slot_3 0
0x09
Slot_4 0
0x0A
PCI-BRIDGE
Slot_5 1
0x0A
Slot_6 1
0x08
Slot_7 1
0x09
Slot_8 1
0x07
The above procedure will allow all wSlotBus and wSlotDevice information in the PC to
be recorded. These values will be mapped to the physical slots on the PC, and the
mapping
will not be changed for any PIO/PISO cards.
Therefore, the information can be used to
identify the specific PIO/PISO cards as follows:
Step 1: Record all wSlotBus and wSlotDevice information.
Step 2: Use the PIO_GetConfigAddressSpace(…) function to retrieve the wSlotBus and
wSlotDevice information of specific cards.
Step 3: Comparing the wSlotBus and wSlotDevice information obtained in Step 1 and 2 can
identify the specific PIO/PISO cards.
PISO-P8R8U/P16R16U/PEX-P8R8i/P16R16i User Manual (Ver.1.6,Mar/2010, PMH-021-16) -
21
-