System32 Function 34 (22h) - Get I/O Resources used by a PCI Card

Description
This service can return the I/O resources used by a specific PCI Card !
Input

AL

34d(22h)

BH

PCI Class

BL

PCI Sub Class

CL

Index in DeviceList

CH

Index in I/O ResourceList
Output

AL

0 if Ok, > 0 if Error (Device not found)

EBX

Port Base Address
Errorcodes

None

None
Notes
The value in CL, 'Index in DeviceList' can be used to support multiple cards of the same type, for example when System32 Service 32 reports that there are 2 Ethernet Cards installed, then CL can indicate which card to get the information from... (0 for Nic 1, 1 for Nic 2, etc...)

The value in CH, 'Index in I/O ResourceList' is used when multiple I/O resources are used. (0 for I/O Resource 1, 1 for I/O Resource 2, etc...)

To get a list resources used by PCI Devices that are installed, use the 'pciinfo' command with a pci(Sub)Class as a parameter from the command prompt... (Example 'pciinfo 0200' lists all ethernetcards, and their resources!)
Development Status
Complete

Back