ata_dev_read_id man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

ATA_DEV_READ_ID(9)	     libata Core Internals	    ATA_DEV_READ_ID(9)

NAME
       ata_dev_read_id - Read ID data from the specified device

SYNOPSIS
       int ata_dev_read_id(struct ata_device * dev, unsigned int * p_class,
			   unsigned int flags, u16 * id);

ARGUMENTS
       dev
	   target device

       p_class
	   pointer to class of the target device (may be changed)

       flags
	   ATA_READID_* flags

       id
	   buffer to read IDENTIFY data into

DESCRIPTION
       Read ID data from the specified device. ATA_CMD_ID_ATA is performed on
       ATA devices and ATA_CMD_ID_ATAPI on ATAPI devices. This function also
       issues ATA_CMD_INIT_DEV_PARAMS for pre-ATA4 drives.

FIXME
       ATA_CMD_ID_ATA is optional for early drives and right now we abort if
       we hit that case.

LOCKING
       Kernel thread context (may sleep)

RETURNS
       0 on success, -errno otherwise.

AUTHOR
       Jeff Garzik
	   Author.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013		    ATA_DEV_READ_ID(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net