[Top] [All Lists]

[PATCH] Physical addresses fix for au1x00 serial driver

Subject: [PATCH] Physical addresses fix for au1x00 serial driver
From: Rodolfo Giometti <>
Date: Thu, 4 May 2006 12:11:12 +0200
Organization: GNU/Linux Device Drivers, Embedded Systems and Courses
Original-recipient: rfc822;
User-agent: Mutt/


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                   




GNU/Linux Solutions                  e-mail:
Linux Device Driver                   
Embedded Systems                      
UNIX programming                     phone:     +39 349 2432127

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