Interrupt Handler of Ethernet Device

Anuz Pratap Singh Tomar chambilkethakur at gmail.com
Fri Apr 5 08:24:54 EDT 2013


On Fri, Apr 5, 2013 at 1:11 PM, Robert Clove <cloverobert at gmail.com> wrote:

> Thanks for the link.
> I have another query too......should i ask right now?
>
>
> 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.
Also in case of doubt:
http://www.catb.org/esr/faqs/smart-questions.html

On Fri, Apr 5, 2013 at 5:36 PM, Rami Rosen <roszenrami at gmail.com> wrote:
>
>> Robert,
>> You should look for the request_irq() method in the driver.
>> This method registers an interrupt handler.
>> For example, you can look in:
>> http://lxr.free-electrons.com/source/drivers/net/ethernet/intel/e100.c
>> ...
>> ...
>>     if ((err = request_irq(nic->pdev->irq, e100_intr, IRQF_SHARED,
>>                  nic->netdev->name, nic->netdev)))
>>
>> ...
>>
>> This means that e100_intr is registered as an interrupt handler.
>>
>> Best,
>> Rami Rosen
>> http://ramirose.wix.com/ramirosen
>>
>>
>> On Fri, Apr 5, 2013 at 11:50 AM, Robert Clove <cloverobert at gmail.com>
>> wrote:
>> > Hello All,
>> >
>> >
>> > I am new here.
>> > I want to know the interrupt handler of the ethernet card and where can
>> i
>> > find the definition of it so as i can clear the flow of packet
>> reception.
>> >
>> > Thanks
>> > Robert
>> >
>> > _______________________________________________
>> > Kernelnewbies mailing list
>> > Kernelnewbies at kernelnewbies.org
>> > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>> >
>>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>


-- 
Thank you
Warm Regards
Anuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130405/f8205a1b/attachment.html 


More information about the Kernelnewbies mailing list