Re: Interrupt Handler of Ethernet Device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 05, 2013 at 03:06:37PM +0300, Rami Rosen 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.

  Is this nic->netdev represent a  Ethernet interface ?

  
> 
> Best,
> Rami Rosen
> http://ramirose.wix.com/ramirosen
> 
> 
> On Fri, Apr 5, 2013 at 11:50 AM, Robert Clove <cloverobert@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
> > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> >
> 
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux