I2O_BLOCK_TRANSFER

Section: Message-based devices (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

i2o_block_transfer - Transfer a request to/from the I2O controller  

SYNOPSIS

int i2o_block_transfer(struct request * req);
 

ARGUMENTS

req

the request which should be transfered
 

DESCRIPTION

This function converts the request into a I2O message. The necessary DMA buffers are allocated and after everything is setup post the message to the I2O controller. No cleanup is done by this function. It is done on the interrupt side when the reply arrives.

Return 0 on success or negative error code on failure.  

COPYRIGHT