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

NAME

       do_drive_set_taskfiles - write the drive taskfile settings from _GTF

SYNOPSIS

       int do_drive_set_taskfiles  (struct ata_port * ap,
                                     struct ata_device * atadev,
                                     unsigned int gtf_length,
                                     unsigned long gtf_address);

ARGUMENTS

       ap     the ata_port for the drive

       atadev target ata_device

       gtf_length
              total number of bytes of _GTF taskfiles

       gtf_address
              location of _GTF taskfile arrays

DESCRIPTION

       This applies to both PATA and SATA drives.

       Write {gtf_address, length gtf_length} in groups of REGS_PER_GTF bytes.

AUTHOR

       Jeff Garzik.