3. I/O Registers

3.1 How to Find the I/O Address

The Plug & Play BIOS will assign a valid I/O address to all OME-PCI-1002 cards in the system during the computer’s power-on stage. The ID numbers of OME-PCI-1002 are shown below:

Vendor ID

= 1234

Device ID

= 1002

Associated Driver Functions:

1.P1002_DriverInit(&wBoard)

This function detects the number of OME-PCI-1002 cards in the system.

wBoard=1 Æ only one OME-PCI-1002 in this PC system.

wBoard=2 Æ there are two OME-PCI-1002 in this PC system.

2.P1002_GetConfigAddressSpace(wBoardNo, *wBase, *wIrq, *wPLX) Use this function to determine the resources for all cards installed in the system.

This is used when writing directly to the card’s I/O addresses.

wBoardNo=0 to N Æ totally N+1 cards of OME-PCI-1002

wBase Æ base address of the board control word

wIrq Æ allocated IRQ channel number of this board

wPLX Æ base address of PCI-interface-IC

26

Page 26
Image 26
Omega 1002 manual O Registers, How to Find the I/O Address