From: Julia Lawall <julia@xxxxxxx> Date: Fri, 12 Mar 2010 18:17:13 +0100 (CET) > From: Julia Lawall <julia@xxxxxxx> > > SAB82532_ISR0_TCD is declared in drivers/serial/subsab.h as relating to a > status register, while SAB82532_IMR0_TCD is declared in the same file as > relating to a mask register. The latter seems more appropriate for the > interrupt_mask0 field, and follows the strategy for initializing this field > elsewhere in the same file. > > Both SAB82532_ISR0_TCD and SAB82532_IMR0_TCD have the same value. > > Signed-off-by: Julia Lawall <julia@xxxxxxx> Applied, thanks Julia. I'll add some entries to MAINTAINERS so that you know to CC: sparclinux for these sparc serial drivers in the future. > > --- > drivers/serial/sunsab.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/serial/sunsab.c b/drivers/serial/sunsab.c > index d514e28..d2e0321 100644 > --- a/drivers/serial/sunsab.c > +++ b/drivers/serial/sunsab.c > @@ -474,7 +474,7 @@ static void sunsab_stop_rx(struct uart_port *port) > { > struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; > > - up->interrupt_mask0 |= SAB82532_ISR0_TCD; > + up->interrupt_mask0 |= SAB82532_IMR0_TCD; > writeb(up->interrupt_mask1, &up->regs->w.imr0); > } > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html