MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers     csxParseCISTPLDEVICEGEOA(9F)



NAME
     csxParseCISTPLDEVICEGEOA - parse the Device Geo A tuple

SYNOPSIS
     #include 



     int32t csxParseCISTPLDEVICEGEOA(clienthandlet ch, tuplet *tp,
          cistpldevicegeot *pt);


INTERFACE LEVEL
     Solaris DI Specific (Solaris DI)

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


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


     pt     Pointer to a cistpldevicegeot structure which  con-
            tains  the parsed Device Geo A tuple information upon
            return from this function.


DESCRIPTION
     This   function   parses   the   Device   Geo    A    tuple,
     CISTPLDEVICEGEOA, into a form usable by PC Card drivers.


     The CISTPLDEVICEGEOA tuple describes the  device  geometry
     of attribute memory partitions.

STRUCTURE MEMBERS
     The structure members of cistpldevicegeot are:

       uint32t     info[CISTPLDEVICEGEOMAXPARTITIONS].bus;
       uint32t     info[CISTPLDEVICEGEOMAXPARTITIONS].ebs;
       uint32t     info[CISTPLDEVICEGEOMAXPARTITIONS].rbs;
       uint32t     info[CISTPLDEVICEGEOMAXPARTITIONS].wbs;
       uint32t     info[CISTPLDEVICEGEOMAXPARTITIONS].part;
       uint32t     info[CISTPLDEVICEGEOMAXPARTITIONS].hwil;



     The fields are defined as follows:





SunOS 5.11          Last change: 16 May 1997                    1






Kernel Functions for Drivers     csxParseCISTPLDEVICEGEOA(9F)



     info[CISTPLDEVICEGEOMAXPARTITIONS].bus

         This field indicates the card interface width  in  bytes
         for the given partition.


     info[CISTPLDEVICEGEOMAXPARTITIONS].ebs

         This field indicates the minimum erase  block  size  for
         the given partition.


     info[CISTPLDEVICEGEOMAXPARTITIONS].rbs

         This field indicates the minimum read block size for the
         given partition.


     info[CISTPLDEVICEGEOMAXPARTITIONS].wbs

         This field indicates the minimum write  block  size  for
         the given partition.


     info[CISTPLDEVICEGEOMAXPARTITIONS].part

         This field indicates the segment partition  subdivisions
         for the given partition.


     info[CISTPLDEVICEGEOMAXPARTITIONS].hwil

         This field indicates the  hardware  interleave  for  the
         given partition.


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.



SunOS 5.11          Last change: 16 May 1997                    2






Kernel Functions for Drivers     csxParseCISTPLDEVICEGEOA(9F)



     CSUNSUPORTEDFUNCTION     No PCMCIA hardware installed.


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

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


     PC Card 95 Standard, PCMCIA/JEIDA










































SunOS 5.11          Last change: 16 May 1997                    3



OpenSolaris man pages main menu

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