MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers         csxReleaseConfiguration(9F)



NAME
     csxReleaseConfiguration - release PC Card and socket confi-
     guration

SYNOPSIS
     #include 



     int32t csxReleaseConfiguration(clienthandlet ch, releaseconfigt *rc);


INTERFACE LEVEL
     Solaris DI Specific (Solaris DI)

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


     rc     Pointer to a releaseconfigt structure.


DESCRIPTION
     This function returns a PC  Card  and  socket  to  a  simple
     memory  only  interface  and  sets the card to configuration
     zero by writing a 0 to  the  PC  card's  COR  (Configuration
     Option Register).


     Card Services may remove power from the socket if no clients
     have  indicated  their  usage  of  the  socket  by an active
     csxRequestConfiguration(9F) or csxRequestWindow(9F).


     Card Services is prohibited from resetting the PC  Card  and
     is not required to cycle power through zero (0) volts.


     After  calling  csxReleaseConfiguration()   any   resources
     requested   via  the  request  functions  csxRequestIO(9F),
     csxRequestIRQ(9F), or  csxRequestWindow(9F)  that  are  no
     longer  needed  should  be returned to Card Services via the
     corresponding  csxReleaseIO(9F),   csxReleaseIRQ(9F),   or
     csxReleaseWindow(9F)  functions. csxReleaseConfiguration()
     must be called to release the current card and socket confi-
     guration  before  releasing  any  resources requested by the
     driver via the request functions named above.

STRUCTURE MEMBERS
     The structure members of releaseconfigt are:

       uint32t     Socket;     /* socket number */



SunOS 5.11          Last change: 19 Jul 1996                    1






Kernel Functions for Drivers         csxReleaseConfiguration(9F)



     The Socket field is not used in Solaris, but for portability
     with  other  Card Services implementations, it should be set
     to the logical socket number.

RETURN VALUES
     CSUCES                  Successful operation.


     CSBADHANDLE               Client  handle  is  invalid   or
                                 csxRequestConfiguration(9F) not
                                 done.


     CSBADSOCKET               Error getting or setting  socket
                                 hardware parameters.


     CSNOCARD                  No PC card in socket.


     CSUNSUPORTEDFUNCTION     No PCMCIA hardware installed.


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

SEE ALSO
     csxRegisterClient(9F),        csxRequestConfiguration(9F),
     csxRequestIO(9F), csxRequestIRQ(9F), csxRequestWindow(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 ™