MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers         csxParseCISTPLJEDEC(9F)



NAME
     csxParseCISTPLJEDEC, csxParseCISTPLJEDECA  -  parse
     JEDEC Identifier tuples

SYNOPSIS
     #include 



     int32t csxParseCISTPLJEDEC(clienthandlet ch, tuplet *tu,
          cistpljedect *cj);


     int32t csxParseCISTPLJEDECA(clienthandlet ch, tuplet *tu,
          cistpljedect *cj);


INTERFACE LEVEL
     Solaris DI Specific (Solaris DI)

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


     tu    Pointer  to  a  tuplet  structure   (see   tuple(9S))
           returned   by   a  call  to  csxGetFirstTuple(9F)  or
           csxGetNextTuple(9F).


     cj    Pointer to a cistpljedect structure  which  contains
           the  parsed  CISTPLJEDEC  or  CISTPLJEDECA  tuple
           information upon return from these functions,  respec-
           tively.


DESCRIPTION
     csxParseCISTPLJEDEC()  and   csxParseCISTPLJEDECA()
     parse   the  JEDEC  Identifier  tuples,  CISTPLJEDEC  and
     CISTPLJEDECA, respectively, into a form usable by PC  Card
     drivers.


     The CISTPLJEDEC and CISTPLJEDECA  tuples  are  optional
     tuples  provided  for cards containing programmable devices.
     They describe information for  Common  Memory  or  Attribute
     Memory space, respectively.

STRUCTURE MEMBERS
     The structure members of cistpljedect are:

        uint32t        nid;   /* # of JEDEC identifiers present */
         jedecidentt   jid[CISTPLJEDECMAXIDENTIFIERS];



SunOS 5.11          Last change: 20 Dec 1996                    1






Kernel Functions for Drivers         csxParseCISTPLJEDEC(9F)



     The structure members of jedecidentt are:

        uint32t        id;    /* manufacturer id */
         uint32t        info;  /* manufacturer specific info */


RETURN VALUES
     CSUCES                 Successful operation.


     CSBADHANDLE              Client handle is invalid.


     CSUNKNOWNTUPLE           Parser does not know how to parse
                                tuple.


     CSNOCARD                 No PC Card in socket.


     CSNOCIS                  No  Card  Information   Structure
                                (CIS) on PC Card.


     CSUNSUPORTEDFUNCTION    No PCMCIA hardware installed.


CONTEXT
     These functions may be called from user or kernel context.

SEE ALSO
     csxGetFirstTuple(9F),                 csxGetTupleData(9F),
     csxParseCISTPLDEVICE(9F),         csxRegisterClient(9F),
     csxValidateCIS(9F), tuple(9S)


     PC Card 95 Standard, PCMCIA/JEIDA


















SunOS 5.11          Last change: 20 Dec 1996                    2



OpenSolaris man pages main menu

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