<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>ata_force_cbl</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="libATA Developer's Guide" /><link rel="up" href="ch05.html" title="Chapter 5. libata Core Internals" /><link rel="prev" href="re60.html" title="ata_dev_phys_link" /><link rel="next" href="re62.html" title="ata_force_link_limits" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>ata_force_cbl</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re60.html">Prev</a> </td><th width="60%" align="center">Chapter 5. libata Core Internals</th><td width="20%" align="right"> <a accesskey="n" href="re62.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="ata_force_cbl"><a id="API-ata-force-cbl"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ata_force_cbl — force cable type according to libata.force </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table"><tr><td><code class="funcdef">void <b class="fsfunc">ata_force_cbl </b>(</code></td><td>struct ata_port * <var class="pdparam">ap</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1" title="Arguments"><a id="id2901548"></a><h2>Arguments</h2><div class="variablelist"><dl><dt><span class="term"><em class="parameter"><code>ap</code></em></span></dt><dd><p> ATA port of interest </p></dd></dl></div></div><div class="refsect1" title="Description"><a id="id2901574"></a><h2>Description</h2><p> Force cable type according to libata.force and whine about it. The last entry which has matching port number is used, so it can be specified as part of device force parameters. For example, both <span class="quote">“<span class="quote">a:40c,1.00:udma4</span>”</span> and <span class="quote">“<span class="quote">1.00:40c,udma4</span>”</span> have the same effect. </p></div><div class="refsect1" title="LOCKING"><a id="id2901594"></a><h2>LOCKING</h2><p> EH context. </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re60.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch05.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="re62.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>ata_dev_phys_link</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span>ata_force_link_limits</span></td></tr></table></div></body></html>