Re: [PATCH 23/26] Serial: UART driver changes for Cavium OCTEON.

From: Alan Cox
Date: Thu Nov 20 2008 - 15:06:36 EST


> + if ((up->bugs & UART_BUG_OCTEON_IIR) && (iir & 0xf) == 7) {
> + /* Busy interrupt */
> + serial_in(up, UART_OCTEON_USR);
> + iir = serial_in(up, UART_IIR);
> + }

Could this not be hidden in the register read method for the octeon and
thus kept out of core code ?
--
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/