Newer
Older
UbixOS / doc / html / ne2k_8c.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>UbixOS V2: src/sys/isa/ne2k.c File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
  <ul>
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="dirs.html"><span>Directories</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>Globals</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="dir_897b6a2d7bab147dd1db58381aad3984.html">src</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_832905b1f7f5feaf61a306b40c0ac817.html">sys</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_2f8fc94d4f17c865dd63167e45dee9cf.html">isa</a></div>
<h1>ne2k.c File Reference</h1><code>#include &lt;<a class="el" href="ne2k_8h-source.html">isa/ne2k.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="8259_8h-source.html">isa/8259.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="device_8old_8h-source.html">sys/device.old.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="io_8h-source.html">sys/io.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="idt_8h-source.html">sys/idt.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="kmalloc_8h-source.html">lib/kmalloc.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="kprintf_8h-source.html">lib/kprintf.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="string_8h-source.html">string.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="kpanic_8h-source.html">ubixos/kpanic.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="vitals_8h-source.html">ubixos/vitals.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="spinlock_8h-source.html">ubixos/spinlock.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="assert_8h-source.html">assert.h</a>&gt;</code><br>

<p>
Include dependency graph for ne2k.c:<p><center><img src="ne2k_8c__incl.png" border="0" usemap="#src/sys/isa/ne2k.c_map" alt=""></center>
<map name="src/sys/isa/ne2k.c_map">
<area href="ne2k_8h.html" shape="rect" coords="219,14,309,40" alt="">
<area href="device_8old_8h.html" shape="rect" coords="389,64,520,91" alt="">
<area href="8259_8h.html" shape="rect" coords="408,115,501,142" alt="">
<area href="io_8h.html" shape="rect" coords="228,166,300,192" alt="">
<area href="idt_8h.html" shape="rect" coords="225,216,303,243" alt="">
<area href="kmalloc_8h.html" shape="rect" coords="401,267,508,294" alt="">
<area href="kprintf_8h.html" shape="rect" coords="405,318,504,344" alt="">
<area href="string_8h.html" shape="rect" coords="419,368,491,395" alt="">
<area href="kpanic_8h.html" shape="rect" coords="200,419,328,446" alt="">
<area href="vitals_8h.html" shape="rect" coords="204,470,324,496" alt="">
<area href="spinlock_8h.html" shape="rect" coords="195,520,333,547" alt="">
<area href="assert_8h.html" shape="rect" coords="227,571,301,598" alt="">
<area href="types_8h.html" shape="rect" coords="577,292,697,319" alt="">
<area href="gdt_8h.html" shape="rect" coords="413,216,496,243" alt="">
<area href="ubthread_8h.html" shape="rect" coords="383,419,527,446" alt="">
<area href="vfs_8h.html" shape="rect" coords="416,470,493,496" alt="">
</map>

