CSX_CONVERTSPEED(9F) | Kernel Functions for Drivers | CSX_CONVERTSPEED(9F) |
csx_ConvertSpeed - convert device speeds
#include <sys/pccard.h> int32_t csx_ConvertSpeed(convert_speed_t *cs);
illumos DDI Specific (illumos DDI)
cs
This function is an illumos-specific extension that provides a method for clients to convert from one type of device speed representation to another, that is, from devspeed format to nS and vice versa.
The structure members of convert_speed_t are:
uint32_t Attributes; uint32_t nS; uint32_t devspeed;
The fields are defined as follows:
Attributes
CONVERT_NS_TO_DEVSPEED
CONVERT_DEVSPEED_TO_NS
nS
devspeed
CS_SUCCESS
CS_BAD_SPEED
CS_BAD_ATTRIBUTE
CS_UNSUPPORTED_FUNCTION
This function may be called from user or kernel context.
csx_ModifyWindow(9F), csx_RequestWindow(9F)
PC Card 95 Standard, PCMCIA/JEIDA
July 19, 1996 | OmniOS |