DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5 and SCO OpenServer 5

Partition(D4pccard)


Partition -- PC Card partition information

Syntax (Used with unsupported services)

   #include <sys/lcs.h>
   #include <sys/lss.h>
   

Description

The Partition structure is used to pass device information for a partition on a card in the specified socket based on the PC Card's CIS.

Structure definition

   unsigned short      usSocket;
   unsigned short      usAttributes;
   unsigned char       ucTupleMask;
   unsigned char       ucAccessSpeed;
   unsigned short      usFlags;
   unsigned long       ulLinkOffset;
   unsigned long       ulCISOffset;
   unsigned long       ulCardOffset;
   unsigned long       ulPartSize;
   unsigned long       ulEffBlockSize;
   unsigned short      usPartMultiple;
   unsigned short      usJedecID;
   unsigned short      usPartType;

Structure members

The members are defined as:

usSocket
Logical socket.

usAttributes
Partition attributes.

Bit 0
memory type (set=attribute, reset=common)

Bits 1-2
Resrved; reset to zero.

Bits 3-4
Prefetchable/cacheable


0
neither

1
prefetchable only

2
both

3
reserved

Bits 5-7
Reserved; reset to zero

Bit 8
Virtual paratition (set to one=true)

Bits 9-10
Write/erase interaction


0
write without erase

1
write with erase

2
reserved

3
write with disable erase

Bit 11
Write with verify

Bit 12
Erase requests supported

Bits 13-15
Base address register number (1-7)

ucTupleMask
Bit-mapped member.

Bit 0
access speed from tuples (set=true)

Bit 1
card offset from tuples (set=true)

Bit 2
port size from tuples (set-true)

Bit 3
EFF block size from tuples (set=true)

Bit 4
Port multiple from tuples (set=true)

Bit 6
JEDEC ID from tuples (set=true)

Bit 7
reserved; reset to zero

ucAccessSpeed
Window speed.

usFlags
CS partition flags data.

ulLinkOffset
CS partition link data.

ulCISOffset
CS partition CIS data.

ulCardOffset
Card memory region offset.

ulPartSize
Partition size.

ulEffBlockSize
Erase block size.

usPartMultiple
Partition multiple.

usJedecID
Partition JEDEC memory ID code.

usPartType
Partition type member.

Usage

Hardware applicability

All

Version applicability

pccard: 3

References

GetFirstPartition(D3pccard), GetFirstRegion(D3pccard), GetNextPartition(D3pccard)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005