CSX_MODIFYCONFIGURATION(9F) | Kernel Functions for Drivers | CSX_MODIFYCONFIGURATION(9F) |
csx_ModifyConfiguration - modify socket and PC Card Configuration Register
#include <sys/pccard.h> int32_t csx_ModifyConfiguration(client_handle_t ch, modify_config_t *mc);
illumos DDI Specific (illumos DDI)
ch
mc
This function allows a socket and PC Card configuration to be modified. This function can only modify a configuration requested via csx_RequestConfiguration(9F).
The structure members of modify_config_t are:
uint32_t Socket; /* socket number */ uint32_t Attributes; /* attributes to modify */ uint32_t Vpp1; /* Vpp1 value */ uint32_t Vpp2; /* Vpp2 value */
The fields are defined as follows:
Socket
Attributes
CONF_ENABLE_IRQ_STEERING
CONF_IRQ_CHANGE_VALID
CONF_VPP1_CHANGE_VALID
CONF_VPP2_CHANGE_VALID
CONF_VSOVERRIDE
Vpp1, Vpp2
CS_SUCCESS
CS_BAD_HANDLE
CS_BAD_SOCKET
CS_BAD_VPP
CS_NO_CARD
CS_UNSUPPORTED_FUNCTION
This function may be called from user or kernel context.
csx_RegisterClient(9F), csx_ReleaseConfiguration(9F), csx_ReleaseIO(9F), csx_ReleaseIRQ(9F), csx_RequestConfiguration(9F), csx_RequestIO(9F), csx_RequestIRQ(9F)
PC Card 95 Standard, PCMCIA/JEIDA
Mapped IO addresses can only be changed by first releasing the current configuration and IO resources with csx_ReleaseConfiguration(9F) and csx_ReleaseIO(9F), requesting new IO resources and a new configuration with csx_RequestIO(9F), followed by csx_RequestConfiguration(9F).
IRQ priority can only be changed by first releasing the current configuration and IRQ resources with csx_ReleaseConfiguration(9F) and csx_ReleaseIRQ(9F), requesting new IRQ resources and a new configuration with csx_RequestIRQ(9F), followed by csx_RequestConfiguration(9F).
Vcc can not be changed using csx_ModifyConfiguration(). Vcc may be changed by first invoking csx_ReleaseConfiguration(9F), followed by csx_RequestConfiguration(9F) with a new Vcc value.
July 19, 1996 | OmniOS |