MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers       csxParseCISTPLBYTEORDER(9F)



NAME
     csxParseCISTPLBYTEORDER - parse the Byte Order tuple

SYNOPSIS
     #include 



     int32t csxParseCISTPLBYTEORDER(clienthandlet ch, tuplet *tu,
          cistplbyteordert *cbo);


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).


     cbo     Pointer to a cistplbyteordert structure which con-
             tains  the parsed CISTPLBYTEORDER tuple information
             upon return from this function.


DESCRIPTION
     This function parses the Byte Order tuple, CISTPLBYTEORDER,
     into a form usable by PC Card drivers.


     The CISTPLBYTEORDER tuple shall only appear in a  partition
     tuple  set  for  a  memory-like  partition. It specifies two
     parameters: the order for multi-byte data, and the order  in
     which bytes map into words for 16-bit cards.

STRUCTURE MEMBERS
     The structure members of cistplbyteordert are:

       uint32t     order;     /* byte order code */
       uint32t     map;       /* byte mapping code */



     The fields are defined as follows:

     order     This field specifies the byte order for multi-byte
               numeric data.




SunOS 5.11          Last change: 20 Dec 1996                    1






Kernel Functions for Drivers       csxParseCISTPLBYTEORDER(9F)



               TPLBYTEORDLOW    Little endian order


               TPLBYTEORDVS     Vendor specific



     map       This field specifies the byte mapping  for  16-bit
               or wider cards.

               TPLBYTEMAPLOW     Byte zero is least  significant
                                  byte


               TPLBYTEMAPHIGH    Byte zero is  most  significant
                                  byte


               TPLBYTEMAPVS      Vendor specific mapping



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) PC Card.


     CSUNSUPORTEDFUNCTION     No PCMCIA hardware installed.


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

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






SunOS 5.11          Last change: 20 Dec 1996                    2






Kernel Functions for Drivers       csxParseCISTPLBYTEORDER(9F)



     PC Card 95 Standard, PCMCIA/JEIDA






















































SunOS 5.11          Last change: 20 Dec 1996                    3



OpenSolaris man pages main menu

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