NPAB_Get_Bus_Info

Returns the size of the bus addresses associated with busTag.

Thread Context:Non-Blocking

Syntax

    LONG NPAB_Get_Bus_Info (
       LONG   npaHandle,
       LONG   busTag,
       LONG  *physicalMemAddrSize,
       LONG  *ioAddrSize
       );
    
    

Parameters

npaHandle
(IN) The HAM's handle for using the NPA APIs, assigned during NPA_Register_HAM_Module.
busTag
(IN) A value returned by NPAB_Search_Adapter or by parsing the Product ID option of the NPAOptionStruct. This value specifies the bus on which the operation is to be performed.
physicalMemAddrSize
(OUT) The size in bits of a physical address on the bus specified by busTag.
ioAddrSize
(OUT) The size in bits of an I/O address on the bus specified by busTag.

Return Values

The following table lists return values and descriptions.

zero

The requested operation was completed successfully.

6

The specified bus does not exist.

Remarks

NPAB_Get_Bus_Info returns supplementary information about the specified bus that might be of use to drivers or to installation and configuration utilities. The bus-specific structures returned by this call are:

The PCCardInfoStructure handles both PC Card and CardBus information.