/* transmit_active returns 1 if the transmitter on the card is in a non-stopped state.  */
static int transmit_active(struct xircom_private *card)
/* transmit_active returns 1 if the transmitter on the card is in a non-stopped state.  */
static int transmit_active(struct xircom_private *card)
{
	unsigned int val;
	enter("transmit_active");
	val = inl(card->io_port + CSR5);
	if ((val & (7 << 20)) == 0) {
		leave("transmit_active - inactive");
		return 0;
	}
	leave("transmit_active - active");
	return 1;
}