<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 5, 2013 at 1:11 PM, Robert Clove <span dir="ltr"><<a href="mailto:cloverobert@gmail.com" target="_blank">cloverobert@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Thanks for the link.<br></div>I have another query too......should i ask right now?<br>
</div><div class=""><div class="h5"><div class="gmail_extra"><br><br></div></div></div></blockquote><div>If the question is relevant to current discussion, please ask here but if it just piggyback to totally different topic at hand make a new thread.<br>
</div><div>Also in case of doubt:<br><a href="http://www.catb.org/esr/faqs/smart-questions.html">http://www.catb.org/esr/faqs/smart-questions.html</a> <br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class=""><div class="h5"><div class="gmail_extra"><div class="gmail_quote">On Fri, Apr 5, 2013 at 5:36 PM, Rami Rosen <span dir="ltr"><<a href="mailto:roszenrami@gmail.com" target="_blank">roszenrami@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Robert,<br>
You should look for the request_irq() method in the driver.<br>
This method registers an interrupt handler.<br>
For example, you can look in:<br>
<a href="http://lxr.free-electrons.com/source/drivers/net/ethernet/intel/e100.c" target="_blank">http://lxr.free-electrons.com/source/drivers/net/ethernet/intel/e100.c</a><br>
...<br>
...<br>
if ((err = request_irq(nic->pdev->irq, e100_intr, IRQF_SHARED,<br>
nic->netdev->name, nic->netdev)))<br>
<br>
...<br>
<br>
This means that e100_intr is registered as an interrupt handler.<br>
<br>
Best,<br>
Rami Rosen<br>
<a href="http://ramirose.wix.com/ramirosen" target="_blank">http://ramirose.wix.com/ramirosen</a><br>
<div><div><br>
<br>
On Fri, Apr 5, 2013 at 11:50 AM, Robert Clove <<a href="mailto:cloverobert@gmail.com" target="_blank">cloverobert@gmail.com</a>> wrote:<br>
> Hello All,<br>
><br>
><br>
> I am new here.<br>
> I want to know the interrupt handler of the ethernet card and where can i<br>
> find the definition of it so as i can clear the flow of packet reception.<br>
><br>
> Thanks<br>
> Robert<br>
><br>
</div></div>> _______________________________________________<br>
> Kernelnewbies mailing list<br>
> <a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br>
> <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
><br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Thank you <br>Warm Regards<br>Anuz<br>
</div></div>