SVR5 and SCO OpenServer 5
ReleaseConfiguration(D3pccard)
ReleaseConfiguration --
release configuration information
Synopsis
#include <sys/types.h>
#include <sys/lcs.h>
#include <sys/lss.h>
int CardServices (ReleaseConfiguration, ClientHandle_t *pClientHandle,
int n1, int ReleaseConfigurationLen,
ReleaseConfiguration_t *pReleaseConfiguration,
rm_key_t key);
Description
ReleaseConfiguration( )
cancels I/O address mapping,
IRQ routing, VCC and VPP settings.
Arguments
pClientHandle-
Pointer to a
ClientHandle(D4pccard)
structure.
n1-
NULL
ReleaseConfigurationLen-
Length of the
ReleaseConfiguration(D4pccard)
structure.
Must be set to 2.
pReleaseConfiguration-
Pointer to a
ReleaseConfiguration(D4pccard)
structure.
key-
Resource manager
key.
Return values
BAD_ARG_LENGTH-
ReleaseConfigurationLen not equal to 2.
BAD_HANDLE-
ClientHandle does not match client
or client has no configuration registered.
BAD_SOCKET-
Socket does not match request.
SUCCESS-
Configuration successfully released.
Usage
ReleaseConfiguration( )
is called as part of client removal.
A 16-bit card and its socket
revert to a memory only interface and configuration zero.
This service disables I/O access
for 32-bit CardBus PC Cards.
Power to the socket may be shut down
if no other client expresses interest in it.
Context and synchronization
Interrupt, initialization, or user
context
Hardware applicability
All
Version applicability
pccard:
1, 2, 3
References
ClientHandle(D4pccard),
ReleaseConfiguration(D4pccard)
config(D2pccard),
halt(D2pccard),
_unload(D2pccard)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005