home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-mips / mach-pnx8550 / uart.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  371 b   |  17 lines

  1. #ifndef __IP3106_UART_H
  2. #define __IP3106_UART_H
  3.  
  4. #include <int.h>
  5.  
  6. /* early macros for kgdb use. fixme: clean this up */
  7.  
  8. #define UART_BASE        0xbbe4a000    /* PNX8550 */
  9.  
  10. #define PNX8550_UART_PORT0    (UART_BASE)
  11. #define PNX8550_UART_PORT1    (UART_BASE + 0x1000)
  12.  
  13. #define PNX8550_UART_INT(x)        (PNX8550_INT_GIC_MIN+19+x)
  14. #define IRQ_TO_UART(x)            (x-PNX8550_INT_GIC_MIN-19)
  15.  
  16. #endif
  17.