/* Read from the ECR, mask out the bits in @mask, exclusive-or with the bits in @val, and write the result to the ECR.  */
static void parport_ip32_frob_econtrol(struct parport *p, unsigned int mask, unsigned int val)
/* Read from the ECR, mask out the bits in @mask, exclusive-or with the bits in @val, and write the result to the ECR.  */
static void parport_ip32_frob_econtrol(struct parport *p, unsigned int mask, unsigned int val)
{
	unsigned int c;
	c = (parport_ip32_read_econtrol(p) & ~mask) ^ val;
	parport_ip32_write_econtrol(p, c);
}