linux-mips
[Top] [All Lists]

Re: Is it any serial8250 platform driver available?

To: "Ardelean, Andrei" <Andrei.Ardelean@idt.com>
Subject: Re: Is it any serial8250 platform driver available?
From: David Daney <ddaney@caviumnetworks.com>
Date: Fri, 22 Oct 2010 12:31:03 -0700
Cc: linux-mips@linux-mips.org
In-reply-to: <AEA634773855ED4CAD999FBB1A66D0760126B496@CORPEXCH1.na.ads.idt.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <AEA634773855ED4CAD999FBB1A66D0760126B496@CORPEXCH1.na.ads.idt.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100907 Fedora/3.0.7-1.fc12 Thunderbird/3.0.7
On 10/22/2010 12:23 PM, Ardelean, Andrei wrote:
Hi,

I am porting MIPS Linux from MALTA to a new board. I ported early
console code from malta_console.c and I am looking now to use a
interrupt driven driver for TTY. My UART is compatible with 8250 (1 UART
port only) but the UART registers are directly mapped in CPU memory map.
There is no PCI bus. My problem is that the driver implemented in 8250.c
is very complex and it seems to be hardcode for ISA bus, is it any
simple platform UART driver available to be directly mapped in the CPU
space? Can you give me some advice what would be a good approach for my
case?


Many chips have 8250 compatible ports and use 8250.c.

See arch/mips/cavium-octeon/serial.c

David Daeny

<Prev in Thread] Current Thread [Next in Thread>