Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/pms/freebsd/driver/ini/src/osapi.c
Show First 20 Lines • Show All 758 Lines • ▼ Show 20 Lines | |||||
// intentions. | // intentions. | ||||
osGLOBAL bit32 | osGLOBAL bit32 | ||||
ostiSetDeviceQueueDepth( tiRoot_t *tiRoot, | ostiSetDeviceQueueDepth( tiRoot_t *tiRoot, | ||||
tiIORequest_t *tiIORequest, | tiIORequest_t *tiIORequest, | ||||
bit32 QueueDepth | bit32 QueueDepth | ||||
) | ) | ||||
{ | { | ||||
bit32 retVal = 0; | bit32 retVal = 0; | ||||
struct agtiapi_softc *pCard = TIROOT_TO_CARD(tiRoot); | |||||
ccb_t *pccb = (ccb_t *) tiIORequest->osData; | ccb_t *pccb = (ccb_t *) tiIORequest->osData; | ||||
tiDeviceHandle_t *tiDeviceHandle = pccb->devHandle; | tiDeviceHandle_t *tiDeviceHandle = pccb->devHandle; | ||||
ag_device_t *pDevice = (ag_device_t *)tiDeviceHandle->osData; | ag_device_t *pDevice = (ag_device_t *)tiDeviceHandle->osData; | ||||
AGTIAPI_PRINTK( "ostiSetDeviceQueueDepth stub only: root%p, req%p, qdeep%d\n", | AGTIAPI_PRINTK( "ostiSetDeviceQueueDepth stub only: root%p, req%p, qdeep%d\n", | ||||
tiRoot, tiIORequest, QueueDepth ); | tiRoot, tiIORequest, QueueDepth ); | ||||
pDevice->qdepth = QueueDepth; | pDevice->qdepth = QueueDepth; | ||||
return retVal; | return retVal; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |