8 #include <hwregs/reg_map.h>
11 #include <mach/pinmux.h>
57 #if CONFIG_ETRAX_SERIAL_PORTS == 5
69 #if defined(CONFIG_ETRAX_DEBUG_PORT0)
71 #elif defined(CONFIG_ETRAX_DEBUG_PORT1)
73 #elif defined(CONFIG_ETRAX_DEBUG_PORT2)
75 #elif defined(CONFIG_ETRAX_DEBUG_PORT3)
77 #elif defined(CONFIG_ETRAX_DEBUG_PORT4)
83 #ifdef CONFIG_ETRAX_KGDB
85 #if defined(CONFIG_ETRAX_KGDB_PORT0)
87 #elif defined(CONFIG_ETRAX_KGDB_PORT1)
89 #elif defined(CONFIG_ETRAX_KGDB_PORT2)
91 #elif defined(CONFIG_ETRAX_KGDB_PORT3)
93 #elif defined(CONFIG_ETRAX_KGDB_PORT4)
112 else if (p->
nbr == 2)
114 else if (p->
nbr == 3)
116 #if CONFIG_ETRAX_SERIAL_PORTS == 5
117 else if (p->
nbr == 4)
132 tr_ctrl.
en = rec_ctrl.
en = 1;
141 else if (p->
parity ==
'E')
162 #ifdef CONFIG_ETRAX_KGDB
199 #ifdef CONFIG_ETRAX_KGDB
200 start_port(kgdb_port);