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

RegisterMTD(D3pccard)


RegisterMTD -- registers a Memory Technology Driver (MTD) with ClientServices

Synopsis (Unsupported service)

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

int CardServices (RegisterMTD, ClientHandle_t *pClientHandle, int n1, int RegisterMTDLen, RegisterMTD_t *pRegisterMTD, rm_key_t key);

Description

RegisterMTD( ) registers a Memory Technology Driver (MTD) with CardServices( ).

Arguments


pClientHandle
Pointer to a ClientHandle(D4pccard) structure.

n1
NULL

RegisterMTDLen
Length of the RegisterMTD(D4pccard) structure

pRegisterMTD
Pointer to a RegisterMTD(D4pccard) structure

key
Resource manager key.

Return values


UNSUPPORTED_SERVICE
Service not currently supported.

Usage

PC Cards that require MTDs are specialized and often contain executables. A card's matching MTD has knowledge of the pecularities of the card and can call the executables on board. However, a MTD still configures the card through CardServices and CardServices sends event notifications to the MTD.

The data structures for RegisterMTD are given as follows:

Context and synchronization

Blockable, initialization, or user context

Hardware applicability

All

Version applicability

pccard: 3

References

ClientHandle(D4pccard), RegisterMTD(D4pccard)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005