[FE training-materials-updates] kernel: labs: the UART irq is not shared on the BBB
Maxime Ripard
maxime.ripard at free-electrons.com
Thu Oct 10 18:32:21 CEST 2013
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=9aafeb92f880e0f410bf964e6523035dcd59ee57
>---------------------------------------------------------------
commit 9aafeb92f880e0f410bf964e6523035dcd59ee57
Author: Maxime Ripard <maxime.ripard at free-electrons.com>
Date: Thu Oct 10 18:30:31 2013 +0200
kernel: labs: the UART irq is not shared on the BBB
Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
>---------------------------------------------------------------
9aafeb92f880e0f410bf964e6523035dcd59ee57
.../kernel-serial-interrupt.tex | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/labs/kernel-serial-interrupt/kernel-serial-interrupt.tex b/labs/kernel-serial-interrupt/kernel-serial-interrupt.tex
index a3665e7..42b4e29 100644
--- a/labs/kernel-serial-interrupt/kernel-serial-interrupt.tex
+++ b/labs/kernel-serial-interrupt/kernel-serial-interrupt.tex
@@ -7,7 +7,6 @@ During this lab, you will:
\begin{itemize}
\item Register an interrupt handler for the serial controller of the
Beaglebone
-\item See how Linux handles shared interrupt lines
\item Implement the read() operation of the serial port driver to put
the process to sleep when no data are available
\item Implement the interrupt handler to wake-up the sleeping process
@@ -51,8 +50,7 @@ dev->irq = irq_of_parse_and_map(pdev->dev.of_node, 0);
Then, pass the newly created virtual interrupt to \code{request_irq()}
along with the interrupt handler to register your interrupt in the
-kernel. Note that this IRQ is shared, so the appropriate flags must be
-passed at registration time.
+kernel.
Then, in the interrupt handler, just print a message and return
\code{IRQ_HANDLED} (to tell the kernel that we have handled the
More information about the training-materials-updates
mailing list