Skip to content

Commit

Permalink
[PATCH] m68knommu: set irq priority/level different for each ColdFire…
Browse files Browse the repository at this point in the history
… serial port

Set the hardware interrupt priority to a different value for each
attached ColdFire serial port.  According to the CPU documentation you
should not use the same combination of level/priority on more than one
device.  People have reported odd serial port behavior with them set the
same.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Greg Ungerer authored and Linus Torvalds committed Jan 10, 2006
1 parent 892b625 commit 082f2c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/serial/mcfserial.c
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 +1516,7 @@ static void mcfrs_irqinit(struct mcf_serial *info)

icrp = (volatile unsigned char *) (MCF_MBAR + MCFICM_INTC0 +
MCFINTC_ICR0 + MCFINT_UART0 + info->line);
*icrp = 0x33; /* UART0 with level 6, priority 3 */
*icrp = 0x30 + info->line; /* level 6, line based priority */

imrp = (volatile unsigned long *) (MCF_MBAR + MCFICM_INTC0 +
MCFINTC_IMRL);
Expand Down

0 comments on commit 082f2c1

Please sign in to comment.