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