1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>sil_dev_config</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="SILInt.html" title="Chapter&#160;9.&#160;sata_sil Internals"><link rel="prev" href="API-sil-set-mode.html" title="sil_set_mode"><link rel="next" href="libataThanks.html" title="Chapter&#160;10.&#160;Thanks"></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">sil_dev_config</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-sil-set-mode.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;9.&#160;sata_sil Internals</th><td width="20%" align="right">&#160;<a accesskey="n" href="libataThanks.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-sil-dev-config"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>sil_dev_config &#8212; 
2     Apply device/host-specific errata fixups
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">void <b class="fsfunc">sil_dev_config </b>(</code></td><td>struct ata_device * <var class="pdparam">dev</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer">&#160;</div></div></div><div class="refsect1"><a name="idp1125114748"></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 to be examined
5    </p></dd></dl></div></div><div class="refsect1"><a name="idp1125116348"></a><h2>Description</h2><p>
6   After the IDENTIFY [PACKET] DEVICE step is complete, and a
7   device is known to be present, this function is called.
8   We apply two errata fixups which are specific to Silicon Image,
9   a Seagate and a Maxtor fixup.
10   </p><p>
11
12   For certain Seagate devices, we must limit the maximum sectors
13   to under 8K.
14   </p><p>
15
16   For certain Maxtor devices, we must not program the drive
17   beyond udma5.
18   </p><p>
19
20   Both fixups are unfairly pessimistic.  As soon as I get more
21   information on these errata, I will create a more exhaustive
22   list, and apply the fixups to only the specific
23   devices/hosts/firmwares that need it.
24   </p><p>
25
26   20040111 - Seagate drives affected by the Mod15Write bug are blacklisted
27   The Maxtor quirk is in the blacklist, but I'm keeping the original
28   pessimistic fix for the following reasons...
29   - There seems to be less info on it, only one device gleaned off the
30   Windows	driver, maybe only one is affected.  More info would be greatly
31   appreciated.
32   - But then again UDMA5 is hardly anything to complain about
33</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-sil-set-mode.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="SILInt.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="libataThanks.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">sil_set_mode</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;Chapter&#160;10.&#160;Thanks</td></tr></table></div></body></html>
34