csx_MapLogSocket(9F) Kernel Functions for Drivers csx_MapLogSocket(9F)NAME
csx_MapLogSocket - return the physical socket number associated with the client handle
SYNOPSIS
#include <sys/pccard.h>
int32_t csx_MapLogSocket(client_handle_t ch, map_log_socket_t *ls);
INTERFACE LEVEL
Solaris DDI Specific (Solaris DDI)
PARAMETERS
ch Client handle returned from csx_RegisterClient(9F).
ls Pointer to a map_log_socket_t structure.
DESCRIPTION
This function returns the physical socket number associated with the client handle.
STRUCTURE MEMBERS
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:
LogSocket Not used by this implementation of Card Services and can be set to any arbitrary value.
PhyAdapter Returns the physical adapter number, which is always 0 in the Solaris implementation of Card Services.
PhySocket 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.
RETURN VALUES
CS_SUCCESS Successful operation.
CS_BAD_HANDLE Client handle is invalid.
CS_UNSUPPORTED_FUNCTION No PCMCIA hardware installed.
CONTEXT
This function may be called from user or kernel context.
SEE ALSO csx_RegisterClient(9F)
PC Card 95 Standard, PCMCIA/JEIDA
SunOS 5.10 19 Jul 1996 csx_MapLogSocket(9F)
Check Out this Related Man Page
csx_ResetFunction(9F) Kernel Functions for Drivers csx_ResetFunction(9F)NAME
csx_ResetFunction - reset a function on a PC card
SYNOPSIS
#include <sys/pccard.h>
int32_t csx_ResetFunction(client_handle_t ch, reset_function_t *rf);
INTERFACE LEVEL
Solaris DDI Specific (Solaris DDI)
PARAMETERS
ch Client handle returned from csx_RegisterClient(9F).
rf Pointer to a reset_function_t structure.
DESCRIPTION
csx_ResetFunction() requests that the specified function on the PC card initiate a reset operation.
STRUCTURE MEMBERS
The structure members of reset_function_t are:
uint32_t Socket; /* socket number */
uint32_t Attributes; /* reset attributes */
The fields are defined as follows:
Socket Not used in Solaris, but for portability with other Card Services implementations, it should be set to the logical socket
number.
Attributes Must be 0.
RETURN VALUES
CS_SUCCESS Card Services has noted the reset request.
CS_IN_USE This Card Services implementation does not permit configured cards to be reset.
CS_BAD_HANDLE Client handle is invalid.
CS_NO_CARD No PC card in socket.
CS_BAD_SOCKET Specified socket or function number is invalid.
CS_UNSUPPORTED_FUNCTION No PCMCIA hardware installed.
CONTEXT
This function may be called from user or kernel context.
SEE ALSO csx_event_handler(9E), csx_RegisterClient(9F)
PC Card 95 Standard, PCMCIA/JEIDA
NOTES
csx_ResetFunction() has not been implemented in this release and always returns CS_IN_USE.
SunOS 5.11 19 Jul 1996 csx_ResetFunction(9F)
Ok here's the situation
We have an application that our users log into over the network to one of our unix boxes (Solaris 8). I had this situation occur the other day where an user claimed that he totally shutdown the app because it froze up and wasn't able to log back in.
I performed a... (1 Reply)
Hi
Can anybody tell what are the socket implementation differences between hp 10.x and Solaris 9? Does this affect the application (any) when I migrate from Hp to Solaris?
Charles C. (3 Replies)
I am trying to write a C server code that will handle WWW request from client. i am very new to socket programming. i can very well setup the socket...but when an incomin request comes from a browser, the progrom exits with an error message "Bad address". the following is the code. please do help... (1 Reply)
in socket programming how can i : Create for example 3 blank files, namely: server, client, network
•Server: act as servers/provider, will receive all requests from different client
•Client: requesters
•Network: middle-layer of communication between server & client
any tips or... (6 Replies)
I have several applications locked to Solaris 8 (and older) and have been very happy with my Sparcs and Ultras but am getting tinnitus problems from fans and disks.
Any tips on a quiet thin client (with decent graphics, not video or gaming level but 24bit and multi monitor would be useful) that... (0 Replies)