* Re: Linuxppc-dev Digest, Vol 81, Issue 140
[not found] <mailman.1.1306461602.19013.linuxppc-dev@lists.ozlabs.org>
@ 2011-05-27 7:26 ` Muhammad Waseem
2011-05-27 10:35 ` Josh Boyer
0 siblings, 1 reply; 2+ messages in thread
From: Muhammad Waseem @ 2011-05-27 7:26 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 511 bytes --]
I have developed a simple polling based serial device driver for PC's serial
port (COM1: 0x3F8) which works fine. Now I want to implement the same on
UART # 1 of PPC440EPx (Sequoia board).
By changing the base address 0x3F8 to UART# 1 base address (0xEF600400) in
Sequoia it does not work and return all the registers contents
from 0xEF600400 to 0xEF600407 as 0xFF.
Whereas existing ttyS1 driver works for UART# 1.
How can I access the UART# 1 registers in a custom serial driver under
kernel space.
Waseem
[-- Attachment #2: Type: text/html, Size: 667 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Linuxppc-dev Digest, Vol 81, Issue 140
2011-05-27 7:26 ` Linuxppc-dev Digest, Vol 81, Issue 140 Muhammad Waseem
@ 2011-05-27 10:35 ` Josh Boyer
0 siblings, 0 replies; 2+ messages in thread
From: Josh Boyer @ 2011-05-27 10:35 UTC (permalink / raw)
To: Muhammad Waseem; +Cc: linuxppc-dev
On Fri, May 27, 2011 at 12:26:20PM +0500, Muhammad Waseem wrote:
>I have developed a simple polling based serial device driver for PC's serial
>port (COM1: 0x3F8) which works fine. Now I want to implement the same on
>UART # 1 of PPC440EPx (Sequoia board).
>
>By changing the base address 0x3F8 to UART# 1 base address (0xEF600400) in
>Sequoia it does not work and return all the registers contents
>from 0xEF600400 to 0xEF600407 as 0xFF.
>
>Whereas existing ttyS1 driver works for UART# 1.
>
>How can I access the UART# 1 registers in a custom serial driver under
>kernel space.
If you post your driver code, we can review it.
josh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-27 10:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.1.1306461602.19013.linuxppc-dev@lists.ozlabs.org>
2011-05-27 7:26 ` Linuxppc-dev Digest, Vol 81, Issue 140 Muhammad Waseem
2011-05-27 10:35 ` Josh Boyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).