This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / serial / cpm_uart / cpm_uart.h
index 5f6187b..598704e 100644 (file)
 #include "cpm_uart_cpm1.h"
 #endif
 
+#ifndef CONFIG_SERIAL_8250
+#define SERIAL_CPM_MAJOR       TTY_MAJOR
+#define SERIAL_CPM_MINOR       64
+#else
 #define SERIAL_CPM_MAJOR       204
-#define SERIAL_CPM_MINOR       46
+#define SERIAL_CPM_MINOR       42
+#endif
 
 #define IS_SMC(pinfo)          (pinfo->flags & FLAG_SMC)
 #define IS_DISCARDING(pinfo)   (pinfo->flags & FLAG_DISCARDING)
@@ -65,8 +70,6 @@ struct uart_cpm_port {
        /* helpers */
        int                      baud;
        int                      bits;
-       /* Keep track of 'odd' SMC2 wirings */
-       int                     is_portb;
 };
 
 extern int cpm_uart_port_map[UART_NR];