/* ic3_tx_empty - Is the transmitter empty? @port: Port to operate on  */
static unsigned int ic3_tx_empty(struct uart_port *the_port)
/* ic3_tx_empty - Is the transmitter empty? @port: Port to operate on  */
static unsigned int ic3_tx_empty(struct uart_port *the_port)
{
	unsigned int ret = 0;
	struct ioc3_port *port = get_ioc3_port(the_port);
	if (readl(&port->ip_serial_regs->shadow) & SHADOW_TEMT)
		ret = TIOCSER_TEMT;
	return ret;
}