<div dir="ltr"><div>Thanks for the link.<br></div>I have another query too......should i ask right now?<br></div><div class="gmail_extra"><br><br><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:0 0 0 .8ex;border-left:1px #ccc solid;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 class="h5"><br>
<br>
On Fri, Apr 5, 2013 at 11:50 AM, Robert Clove <<a href="mailto:cloverobert@gmail.com">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">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>