csx_MapLogSocket - return the physical socket number associated with the client
int32_t csx_MapLogSocket(client_handle_t ch, map_log_socket_t *ls);
illumos DDI Specific (illumos DDI)
Pointer to a map_log_socket_t structure.
This function returns the physical socket number associated with the client
The structure members of map_log_socket_t are:
uint32_t LogSocket; /* logical socket number */
uint32_t PhyAdapter; /* physical adapter number */
uint32_t PhySocket; /* physical socket number */
The fields are defined as follows:
Not used by this implementation of Card Services and can
be set to any arbitrary value.
Returns the physical adapter number, which is always
0 in the illumos implementation of Card Services.
Returns the physical socket number associated with the
client handle. The physical socket number is typically used as part of an
error or message string or if the client creates minor nodes based on the
physical socket number.
Client handle is invalid.
No PCMCIA hardware installed.
This function may be called from user or kernel context.