/* The original driver used to rely on a fixed sx_table, containing periods for (only) the lower limits of the respective input-clock-frequency ranges (8-10/12-15/16-20 MHz). Although it seems, that no problems ocurred with this setting so far, it might be desirable to adjust the transfer periods closer to the really attached, possibly 25% higher, input-clock, since */
static unsigned int round_4(unsigned int x)
/* The original driver used to rely on a fixed sx_table, containing periods for (only) the lower limits of the respective input-clock-frequency ranges (8-10/12-15/16-20 MHz). Although it seems, that no problems ocurred with this setting so far, it might be desirable to adjust the transfer periods closer to the really attached, possibly 25% higher, input-clock, since */
static unsigned int round_4(unsigned int x)
{
	switch (x & 3) {
		case 1: --x;
			break;
		case 2: ++x;
		case 3: ++x;
	}
	return x;
}