Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug

NAME

       taskfile_load_raw - send taskfile registers to host controller

SYNOPSIS

       void taskfile_load_raw  (struct ata_port * ap,
                                 struct ata_device * atadev,
                                 const struct taskfile_array * gtf);

ARGUMENTS

       ap     Port to which output is sent

       atadev -- undescribed --

       gtf    raw ATA taskfile register set (0x1f1 - 0x1f7)

DESCRIPTION

       Outputs  ATA taskfile to standard ATA host controller using MMIO or PIO
       as indicated by the ATA_FLAG_MMIO flag. Writes  the  control,  feature,
       nsect,  lbal,  lbam,  and  lbah registers. Optionally (ATA_TFLAG_LBA48)
       writes hob_feature, hob_nsect, hob_lbal, hob_lbam, and hob_lbah.

       This function waits for idle (!BUSY and !DRQ) after writing  registers.
       If  the  control register has a new value, this function also waits for
       idle after writing control and before writing the remaining  registers.

LOCKING

       TBD: Inherited from caller.

AUTHOR

       Jeff Garzik.