Re: A stupid question about interrupt

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

 



Hi ,
There are set of Interrupt lines available with the kernel . when ever you
want u'r CPU to be interrupted on the arrival of any packet , u have to
register an handler
for the interrupt .request_irq() method will register u'r handler for the
the interrupt line u
specify . so whenever a interrupt is generated on that line u'r handler
fuction will get called .

please refer page no 254 of LDD by Rubin .

Vinay

----- Original Message -----
From: "hzeng" <hzeng@hf.tvia.com>
To: <kernelnewbies@nl.linux.org>
Sent: Wednesday, March 20, 2002 5:56 PM
Subject: A stupid question about interrupt


> Hi,
>
>     Maybe the question I ask is too stupid. But please excuse me to waste
your time.
>     When I read the kernel , I wonder what is the way the interrupt passed
by. For example
> when a ethernet card emit a interrupt, the irq request is send from the
net card to the IPC,
> and then the IPC send the interrupt to the cpu, and then the cpu answer
the interrupt and send
> the ack message to IPC, and then ? What is the right way? If every
interrupt must be send to the
> IPC firstly?
>     I am not very clearly about the process. Please cc to me, as I cannot
subscribe the mail successly.
>
> Thanks very much!
> Hzeng
> )êçzYÞÁ¸ž°w¥¥æœ†‹az¹^j¹Ún‹­¶‹Š{±
‘êçzP+r¯zm§ÿæj)g–X§»+ƒù®w¥ì‰ë?!¶ÚþG«ég{âzÊ+ƒ÷Ú



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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