|To:||"Ardelean, Andrei" <Andrei.Ardelean@idt.com>|
|Subject:||Re: Is it any serial8250 platform driver available?|
|From:||Sergei Shtylyov <firstname.lastname@example.org>|
|Date:||Mon, 25 Oct 2010 18:53:34 +0400|
|Cc:||David Daney <email@example.com>, firstname.lastname@example.org|
|References:||<AEA634773855ED4CAD999FBB1A66D0760126B496@CORPEXCH1.na.ads.idt.com> <4CC1E677.email@example.com> <AEA634773855ED4CAD999FBB1A66D0760126B6FC@CORPEXCH1.na.ads.idt.com>|
|User-agent:||Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:188.8.131.52) Gecko/20101013 Thunderbird/3.1.5|
Hello.[Resending to the list as I've only replied to Andrei -- due to stupid keyboard layout switcher in OpenSUSE preventing Ctrl-Shift-R in Thunderbird from working... :-/]
On 25-10-2010 19:37, Ardelean, Andrei wrote:
I studied this driver and few other examples and I have one question regarding the driver configuration: Which field must be initialized in the plat_serial8250_port structure: unsigned long iobase; /* io base address */ void __iomem *membase; /* ioremap cookie or NULL */ resource_size_t mapbase; /* resource base */ Some drivers init only one of them, other two fields.
Of course, .iobase is for I/O port mapped UARTs (think PC), .mapbase and .membase are for the memory mapped UARTs (like your case).
My UART is located at 0x1bf01000, can I put this value in all those fields?
You only need to put that into ,mapbase.
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||patch v2: [RFC 2/2] ftrace/MIPS: Add support for C version of recordmcount, John Reiser|
|Next by Date:||Re: patch v2: [RFC 2/2] ftrace/MIPS: Add support for C version of recordmcount, wu zhangjin|
|Previous by Thread:||Re: Is it any serial8250 platform driver available?, David Daney|
|Next by Thread:||[PATCH] MIPS: tracing/ftrace: Speedup a little for function graph tracer, Wu Zhangjin|
|Indexes:||[Date] [Thread] [Top] [All Lists]|