/* Write a filemark if write_filemark=1. Flush the device buffers without writing a filemark otherwise.  */
static void idetape_create_write_filemark_cmd(ide_drive_t *drive, struct ide_atapi_pc *pc, int write_filemark)
/* Write a filemark if write_filemark=1. Flush the device buffers without writing a filemark otherwise.  */
static void idetape_create_write_filemark_cmd(ide_drive_t *drive, struct ide_atapi_pc *pc, int write_filemark)
{
	ide_init_pc(pc);
	pc->c[0] = WRITE_FILEMARKS;
	pc->c[4] = write_filemark;
	pc->flags |= PC_FLAG_WAIT_FOR_DSC;
}