<p>
<a href="ne2k_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ne2k_8c.html#d2f71b50095121367bb6b0ed3181e89c">asm</a> (&quot;.globl ne2kISR         \n&quot;&quot;ne2kISR:               \n&quot;&quot;  pusha                \n&quot;&quot;  call ne2kHandler     \n&quot;&quot;  popa                 \n&quot;&quot;  iret                 \n&quot;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ne2k_8c.html#20e9fce07d30c847b2f794191f55e5ea">dp_pkt2user</a> (struct <a class="el" href="structdevice.html">device</a> *dev, int page, int length)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ne2k_8c.html#93484a1eaa8e1b265202c6cccfed65f3">dp_recv</a> (struct <a class="el" href="structdevice.html">device</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ne2k_8c.html#82ba0a2f0d1c6dc1381e5c15118bb5ef">getblock</a> (struct <a class="el" href="structdevice.html">device</a> *dev, int page, <a class="el" href="types_8h.html#7619b847aeded8a6d14cbfa212b2cdfb">size_t</a> offset, <a class="el" href="types_8h.html#7619b847aeded8a6d14cbfa212b2cdfb">size_t</a> size, void *dst)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ne2k_8c.html#033e069050ace667acb10ed9ffc8ac6c">ne2k_init</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structnicBuffer.html">nicBuffer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ne2k_8c.html#dae239918a8091c31abf996cee262c92">ne2kAllocBuffer</a> (int length)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ne2k_8c.html#deb7b37e43d9b5203408374d8d8ce586">ne2kFreeBuffer</a> (struct <a class="el" href="structnicBuffer.html">nicBuffer</a> *<a class="el" href="structbuf.html">buf</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structnicBuffer.html">nicBuffer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ne2k_8c.html#954f14d0270247855900254097728c57">ne2kGetBuffer</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ne2k_8c.html#1e664af4b82fdc7971db793f0e9b3ebd">ne2kHandler</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ne2k_8c.html#45a65b2b7a15b7e7c46fd8831528c8d0">NICtoPC</a> (struct <a class="el" href="structdevice.html">device</a> *dev, void *packet, int length, int nic_addr)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ne2k_8c.html#f6446fd497eb16b637ebed77c7a0aeaf">PCtoNIC</a> (struct <a class="el" href="structdevice.html">device</a> *dev, void *packet, int length)</td></tr>

<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static struct <a class="el" href="structdevice.html">device</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ne2k_8c.html#eebda15be7c1218c6072e6e0f057ff14">mDev</a> = 0x0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="spinlock_8h.html#a240e9404b4ede1e0d714610080d1176">spinLock_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ne2k_8c.html#764e2356e3d80b20b7f2466d32ebf9f2">ne2k_spinLock</a> = SPIN_LOCK_INITIALIZER</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static struct <a class="el" href="structnicBuffer.html">nicBuffer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ne2k_8c.html#35dea25bdf37bb1ee0edd26d50fdc3c2">ne2kBuffer</a> = 0x0</td></tr>

</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="d2f71b50095121367bb6b0ed3181e89c"></a><!-- doxytag: member="ne2k.c::asm" ref="d2f71b50095121367bb6b0ed3181e89c" args="(&quot;.globl ne2kISR         \n&quot;&quot;ne2kISR:               \n&quot;&quot;  pusha                \n&quot;&quot;  call ne2kHandler     \n&quot;&quot;  popa                 \n&quot;&quot;  iret                 \n&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">asm           </td>
          <td>(</td>
          <td class="paramtype">&quot;.globl ne2kISR \n&quot;&quot;ne2kISR: \n&quot;&quot; pusha \n&quot;&quot; call ne2kHandler \n&quot;&quot; popa \n&quot;&quot; iret \n&quot;&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="20e9fce07d30c847b2f794191f55e5ea"></a><!-- doxytag: member="ne2k.c::dp_pkt2user" ref="20e9fce07d30c847b2f794191f55e5ea" args="(struct device *dev, int page, int length)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int dp_pkt2user           </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structdevice.html">device</a> *&nbsp;</td>
          <td class="paramname"> <em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>page</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>length</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="ne2k_8c-source.html#l00297">297</a> of file <a class="el" href="ne2k_8c-source.html">ne2k.c</a>.
<p>
References <a class="el" href="ne2k_8h-source.html#l00054">nicBuffer::buffer</a>, <a class="el" href="ne2k_8h-source.html#l00154">DP_PAGESIZE</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, <a class="el" href="ne2k_8c-source.html#l00313">ne2kAllocBuffer()</a>, <a class="el" href="ne2k_8c-source.html#l00164">NICtoPC()</a>, <a class="el" href="ne2k_8h-source.html#l00061">OK</a>, and <a class="el" href="ne2k_8h-source.html#l00065">stopPage</a>.
<p>
Referenced by <a class="el" href="ne2k_8c-source.html#l00223">dp_recv()</a>.
<p>
Here is the call graph for this function:<p><center><img src="ne2k_8c_20e9fce07d30c847b2f794191f55e5ea_cgraph.png" border="0" usemap="#ne2k_8c_20e9fce07d30c847b2f794191f55e5ea_cgraph_map" alt=""></center>
<map name="ne2k_8c_20e9fce07d30c847b2f794191f55e5ea_cgraph_map">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="913,411,980,437" alt="">
<area href="ne2k_8h.html#65b49da573a73ea73aa905bae31f4aa5" shape="rect" coords="161,385,289,412" alt="">
<area href="ne2k_8h.html#45a65b2b7a15b7e7c46fd8831528c8d0" shape="rect" coords="188,563,263,589" alt="">
<area href="kmalloc_8h.html#150eab2ac4ce4553e21ca10e7f441762" shape="rect" coords="353,335,428,361" alt="">
<area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="907,81,987,108" alt="">
<area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="899,284,995,311" alt="">
<area href="kmalloc_8c.html#f6c4ea5cb961c72548d92ff65d7e33a4" shape="rect" coords="492,233,612,260" alt="">
<area href="kmalloc_8c.html#eb1c3f1ef8eb9063c2e5c4af488dd2d0" shape="rect" coords="491,360,613,387" alt="">
<area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="723,360,789,387" alt="">
<area href="lib_2string_8h.html#ce4b911463887af5e748326323e99a23" shape="rect" coords="717,208,795,235" alt="">
<area href="paging_8h.html#541f0b43826a40b9e978f5479080bb0e" shape="rect" coords="661,157,851,184" alt="">
<area href="io_8h.html#fb703b187feb4b92444454df6c3dd9e6" shape="rect" coords="343,563,439,589" alt="">
<area href="io_8h.html#8acc1a06073db2e7b92ffbd00fbd0cf1" shape="rect" coords="340,613,441,640" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="93484a1eaa8e1b265202c6cccfed65f3"></a><!-- doxytag: member="ne2k.c::dp_recv" ref="93484a1eaa8e1b265202c6cccfed65f3" args="(struct device *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int dp_recv           </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structdevice.html">device</a> *&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="ne2k_8c-source.html#l00223">223</a> of file <a class="el" href="ne2k_8c-source.html">ne2k.c</a>.
<p>
References <a class="el" href="ne2k_8c-source.html#l00297">dp_pkt2user()</a>, <a class="el" href="ne2k_8c-source.html#l00279">getblock()</a>, <a class="el" href="io_8c-source.html#l00039">inportByte()</a>, <a class="el" href="device_8old_8h-source.html#l00031">device::ioAddr</a>, <a class="el" href="kpanic_8c-source.html#l00042">kpanic()</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, <a class="el" href="ne2k_8h-source.html#l00071">NE_BNRY</a>, <a class="el" href="ne2k_8h-source.html#l00068">NE_CMD</a>, <a class="el" href="ne2k_8h-source.html#l00074">NE_CURRENT</a>, <a class="el" href="ne2k_8h-source.html#l00061">OK</a>, <a class="el" href="io_8c-source.html#l00073">outportByte()</a>, <a class="el" href="ne2k_8h-source.html#l00057">RSR_FO</a>, <a class="el" href="ne2k_8h-source.html#l00058">RSR_PRX</a>, <a class="el" href="ne2k_8h-source.html#l00064">startPage</a>, and <a class="el" href="ne2k_8h-source.html#l00065">stopPage</a>.
<p>
Referenced by <a class="el" href="ne2k_8c-source.html#l00191">ne2kHandler()</a>.
<p>
Here is the call graph for this function:<p><center><img src="ne2k_8c_93484a1eaa8e1b265202c6cccfed65f3_cgraph.png" border="0" usemap="#ne2k_8c_93484a1eaa8e1b265202c6cccfed65f3_cgraph_map" alt=""></center>
<map name="ne2k_8c_93484a1eaa8e1b265202c6cccfed65f3_cgraph_map">
<area href="ne2k_8c.html#20e9fce07d30c847b2f794191f55e5ea" shape="rect" coords="129,475,233,501" alt="">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="928,132,995,159" alt="">
<area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="799,107,865,133" alt="">
<area href="io_8h.html#8acc1a06073db2e7b92ffbd00fbd0cf1" shape="rect" coords="463,563,564,589" alt="">
<area href="ne2k_8c.html#82ba0a2f0d1c6dc1381e5c15118bb5ef" shape="rect" coords="308,563,388,589" alt="">
<area href="io_8h.html#77b934268de1b3ecdcf3f275413b3108" shape="rect" coords="135,664,228,691" alt="">
<area href="ne2k_8h.html#65b49da573a73ea73aa905bae31f4aa5" shape="rect" coords="284,385,412,412" alt="">
<area href="ne2k_8h.html#45a65b2b7a15b7e7c46fd8831528c8d0" shape="rect" coords="311,512,385,539" alt="">
<area href="kmalloc_8h.html#150eab2ac4ce4553e21ca10e7f441762" shape="rect" coords="476,233,551,260" alt="">
<area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="792,309,872,336" alt="">
<area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="784,259,880,285" alt="">
<area href="kmalloc_8c.html#f6c4ea5cb961c72548d92ff65d7e33a4" shape="rect" coords="615,259,735,285" alt="">
<area href="kmalloc_8c.html#eb1c3f1ef8eb9063c2e5c4af488dd2d0" shape="rect" coords="613,107,736,133" alt="">
<area href="io_8h.html#fb703b187feb4b92444454df6c3dd9e6" shape="rect" coords="465,512,561,539" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="82ba0a2f0d1c6dc1381e5c15118bb5ef"></a><!-- doxytag: member="ne2k.c::getblock" ref="82ba0a2f0d1c6dc1381e5c15118bb5ef" args="(struct device *dev, int page, size_t offset, size_t size, void *dst)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void getblock           </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structdevice.html">device</a> *&nbsp;</td>
          <td class="paramname"> <em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>page</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="types_8h.html#7619b847aeded8a6d14cbfa212b2cdfb">size_t</a>&nbsp;</td>
          <td class="paramname"> <em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="types_8h.html#7619b847aeded8a6d14cbfa212b2cdfb">size_t</a>&nbsp;</td>
          <td class="paramname"> <em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"> <em>dst</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="ne2k_8c-source.html#l00279">279</a> of file <a class="el" href="ne2k_8c-source.html">ne2k.c</a>.
<p>
References <a class="el" href="ne2k_8h-source.html#l00154">DP_PAGESIZE</a>, <a class="el" href="ne2k_8h-source.html#l00097">E8390_RREAD</a>, <a class="el" href="ne2k_8h-source.html#l00096">E8390_START</a>, <a class="el" href="ne2k_8h-source.html#l00108">EN0_ISR</a>, <a class="el" href="ne2k_8h-source.html#l00111">EN0_RSARHI</a>, <a class="el" href="ne2k_8h-source.html#l00110">EN0_RSARLO</a>, <a class="el" href="io_8c-source.html#l00056">inportWord()</a>, <a class="el" href="device_8old_8h-source.html#l00031">device::ioAddr</a>, <a class="el" href="ne2k_8h-source.html#l00068">NE_CMD</a>, <a class="el" href="ne2k_8h-source.html#l00132">NE_DATAPORT</a>, <a class="el" href="ne2k_8h-source.html#l00075">NE_RBCR0</a>, <a class="el" href="ne2k_8h-source.html#l00076">NE_RBCR1</a>, and <a class="el" href="io_8c-source.html#l00073">outportByte()</a>.
<p>
Referenced by <a class="el" href="ne2k_8c-source.html#l00223">dp_recv()</a>.
<p>
Here is the call graph for this function:<p><center><img src="ne2k_8c_82ba0a2f0d1c6dc1381e5c15118bb5ef_cgraph.png" border="0" usemap="#ne2k_8c_82ba0a2f0d1c6dc1381e5c15118bb5ef_cgraph_map" alt=""></center>
<map name="ne2k_8c_82ba0a2f0d1c6dc1381e5c15118bb5ef_cgraph_map">
<area href="io_8h.html#fb703b187feb4b92444454df6c3dd9e6" shape="rect" coords="138,5,234,32" alt="">
<area href="io_8h.html#8acc1a06073db2e7b92ffbd00fbd0cf1" shape="rect" coords="135,56,236,83" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="033e069050ace667acb10ed9ffc8ac6c"></a><!-- doxytag: member="ne2k.c::ne2k_init" ref="033e069050ace667acb10ed9ffc8ac6c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ne2k_init           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="ne2k_8c-source.html#l00070">70</a> of file <a class="el" href="ne2k_8c-source.html">ne2k.c</a>.
<p>
References <a class="el" href="gdt_8h-source.html#l00047">dDpl0</a>, <a class="el" href="gdt_8h-source.html#l00037">dInt</a>, <a class="el" href="ne2k_8h-source.html#l00149">DP_CNTR0</a>, <a class="el" href="ne2k_8h-source.html#l00150">DP_CNTR1</a>, <a class="el" href="ne2k_8h-source.html#l00151">DP_CNTR2</a>, <a class="el" href="ne2k_8h-source.html#l00139">DP_CURR</a>, <a class="el" href="ne2k_8h-source.html#l00140">DP_MAR0</a>, <a class="el" href="ne2k_8h-source.html#l00141">DP_MAR1</a>, <a class="el" href="ne2k_8h-source.html#l00142">DP_MAR2</a>, <a class="el" href="ne2k_8h-source.html#l00143">DP_MAR3</a>, <a class="el" href="ne2k_8h-source.html#l00144">DP_MAR4</a>, <a class="el" href="ne2k_8h-source.html#l00145">DP_MAR5</a>, <a class="el" href="ne2k_8h-source.html#l00146">DP_MAR6</a>, <a class="el" href="ne2k_8h-source.html#l00147">DP_MAR7</a>, <a class="el" href="gdt_8h-source.html#l00048">dPresent</a>, <a class="el" href="io_8c-source.html#l00039">inportByte()</a>, <a class="el" href="device_8old_8h-source.html#l00031">device::ioAddr</a>, <a class="el" href="device_8old_8h-source.html#l00032">device::irq</a>, <a class="el" href="8259_8h.html#0ac079c4d770f02e505f4d8569a6960a">irqEnable()</a>, <a class="el" href="kmalloc_8c-source.html#l00247">kmalloc()</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, <a class="el" href="ne2k_8c-source.html#l00051">mDev</a>, <a class="el" href="8259_8h-source.html#l00042">mVec</a>, <a class="el" href="ne2k_8h.html#a1d4735355686cbdc2d6bf145c413db3">ne2kISR()</a>, <a class="el" href="ne2k_8h-source.html#l00071">NE_BNRY</a>, <a class="el" href="ne2k_8h-source.html#l00068">NE_CMD</a>, <a class="el" href="ne2k_8h-source.html#l00079">NE_DCR</a>, <a class="el" href="ne2k_8h-source.html#l00080">NE_IMR</a>, <a class="el" href="ne2k_8h-source.html#l00073">NE_ISR</a>, <a class="el" href="ne2k_8h-source.html#l00069">NE_PSTART</a>, <a class="el" href="ne2k_8h-source.html#l00070">NE_PSTOP</a>, <a class="el" href="ne2k_8h-source.html#l00075">NE_RBCR0</a>, <a class="el" href="ne2k_8h-source.html#l00076">NE_RBCR1</a>, <a class="el" href="ne2k_8h-source.html#l00077">NE_RCR</a>, <a class="el" href="ne2k_8h-source.html#l00078">NE_TCR</a>, <a class="el" href="io_8c-source.html#l00073">outportByte()</a>, <a class="el" href="idt_8c-source.html#l00156">setVector()</a>, <a class="el" href="ne2k_8h-source.html#l00064">startPage</a>, <a class="el" href="ne2k_8h-source.html#l00065">stopPage</a>, and <a class="el" href="start_8S-source.html#l00051">x20</a>.
<p>
Here is the call graph for this function:<p><center><img src="ne2k_8c_033e069050ace667acb10ed9ffc8ac6c_cgraph.png" border="0" usemap="#ne2k_8c_033e069050ace667acb10ed9ffc8ac6c_cgraph_map" alt=""></center>
<map name="ne2k_8c_033e069050ace667acb10ed9ffc8ac6c_cgraph_map">
<area href="io_8h.html#77b934268de1b3ecdcf3f275413b3108" shape="rect" coords="144,234,237,260" alt="">
<area href="8259_8h.html#0ac079c4d770f02e505f4d8569a6960a" shape="rect" coords="148,284,233,311" alt="">
<area href="kmalloc_8h.html#150eab2ac4ce4553e21ca10e7f441762" shape="rect" coords="153,335,228,362" alt="">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="713,360,780,387" alt="">
<area href="ne2k_8h.html#a1d4735355686cbdc2d6bf145c413db3" shape="rect" coords="152,462,229,488" alt="">
<area href="io_8h.html#8acc1a06073db2e7b92ffbd00fbd0cf1" shape="rect" coords="140,512,241,539" alt="">
<area href="idt_8h.html#174a47ed653fc64fff6b5bb1b895c2cf" shape="rect" coords="148,563,233,590" alt="">
<area href="kmalloc_8c.html#f6c4ea5cb961c72548d92ff65d7e33a4" shape="rect" coords="292,183,412,210" alt="">
<area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="707,208,787,235" alt="">
<area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="699,56,795,83" alt="">
<area href="kmalloc_8c.html#eb1c3f1ef8eb9063c2e5c4af488dd2d0" shape="rect" coords="291,310,413,336" alt="">
<area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="523,310,589,336" alt="">
<area href="lib_2string_8h.html#ce4b911463887af5e748326323e99a23" shape="rect" coords="517,158,595,184" alt="">
<area href="paging_8h.html#541f0b43826a40b9e978f5479080bb0e" shape="rect" coords="461,107,651,134" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="dae239918a8091c31abf996cee262c92"></a><!-- doxytag: member="ne2k.c::ne2kAllocBuffer" ref="dae239918a8091c31abf996cee262c92" args="(int length)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structnicBuffer.html">nicBuffer</a>* ne2kAllocBuffer           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>length</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="ne2k_8c-source.html#l00313">313</a> of file <a class="el" href="ne2k_8c-source.html">ne2k.c</a>.
<p>
References <a class="el" href="ne2k_8h-source.html#l00054">nicBuffer::buffer</a>, <a class="el" href="kmalloc_8c-source.html#l00247">kmalloc()</a>, <a class="el" href="ne2k_8h-source.html#l00053">nicBuffer::length</a>, <a class="el" href="ne2k_8c-source.html#l00044">ne2k_spinLock</a>, <a class="el" href="ne2k_8c-source.html#l00050">ne2kBuffer</a>, <a class="el" href="ne2k_8h-source.html#l00052">nicBuffer::next</a>, <a class="el" href="spinlock_8c-source.html#l00056">spinLock()</a>, and <a class="el" href="spinlock_8c-source.html#l00037">spinUnlock()</a>.
<p>
Referenced by <a class="el" href="ne2k_8c-source.html#l00297">dp_pkt2user()</a>.
<p>
Here is the call graph for this function:<p><center><img src="ne2k_8c_dae239918a8091c31abf996cee262c92_cgraph.png" border="0" usemap="#ne2k_8c_dae239918a8091c31abf996cee262c92_cgraph_map" alt=""></center>
<map name="ne2k_8c_dae239918a8091c31abf996cee262c92_cgraph_map">
<area href="kmalloc_8h.html#150eab2ac4ce4553e21ca10e7f441762" shape="rect" coords="184,167,259,194" alt="">
<area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="723,218,803,244" alt="">
<area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="715,395,811,422" alt="">
<area href="kmalloc_8c.html#f6c4ea5cb961c72548d92ff65d7e33a4" shape="rect" coords="308,243,428,270" alt="">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="729,91,796,118" alt="">
<area href="kmalloc_8c.html#eb1c3f1ef8eb9063c2e5c4af488dd2d0" shape="rect" coords="307,116,429,143" alt="">
<area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="539,116,605,143" alt="">
<area href="lib_2string_8h.html#ce4b911463887af5e748326323e99a23" shape="rect" coords="533,218,611,244" alt="">
<area href="paging_8h.html#541f0b43826a40b9e978f5479080bb0e" shape="rect" coords="477,319,667,346" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="deb7b37e43d9b5203408374d8d8ce586"></a><!-- doxytag: member="ne2k.c::ne2kFreeBuffer" ref="deb7b37e43d9b5203408374d8d8ce586" args="(struct nicBuffer *buf)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ne2kFreeBuffer           </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnicBuffer.html">nicBuffer</a> *&nbsp;</td>
          <td class="paramname"> <em>buf</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="ne2k_8c-source.html#l00353">353</a> of file <a class="el" href="ne2k_8c-source.html">ne2k.c</a>.
<p>
References <a class="el" href="ne2k_8h-source.html#l00054">nicBuffer::buffer</a>, and <a class="el" href="kmalloc_8c-source.html#l00351">kfree()</a>.
<p>
Here is the call graph for this function:<p><center><img src="ne2k_8c_deb7b37e43d9b5203408374d8d8ce586_cgraph.png" border="0" usemap="#ne2k_8c_deb7b37e43d9b5203408374d8d8ce586_cgraph_map" alt=""></center>
<map name="ne2k_8c_deb7b37e43d9b5203408374d8d8ce586_cgraph_map">
<area href="kmalloc_8h.html#aa9ed6886459604cf73ccdbf6410e487" shape="rect" coords="179,158,235,184" alt="">
<area href="kmalloc_8c.html#eb1c3f1ef8eb9063c2e5c4af488dd2d0" shape="rect" coords="283,56,405,83" alt="">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="615,107,681,134" alt="">
<area href="lib_2string_8h.html#ce4b911463887af5e748326323e99a23" shape="rect" coords="305,158,383,184" alt="">
<area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="304,208,384,235" alt="">
<area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="296,259,392,286" alt="">
<area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="471,56,537,83" alt="">
<area href="8259_8h.html#2b9ec30943ddb0a2ef3bd7ccfd2026c0" shape="rect" coords="603,6,693,32" alt="">
<area href="stdarg_8h.html#621577c2df0ad5faa281223c56eeb7a5" shape="rect" coords="612,56,684,83" alt="">
<area href="vsprintf_8c.html#c2f4c669c6f6aa6caa5ab8adb1b07dd0" shape="rect" coords="777,31,852,58" alt="">
<area href="vsprintf_8c.html#3fa7c8ef8597579301cb4b5c59bc6d9a" shape="rect" coords="775,82,855,108" alt="">
<area href="sched_8h.html#08933fe6d593a1c78b9080359f15a0b7" shape="rect" coords="453,183,555,210" alt="">
<area href="spinlock_8h.html#8f9173fadeddafa01754d6cbcc630198" shape="rect" coords="765,234,864,260" alt="">
<area href="sched_8h.html#549a0c1cc47933fa045b200690965cbd" shape="rect" coords="617,183,679,210" alt="">
<area href="sched_8h.html#e969273d772018d111e1f0344eb550f8" shape="rect" coords="741,132,888,159" alt="">
<area href="sched_8h.html#086cc0adc0b6a3860ceeeb5bc5ea94ea" shape="rect" coords="745,183,884,210" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="954f14d0270247855900254097728c57"></a><!-- doxytag: member="ne2k.c::ne2kGetBuffer" ref="954f14d0270247855900254097728c57" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structnicBuffer.html">nicBuffer</a>* ne2kGetBuffer           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="ne2k_8c-source.html#l00341">341</a> of file <a class="el" href="ne2k_8c-source.html">ne2k.c</a>.
<p>
References <a class="el" href="ne2k_8c-source.html#l00044">ne2k_spinLock</a>, <a class="el" href="ne2k_8c-source.html#l00050">ne2kBuffer</a>, <a class="el" href="ne2k_8h-source.html#l00052">nicBuffer::next</a>, and <a class="el" href="ap-boot_8S-source.html#l00006">x1</a>.
</div>
</div><p>
<a class="anchor" name="1e664af4b82fdc7971db793f0e9b3ebd"></a><!-- doxytag: member="ne2k.c::ne2kHandler" ref="1e664af4b82fdc7971db793f0e9b3ebd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ne2kHandler           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="ne2k_8c-source.html#l00191">191</a> of file <a class="el" href="ne2k_8c-source.html">ne2k.c</a>.
<p>
References <a class="el" href="ne2k_8c-source.html#l00223">dp_recv()</a>, <a class="el" href="8259_8h-source.html#l00039">eoi</a>, <a class="el" href="io_8c-source.html#l00039">inportByte()</a>, <a class="el" href="device_8old_8h-source.html#l00031">device::ioAddr</a>, <a class="el" href="8259_8h.html#2b9ec30943ddb0a2ef3bd7ccfd2026c0">irqDisable()</a>, <a class="el" href="8259_8h.html#0ac079c4d770f02e505f4d8569a6960a">irqEnable()</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, <a class="el" href="ne2k_8c-source.html#l00051">mDev</a>, <a class="el" href="8259_8h-source.html#l00035">mPic</a>, <a class="el" href="ne2k_8h-source.html#l00080">NE_IMR</a>, <a class="el" href="ne2k_8h-source.html#l00073">NE_ISR</a>, <a class="el" href="ne2k_8h-source.html#l00072">NE_TPSR</a>, <a class="el" href="io_8c-source.html#l00073">outportByte()</a>, <a class="el" href="8259_8h-source.html#l00037">sPic</a>, and <a class="el" href="fdc_8c-source.html#l00054">status</a>.
<p>
Here is the call graph for this function:<p><center><img src="ne2k_8c_1e664af4b82fdc7971db793f0e9b3ebd_cgraph.png" border="0" usemap="#ne2k_8c_1e664af4b82fdc7971db793f0e9b3ebd_cgraph_map" alt=""></center>
<map name="ne2k_8c_1e664af4b82fdc7971db793f0e9b3ebd_cgraph_map">
<area href="ne2k_8c.html#93484a1eaa8e1b265202c6cccfed65f3" shape="rect" coords="169,334,244,360" alt="">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="799,347,865,374" alt="">
<area href="io_8h.html#8acc1a06073db2e7b92ffbd00fbd0cf1" shape="rect" coords="633,43,735,70" alt="">
<area href="io_8h.html#77b934268de1b3ecdcf3f275413b3108" shape="rect" coords="305,435,399,462" alt="">
<area href="8259_8h.html#2b9ec30943ddb0a2ef3bd7ccfd2026c0" shape="rect" coords="473,474,564,500" alt="">
<area href="8259_8h.html#0ac079c4d770f02e505f4d8569a6960a" shape="rect" coords="164,587,249,614" alt="">
<area href="ne2k_8c.html#20e9fce07d30c847b2f794191f55e5ea" shape="rect" coords="300,234,404,260" alt="">
<area href="ne2k_8c.html#82ba0a2f0d1c6dc1381e5c15118bb5ef" shape="rect" coords="479,107,559,134" alt="">
<area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="319,384,385,411" alt="">
<area href="ne2k_8h.html#65b49da573a73ea73aa905bae31f4aa5" shape="rect" coords="455,234,583,260" alt="">
<area href="ne2k_8h.html#45a65b2b7a15b7e7c46fd8831528c8d0" shape="rect" coords="481,158,556,184" alt="">
<area href="kmalloc_8h.html#150eab2ac4ce4553e21ca10e7f441762" shape="rect" coords="647,195,721,222" alt="">
<area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="792,158,872,184" alt="">
<area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="784,234,880,260" alt="">
<area href="io_8h.html#fb703b187feb4b92444454df6c3dd9e6" shape="rect" coords="636,94,732,120" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="45a65b2b7a15b7e7c46fd8831528c8d0"></a><!-- doxytag: member="ne2k.c::NICtoPC" ref="45a65b2b7a15b7e7c46fd8831528c8d0" args="(struct device *dev, void *packet, int length, int nic_addr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int NICtoPC           </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structdevice.html">device</a> *&nbsp;</td>
          <td class="paramname"> <em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"> <em>packet</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nic_addr</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="ne2k_8c-source.html#l00164">164</a> of file <a class="el" href="ne2k_8c-source.html">ne2k.c</a>.
<p>
References <a class="el" href="assert_8h-source.html#l00064">assert</a>, <a class="el" href="ne2k_8h-source.html#l00108">EN0_ISR</a>, <a class="el" href="ne2k_8h-source.html#l00107">EN0_RCNTHI</a>, <a class="el" href="ne2k_8h-source.html#l00106">EN0_RCNTLO</a>, <a class="el" href="ne2k_8h-source.html#l00111">EN0_RSARHI</a>, <a class="el" href="ne2k_8h-source.html#l00110">EN0_RSARLO</a>, <a class="el" href="io_8c-source.html#l00056">inportWord()</a>, <a class="el" href="device_8old_8h-source.html#l00031">device::ioAddr</a>, <a class="el" href="ne2k_8h-source.html#l00132">NE_DATAPORT</a>, and <a class="el" href="io_8c-source.html#l00073">outportByte()</a>.
<p>
Referenced by <a class="el" href="ne2k_8c-source.html#l00297">dp_pkt2user()</a>.
<p>
Here is the call graph for this function:<p><center><img src="ne2k_8c_45a65b2b7a15b7e7c46fd8831528c8d0_cgraph.png" border="0" usemap="#ne2k_8c_45a65b2b7a15b7e7c46fd8831528c8d0_cgraph_map" alt=""></center>
<map name="ne2k_8c_45a65b2b7a15b7e7c46fd8831528c8d0_cgraph_map">
<area href="io_8h.html#fb703b187feb4b92444454df6c3dd9e6" shape="rect" coords="135,5,231,32" alt="">
<area href="io_8h.html#8acc1a06073db2e7b92ffbd00fbd0cf1" shape="rect" coords="132,56,233,83" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="f6446fd497eb16b637ebed77c7a0aeaf"></a><!-- doxytag: member="ne2k.c::PCtoNIC" ref="f6446fd497eb16b637ebed77c7a0aeaf" args="(struct device *dev, void *packet, int length)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int PCtoNIC           </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structdevice.html">device</a> *&nbsp;</td>
          <td class="paramname"> <em>dev</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"> <em>packet</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>length</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="ne2k_8c-source.html#l00115">115</a> of file <a class="el" href="ne2k_8c-source.html">ne2k.c</a>.
<p>
References <a class="el" href="assert_8h-source.html#l00064">assert</a>, <a class="el" href="ne2k_8h-source.html#l00098">E8390_RWRITE</a>, <a class="el" href="ne2k_8h-source.html#l00096">E8390_START</a>, <a class="el" href="ne2k_8h-source.html#l00108">EN0_ISR</a>, <a class="el" href="ne2k_8h-source.html#l00107">EN0_RCNTHI</a>, <a class="el" href="ne2k_8h-source.html#l00106">EN0_RCNTLO</a>, <a class="el" href="ne2k_8h-source.html#l00111">EN0_RSARHI</a>, <a class="el" href="ne2k_8h-source.html#l00110">EN0_RSARLO</a>, <a class="el" href="io_8c-source.html#l00039">inportByte()</a>, <a class="el" href="device_8old_8h-source.html#l00031">device::ioAddr</a>, <a class="el" href="kpanic_8c-source.html#l00042">kpanic()</a>, <a class="el" href="ne2k_8h-source.html#l00132">NE_DATAPORT</a>, <a class="el" href="io_8c-source.html#l00073">outportByte()</a>, and <a class="el" href="io_8c-source.html#l00104">outportWord()</a>.
<p>
Here is the call graph for this function:<p><center><img src="ne2k_8c_f6446fd497eb16b637ebed77c7a0aeaf_cgraph.png" border="0" usemap="#ne2k_8c_f6446fd497eb16b637ebed77c7a0aeaf_cgraph_map" alt=""></center>
<map name="ne2k_8c_f6446fd497eb16b637ebed77c7a0aeaf_cgraph_map">
<area href="io_8h.html#77b934268de1b3ecdcf3f275413b3108" shape="rect" coords="137,5,231,32" alt="">
<area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="151,56,217,83" alt="">
<area href="io_8h.html#8acc1a06073db2e7b92ffbd00fbd0cf1" shape="rect" coords="133,107,235,133" alt="">
<area href="io_8h.html#243f6b6d22cc5948908b764d58efc2b0" shape="rect" coords="131,157,237,184" alt="">
<area href="8259_8h.html#2b9ec30943ddb0a2ef3bd7ccfd2026c0" shape="rect" coords="285,5,376,32" alt="">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="297,56,364,83" alt="">
<area href="stdarg_8h.html#621577c2df0ad5faa281223c56eeb7a5" shape="rect" coords="295,107,367,133" alt="">
<area href="vsprintf_8c.html#c2f4c669c6f6aa6caa5ab8adb1b07dd0" shape="rect" coords="428,81,503,108" alt="">
<area href="vsprintf_8c.html#3fa7c8ef8597579301cb4b5c59bc6d9a" shape="rect" coords="425,132,505,159" alt="">
</map>

</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="eebda15be7c1218c6072e6e0f057ff14"></a><!-- doxytag: member="ne2k.c::mDev" ref="eebda15be7c1218c6072e6e0f057ff14" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structdevice.html">device</a>* <a class="el" href="ne2k_8c.html#eebda15be7c1218c6072e6e0f057ff14">mDev</a> = 0x0<code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="ne2k_8c-source.html#l00051">51</a> of file <a class="el" href="ne2k_8c-source.html">ne2k.c</a>.
<p>
Referenced by <a class="el" href="ne2k_8c-source.html#l00070">ne2k_init()</a>, and <a class="el" href="ne2k_8c-source.html#l00191">ne2kHandler()</a>.
</div>
</div><p>
<a class="anchor" name="764e2356e3d80b20b7f2466d32ebf9f2"></a><!-- doxytag: member="ne2k.c::ne2k_spinLock" ref="764e2356e3d80b20b7f2466d32ebf9f2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="spinlock_8h.html#a240e9404b4ede1e0d714610080d1176">spinLock_t</a> <a class="el" href="ne2k_8c.html#764e2356e3d80b20b7f2466d32ebf9f2">ne2k_spinLock</a> = SPIN_LOCK_INITIALIZER<code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="ne2k_8c-source.html#l00044">44</a> of file <a class="el" href="ne2k_8c-source.html">ne2k.c</a>.
<p>
Referenced by <a class="el" href="ne2k_8c-source.html#l00313">ne2kAllocBuffer()</a>, and <a class="el" href="ne2k_8c-source.html#l00341">ne2kGetBuffer()</a>.
</div>
</div><p>
<a class="anchor" name="35dea25bdf37bb1ee0edd26d50fdc3c2"></a><!-- doxytag: member="ne2k.c::ne2kBuffer" ref="35dea25bdf37bb1ee0edd26d50fdc3c2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structnicBuffer.html">nicBuffer</a>* <a class="el" href="ne2k_8c.html#35dea25bdf37bb1ee0edd26d50fdc3c2">ne2kBuffer</a> = 0x0<code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="ne2k_8c-source.html#l00050">50</a> of file <a class="el" href="ne2k_8c-source.html">ne2k.c</a>.
<p>
Referenced by <a class="el" href="ne2k_8c-source.html#l00313">ne2kAllocBuffer()</a>, and <a class="el" href="ne2k_8c-source.html#l00341">ne2kGetBuffer()</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 15 11:23:22 2006 for UbixOS V2 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>