/* return indication of whether the hardware transmit buffer is empty  */
static unsigned int mn10300_serial_tx_empty(struct uart_port *)
/* return indication of whether the hardware transmit buffer is empty  */
static unsigned int mn10300_serial_tx_empty(struct uart_port *)
{
	struct mn10300_serial_port *port =
		container_of(_port, struct mn10300_serial_port, uart);
	_enter("%s", port->name);
	return (*port->_status & (SC01STR_TXF | SC01STR_TBF)) ?
		0 : TIOCSER_TEMT;
}