/* There may be a fourth controller type. The S and D versions use the Winbond chip, and I think the E version does also.  */
static void sub22(char b, char c)
/* There may be a fourth controller type. The S and D versions use the Winbond chip, and I think the E version does also.  */
static void sub22(char b, char c)
{
	int i;
	for(i = 0; i < 3; ++i) {
		inb(0x3f6);
		outb_p(b,0xb0);
		inb(0x3f6);
		outb_p(c,0xb4);
		inb(0x3f6);
		if(inb(0xb4) == c) {
			outb_p(7,0xb0);
			inb(0x3f6);
			return;
		}
	}
}