All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodolfo Giometti <giometti@linux.it>
To: linux-mips@linux-mips.org
Subject: [PATCH] Physical addresses fix for au1x00 serial driver
Date: Thu, 4 May 2006 12:11:12 +0200	[thread overview]
Message-ID: <20060504101112.GC19913@gundam.enneenne.com> (raw)

Hello,

here:

   http://ftp.enneenne.com/pub/misc/au1100-patches/linux/patch-au1x00-serial-phys-addr

a little patch (against «linux-2.6.16-stable» branch and tested on
au1100 based board) to fix the addresses specification for the serial
driver. With this patch at boot time we get:

   Serial: 8250/16550 driver $Revision: 1.90 $ 3 ports, IRQ sharing disabled       
   serial8250.7: ttyS0 at MMIO 0x11100000 (irq = 0) is a 16550A                    
   serial8250.7: ttyS1 at MMIO 0x11200000 (irq = 1) is a 16550A                    
   serial8250.7: ttyS2 at MMIO 0x11400000 (irq = 3) is a 16550A                    

and into procfs we read:

   wwpc:~# cat /proc/iomem                                                         
   10100000-10200000 : au1xxx-ohci.0                                               
   10500000-1050ffff : eth-base                                                    
   10520000-10520003 : eth-mac                                                     
   11100000-1110001f : serial                                                      
   11200000-1120001f : serial                                                      
   11400000-1140001f : serial                                                      
   wwpc:~# cat /proc/tty/driver/serial                                             
   serinfo:1.0 driver revision:                                                    
   0: uart:16550A port:11100000 irq:0 tx:3905 rx:39 RTS|CTS|DTR|DSR|CD|RI          
   1: uart:16550A port:11200000 irq:1 tx:0 rx:0 CTS|DSR|CD|RI                      
   2: uart:16550A port:11400000 irq:3 tx:0 rx:0 CTS|DSR|CD|RI                      

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    giometti@enneenne.com
Linux Device Driver                             giometti@gnudd.com
Embedded Systems                     		giometti@linux.it
UNIX programming                     phone:     +39 349 2432127

             reply	other threads:[~2006-05-04 10:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-04 10:11 Rodolfo Giometti [this message]
2006-05-04 12:44 ` [PATCH] Physical addresses fix for au1x00 serial driver Sergei Shtylyov
2006-05-04 13:24   ` Rodolfo Giometti
2006-05-04 13:58     ` Rodolfo Giometti
2006-05-04 14:27       ` Sergei Shtylyov

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=20060504101112.GC19913@gundam.enneenne.com \
    --to=giometti@linux.it \
    --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.