MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers                 csxMapLogSocket(9F)



NAME
     csxMapLogSocket - return the physical socket number associ-
     ated with the client handle

SYNOPSIS
     #include 



     int32t csxMapLogSocket(clienthandlet ch, maplogsockett *ls);


INTERFACE LEVEL
     Solaris DI Specific (Solaris DI)

PARAMETERS
     ch     Client handle returned from csxRegisterClient(9F).


     ls     Pointer to a maplogsockett structure.


DESCRIPTION
     This function returns the physical socket number  associated
     with the client handle.

STRUCTURE MEMBERS
     The structure members of maplogsockett are:

       uint32t     LogSocket;      /* logical socket number */
       uint32t     PhyAdapter;     /* physical adapter number */
       uint32t     PhySocket;      /* physical socket number */



     The fields are defined as follows:

     LogSocket      Not used by this implementation of Card  Ser-
                    vices 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.



SunOS 5.11          Last change: 19 Jul 1996                    1






Kernel Functions for Drivers                 csxMapLogSocket(9F)



RETURN VALUES
     CSUCES                  Successful operation.


     CSBADHANDLE               Client handle is invalid.


     CSUNSUPORTEDFUNCTION     No PCMCIA hardware installed.


CONTEXT
     This function may be called from user or kernel context.

SEE ALSO
     csxRegisterClient(9F)


     PC Card 95 Standard, PCMCIA/JEIDA





































SunOS 5.11          Last change: 19 Jul 1996                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™