Unix/Linux Go Back    


SuSE 11.3 - man page for ata_exec_internal (suse section 9)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


ATA_EXEC_INTERNAL(9)		      libata Core Internals		     ATA_EXEC_INTERNAL(9)

NAME
       ata_exec_internal - execute libata internal command

SYNOPSIS
       unsigned ata_exec_internal(struct ata_device * dev, struct ata_taskfile * tf,
				  const u8 * cdb, int dma_dir, void * buf, unsigned int buflen,
				  unsigned long timeout);

ARGUMENTS
       dev
	   Device to which the command is sent

       tf
	   Taskfile registers for the command and the result

       cdb
	   CDB for packet command

       dma_dir
	   Data tranfer direction of the command

       buf
	   Data buffer of the command

       buflen
	   Length of data buffer

       timeout
	   Timeout in msecs (0 for default)

DESCRIPTION
       Wrapper around ata_exec_internal_sg which takes simple buffer instead of sg list.

LOCKING
       None. Should be called with kernel context, might sleep.

RETURNS
       Zero on success, AC_ERR_* mask on failure

AUTHOR
       Jeff Garzik
	   Author.

COPYRIGHT
Kernel Hackers Manual 2.6.		    July 2010			     ATA_EXEC_INTERNAL(9)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 12:33 PM.