ACC SHELL

Path : /usr/share/doc/packages/yast2-tune/autodocs/
File Upload :
Current File : //usr/share/doc/packages/yast2-tune/autodocs/NewID.html

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html>
 <head>
  <title>
Set new PCI ID for kernel drivers
</title>
  <style type="text/css">body { background-color: #c8c8c8 }
h1 { color: #e00000 }
table { width: 100%/ border: none }
img { border: 0px }
.sigbox { background-color: #ffc080; border: solid thin #f96500 }
.sig { font: larger monospace }
.padtbl { background-color: #ffc080; padding: 10px; margin: 10px }
/* arrow */
.a { color: #606060 }
/* type, parameter */
.t, .p { color: #c05000 }
.pbox { width: 20% }
.descbox { }
.right { align: right }
.header {}
.footer { clear: both}
.menu { width: 10%; float: left }
.main { width: 90%; float: left }
</style>
 </head>
 <body>
  <div class="header">
   <i>YaST2 Developers Documentation:</i>
   <a href="index.html">
    <b>
Set new PCI ID for kernel drivers
</b>
   </a>
   <img class="right" alt="" src="/usr/share/doc/packages/yast2-devtools/images/yast2-mini.png" />
   <hr />
  </div>
  <div class="menu">
   <img alt="YaST" src="/usr/share/doc/packages/yast2-devtools/images/yast2-half.png" />
   <br />
   <br />
   <a href="index.html">functions</a>
   <br />
   <a href="files.html">files</a>
   <br />
   <a href="intro.html">intro</a>
  </div>
  <div class="main">
   <div class="sigbox">
    <table class="padtbl">
     <tr>
      <td>
       <h1>
Set new PCI ID for kernel drivers
</h1>
      </td>
     </tr>
     <tr>
      <td></td>
     </tr>
     <tr>
      <td>
       <ul>
        <li>Ladislav Slezak <lslezak@suse.cz></li>
       </ul>
      </td>
     </tr>
     <tr>
      <td>
       <p>This module has an unstable interface.</p>
      </td>
     </tr>
    </table>
    <table class="padtbl">
     <tr>
      <td>


 Manage new PCI IDs for kernel drivers

       <h1>Imports</h1>
       <ul>
        <li>FileUtils</li>
        <li>Linuxrc</li>
        <li>ModuleLoading</li>
        <li>Report</li>
        <li>String</li>
       </ul>
       <h1>Includes</h1>
       <ul>
        <li>hwinfo/routines.ycp</li>
       </ul>
       <h1>Global Functions</h1>
       <ul>
        <li>
         <a href="#Activate">Activate ()</a>
        </li>
        <li>
         <a href="#MakeProposal">MakeProposal ()</a>
        </li>
       </ul>
       <h1>Local Functions</h1>
       <ul>
        <li>
         <a href="#prepend_option">prepend_option (string newopt, string opts, string defval)</a>
        </li>
       </ul>
      </td>
     </tr>
    </table>
   </div>
   <p />
   <div class="sigbox">
    <span class="sig" id="prepend_option">local
     <b>prepend_option (string newopt, string opts, string defval)
      <span class="a"> -&gt; </span>
      <span class="t">string</span>
     </b>
    </span>
   </div>
   <p>
 Prepend option to PCI ID string, use default value if required</p>
   <dl>
    <dt>
     <b>Parameters:</b>
    </dt>
    <dd>
     <table>
      <tr>
       <td class="pbox">
        <span class="p">newopt</span>
       </td>
       <td class="descbox">Prepend this option</td>
      </tr>
      <tr>
       <td class="pbox">
        <span class="p">opts</span>
       </td>
       <td class="descbox">Already existing option string</td>
      </tr>
      <tr>
       <td class="pbox">
        <span class="p">defval</span>
       </td>
       <td class="descbox">Default value, used when newopt is empty</td>
      </tr>
     </table>
    </dd>
   </dl>
   <div class="sigbox">
    <span class="sig" id="Activate">global
     <b>Activate ()
      <span class="a"> -&gt; </span>
      <span class="t">boolean</span>
     </b>
    </span>
   </div>
   <p>
 Activate value stored in the internal list</p>
   <dl>
    <dt>
     <b>Return value:</b>
    </dt>
    <dd>
     <table>
      <tr>
       <td class="pbox">
        <span class="t" />
       </td>
       <td class="descbox">True if all settings were successfuly set</td>
      </tr>
     </table>
    </dd>
   </dl>
   <div class="sigbox">
    <span class="sig" id="MakeProposal">global
     <b>MakeProposal ()
      <span class="a"> -&gt; </span>
      <span class="t">list&lt;string&gt;</span>
     </b>
    </span>
   </div>
   <p>
 Return new ID description</p>
   <dl>
    <dt>
     <b>Return value:</b>
    </dt>
    <dd>
     <table>
      <tr>
       <td class="pbox">
        <span class="t" />
       </td>
       <td class="descbox">(string) list of hardware desciptions</td>
      </tr>
     </table>
    </dd>
   </dl>
  </div>
  <div class="footer">
   <hr />
   <i>YaST2 Developers Documentation</i>
   <img class="right" alt="" src="/usr/share/doc/packages/yast2-devtools/images/yast2-mini.png" />
  </div>
 </body>
</html>

ACC SHELL 2018