patch-2.4.14 linux/include/asm-arm/arch-sa1100/graphicsclient.h

Next file: linux/include/asm-arm/arch-sa1100/hardware.h
Previous file: linux/include/asm-arm/arch-sa1100/cerf.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.13/linux/include/asm-arm/arch-sa1100/graphicsclient.h linux/include/asm-arm/arch-sa1100/graphicsclient.h
@@ -63,6 +63,27 @@
 #define _ADS_UARTC		0x10140000	/* UART C */
 #define _ADS_UARTD		0x10160000	/* UART D */
 
+/* UART controll lines GPIOs */
+#define GPIO_GC_UART0_RTS       GPIO_GPIO15
+#define GPIO_GC_UART1_RTS	    GPIO_GPIO17
+#define GPIO_GC_UART2_RTS	    GPIO_GPIO19
+#define GPIO_GC_UART0_CTS       GPIO_GPIO14
+#define GPIO_GC_UART1_CTS       GPIO_GPIO16
+#define GPIO_GC_UART2_CTS       GPIO_GPIO17
+
+/* UART controll lines IRQs */
+#define IRQ_GC_UART0_CTS       IRQ_GPIO14
+#define IRQ_GC_UART1_CTS       IRQ_GPIO16
+#define IRQ_GC_UART2_CTS       IRQ_GPIO17
+
+#ifndef __ASSEMBLY__
+struct gc_uart_ctrl_data_t {
+  int cts_gpio;
+  int cts_prev_state;
+  struct uart_info *info;
+  struct uart_port *port;
+};
+#endif /* __ASSEMBLY__ */
 
 /* LEDs */
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)