]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/serial_core.h
mn10300: allocate serial port UART IDs for on-chip serial ports
[linux-2.6-omap-h63xx.git] / include / linux / serial_core.h
index 4db77249281cc56d04d16dda5369af431a0a21fe..1a0b6cf83ff1b7954af90c1d0df0dda6a7de621b 100644 (file)
 /* Broadcom SB1250, etc. SOC */
 #define PORT_SB1250_DUART      77
 
+/* Freescale ColdFire */
+#define PORT_MCF       78
+
+
+/* MN10300 on-chip UART numbers */
+#define PORT_MN10300           80
+#define PORT_MN10300_CTS       81
 
 #ifdef __KERNEL__
 
@@ -434,7 +441,7 @@ uart_handle_sysrq_char(struct uart_port *port, unsigned int ch)
 #ifdef SUPPORT_SYSRQ
        if (port->sysrq) {
                if (ch && time_before(jiffies, port->sysrq)) {
-                       handle_sysrq(ch, port->info->tty);
+                       handle_sysrq(ch, port->info ? port->info->tty : NULL);
                        port->sysrq = 0;
                        return 1;
                }