1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>ata_do_dev_read_id</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="libATA Developer's Guide"><link rel="up" href="libataExt.html" title="Chapter 4. libata Library"><link rel="prev" href="API-ata-pio-need-iordy.html" title="ata_pio_need_iordy"><link rel="next" href="API-ata-cable-40wire.html" title="ata_cable_40wire"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">ata_do_dev_read_id</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-ata-pio-need-iordy.html">Prev</a> </td><th width="60%" align="center">Chapter 4. libata Library</th><td width="20%" align="right"> <a accesskey="n" href="API-ata-cable-40wire.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-ata-do-dev-read-id"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ata_do_dev_read_id — 2 default ID read method 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">unsigned int <b class="fsfunc">ata_do_dev_read_id </b>(</code></td><td>struct ata_device * <var class="pdparam">dev</var>, </td></tr><tr><td> </td><td>struct ata_taskfile * <var class="pdparam">tf</var>, </td></tr><tr><td> </td><td>u16 * <var class="pdparam">id</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idp1123524268"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>dev</code></em></span></dt><dd><p> 4 device 5 </p></dd><dt><span class="term"><em class="parameter"><code>tf</code></em></span></dt><dd><p> 6 proposed taskfile 7 </p></dd><dt><span class="term"><em class="parameter"><code>id</code></em></span></dt><dd><p> 8 data buffer 9 </p></dd></dl></div></div><div class="refsect1"><a name="idp1123527740"></a><h2>Description</h2><p> 10 Issue the identify taskfile and hand back the buffer containing 11 identify data. For some RAID controllers and for pre ATA devices 12 this function is wrapped or replaced by the driver 13</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-ata-pio-need-iordy.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="libataExt.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-ata-cable-40wire.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">ata_pio_need_iordy</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">ata_cable_40wire</span></td></tr></table></div></body></html> 14