[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081120200630.33111a2f@lxorguk.ukuu.org.uk>
Date: Thu, 20 Nov 2008 20:06:30 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: David Daney <ddaney@...iumnetworks.com>
Cc: linux-mips@...ux-mips.org, linux-serial@...r.kernel.org,
akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
David Daney <ddaney@...iumnetworks.com>,
Tomaso Paoletti <tpaoletti@...iumnetworks.com>
Subject: Re: [PATCH 23/26] Serial: UART driver changes for Cavium OCTEON.
> + 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists