[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081120200212.17e67add@lxorguk.ukuu.org.uk>
Date: Thu, 20 Nov 2008 20:02:12 +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 20/26] 8250: Serial driver changes to support future
Cavium OCTEON serial patches.
On Tue, 18 Nov 2008 14:24:14 -0800
David Daney <ddaney@...iumnetworks.com> wrote:
> In order to use Cavium OCTEON specific serial i/o drivers, we first
> patch the 8250 driver to use replaceable I/O functions. Compatible
> I/O functions are added for existing iotypeS.
>
> An added benefit of this change is that it makes it easy to factor
> some of the existing special cases out to board/SOC specific support
> code.
>
> The alternative is to load up 8250.c with a bunch of OCTEON specific
> iotype code and bug work-arounds.
Neither are pretty but this looks the better option I agree. Only niggle
is the use of "_fn" - Linux generally doesn't put types into variable
names.
--
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