Name

ata_data_xfer_noirq — Transfer data by PIO

Synopsis

unsigned int ata_data_xfer_noirq (struct ata_device *  dev,
 unsigned char *  buf,
 unsigned int  buflen,
 int  rw);

Arguments

dev

device to target

buf

data buffer

buflen

buffer length

rw

read/write

Description

Transfer data from/to the device data register by PIO. Do the transfer with interrupts disabled.

LOCKING

Inherited from caller.

RETURNS

Bytes consumed.