]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/serial_core.h
i2c: Kill the old driver matching scheme
[linux-2.6-omap-h63xx.git] / include / linux / serial_core.h
index 289942fc66553e0188c0ad70e4f6dc23be2922e1..d32123ae08adbc9a7ed70613c97be128d0bb5c15 100644 (file)
 /* Freescale ColdFire */
 #define PORT_MCF       78
 
-#define PORT_SC26XX    79
-
+/* Blackfin SPORT */
+#define PORT_BFIN_SPORT                79
 
 /* MN10300 on-chip UART numbers */
 #define PORT_MN10300           80
 #define PORT_MN10300_CTS       81
 
+#define PORT_SC26XX    82
+
 #ifdef __KERNEL__
 
 #include <linux/compiler.h>
@@ -213,6 +215,10 @@ struct uart_ops {
        void            (*config_port)(struct uart_port *, int);
        int             (*verify_port)(struct uart_port *, struct serial_struct *);
        int             (*ioctl)(struct uart_port *, unsigned int, unsigned long);
+#ifdef CONFIG_CONSOLE_POLL
+       void    (*poll_put_char)(struct uart_port *, unsigned char);
+       int             (*poll_get_char)(struct uart_port *);
+#endif
 };
 
 #define UART_CONFIG_TYPE       (1 << 0)