NPAB_Get_Unique_Identifier
Returns a bus-specific value that uniquely identifies a specific device (such as an OEM chip set) on an adapter.
LONG NPAB_Get_Unique_Identifier ( LONG npaHandle, LONG busTag, LONG *parameters, LONG parameterCount, LONG *uniqueID );
Novell provides a registry of the meanings of these parameters for each bus.
The following are the parameter values for each bus type:
CardBus Bus
EISA Bus
MCA Bus
PC Card (PCMCIA) Bus
PCI Bus
PnP ISA Bus
Parameter |
Value |
---|---|
parameterCount |
2 |
parameters[0] |
CSN (Least significant byte), Logical Device Number (Next least significant byte), MSW = 0 |
parameters[1] |
Read Data Port Value (LSW), MSW = 0 parameters[1] is not used (set to 0) in NPAB_Get_Unique_Identifier, but is required by NPAB_Get_Unique_Identifier_Parameters |
The following table lists return values and descriptions.
This function allows for parameters used in identifying adapters placed in physical slots and the functions on the adapter to be converted to system architecture-dependent values required in the operation of the adapter. Unique identifiers are interpreted only by other HAI/NBI functions. To the caller they are a token with no predefined format.