All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Daney <ddaney@caviumnetworks.com>
To: "Ardelean, Andrei" <Andrei.Ardelean@idt.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Is it any serial8250 platform driver available?
Date: Fri, 22 Oct 2010 12:31:03 -0700	[thread overview]
Message-ID: <4CC1E677.1090404@caviumnetworks.com> (raw)
In-Reply-To: <AEA634773855ED4CAD999FBB1A66D0760126B496@CORPEXCH1.na.ads.idt.com>

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

  reply	other threads:[~2010-10-22 19:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-22 19:23 Is it any serial8250 platform driver available? Ardelean, Andrei
2010-10-22 19:23 ` Ardelean, Andrei
2010-10-22 19:31 ` David Daney [this message]
2010-10-25 15:37   ` Ardelean, Andrei
2010-10-25 15:37     ` Ardelean, Andrei
2010-10-25 14:53     ` Sergei Shtylyov
2010-10-25 16:43     ` David Daney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CC1E677.1090404@caviumnetworks.com \
    --to=ddaney@caviumnetworks.com \
    --cc=Andrei.Ardelean@idt.com \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.