} sync_port;
static int etrax_sync_serial_init(void);
-#if defined(CONFIG_ETRAX_SYNCHRONOUS_SERIAL_PORT1)
static void initialize_port(int portnbr);
-#endif
static inline int sync_data_avail(struct sync_port *port);
static int sync_serial_open(struct inode *, struct file*);
return 0;
}
-#if defined(CONFIG_ETRAX_SYNCHRONOUS_SERIAL_PORT1)
static void __init initialize_port(int portnbr)
{
int __attribute__((unused)) i;
port->catch_tr_descr = &port->out_descr[0];
#endif
}
-#endif
static inline int sync_data_avail(struct sync_port *port)
{
if (signal_pending(current))
return -EINTR;
- }
+
DEBUGWRITE(printk(KERN_DEBUG "w d%d c %lu\n",
port->port_nbr, trunc_count));
return trunc_count;