Sophie

Sophie

distrib > CentOS > 6 > i386 > media > centosplus > by-pkgid > 6efc7723be230e5ae7ff07a43bc919ee > files > 2586

kernel-doc-2.6.32-131.0.15.el6.centos.plus.noarch.rpm

<?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>mca_find_unused_adapter</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="MCA Driver Programming Interface" /><link rel="up" href="ch03.html" title="Chapter&#160;3.&#160;Public Functions Provided" /><link rel="prev" href="re01.html" title="mca_find_adapter" /><link rel="next" href="re03.html" title="mca_read_stored_pos" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>mca_find_unused_adapter</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re01.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;3.&#160;Public Functions Provided</th><td width="20%" align="right">&#160;<a accesskey="n" href="re03.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="mca_find_unused_adapter"><a id="API-mca-find-unused-adapter"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>mca_find_unused_adapter &#8212; 
     scan for unused adapters
 </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">int <b class="fsfunc">mca_find_unused_adapter </b>(</code></td><td>int <var class="pdparam">id</var>, </td></tr><tr><td>&#160;</td><td>int <var class="pdparam">start</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer">&#160;</div></div></div><div class="refsect1" title="Arguments"><a id="id2722412"></a><h2>Arguments</h2><div class="variablelist"><dl><dt><span class="term"><em class="parameter"><code>id</code></em></span></dt><dd><p>
     MCA identification to search for
    </p></dd><dt><span class="term"><em class="parameter"><code>start</code></em></span></dt><dd><p>
     starting slot
    </p></dd></dl></div></div><div class="refsect1" title="Description"><a id="id2722455"></a><h2>Description</h2><p>
   Search the MCA configuration for adapters matching the 16bit
   ID given. The first time it should be called with start as zero
   and then further calls made passing the return value of the
   previous call until <code class="constant">MCA_NOTFOUND</code> is returned.
   </p><p>

   Adapters that have been claimed by drivers and those that
   are disabled are not reported. This function thus allows a driver
   to scan for further cards when some may already be driven.
</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re01.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch03.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="re03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>mca_find_adapter</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;<span>mca_read_stored_pos</span></td></tr></table></div></body></html>