/* All locking is handled for the caller. On return data may still be present if it arrived during the flush.  */
static void z8530_flush_fifo(struct z8530_channel *c)
/* All locking is handled for the caller. On return data may still be present if it arrived during the flush.  */
static void z8530_flush_fifo(struct z8530_channel *c)
{
	read_zsreg(c, R1);
	read_zsreg(c, R1);
	read_zsreg(c, R1);
	read_zsreg(c, R1);
	if(c->dev->type==Z85230)
	{
		read_zsreg(c, R1);
		read_zsreg(c, R1);
		read_zsreg(c, R1);
		read_zsreg(c, R1);
	}
}