diff options
author | Greg Ungerer <gerg@snapgear.com> | 2006-01-10 01:59:04 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 12:31:27 -0500 |
commit | 082f2c1cc7aa7aabdbf5235b788ff42e10abb399 (patch) | |
tree | 6df24ee2dbfff72f29c5ddac02d7f68df241a7f7 /drivers | |
parent | 892b62527fb3cd6753d6d2b79b5f21259f344cf5 (diff) |
[PATCH] m68knommu: set irq priority/level different for each ColdFire 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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/serial/mcfserial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/mcfserial.c b/drivers/serial/mcfserial.c index f2a51e61eec7..d957a3a9edf1 100644 --- a/drivers/serial/mcfserial.c +++ b/drivers/serial/mcfserial.c | |||
@@ -1516,7 +1516,7 @@ static void mcfrs_irqinit(struct mcf_serial *info) | |||
1516 | 1516 | ||
1517 | icrp = (volatile unsigned char *) (MCF_MBAR + MCFICM_INTC0 + | 1517 | icrp = (volatile unsigned char *) (MCF_MBAR + MCFICM_INTC0 + |
1518 | MCFINTC_ICR0 + MCFINT_UART0 + info->line); | 1518 | MCFINTC_ICR0 + MCFINT_UART0 + info->line); |
1519 | *icrp = 0x33; /* UART0 with level 6, priority 3 */ | 1519 | *icrp = 0x30 + info->line; /* level 6, line based priority */ |
1520 | 1520 | ||
1521 | imrp = (volatile unsigned long *) (MCF_MBAR + MCFICM_INTC0 + | 1521 | imrp = (volatile unsigned long *) (MCF_MBAR + MCFICM_INTC0 + |
1522 | MCFINTC_IMRL); | 1522 | MCFINTC_IMRL); |