/* tty_driver.write_room interface routine return number of characters the driver will accept to be written parameter: controller state structure return value: number of characters  */
static int gigaset_write_room(struct cardstate *cs)
/* tty_driver.write_room interface routine return number of characters the driver will accept to be written parameter: controller state structure return value: number of characters  */
static int gigaset_write_room(struct cardstate *cs)
{
	unsigned bytes;
	bytes = cs->cmdbytes;
	return bytes < IF_WRITEBUF ? IF_WRITEBUF - bytes : 0;
}