MK712_X
last_x = inw(mk712_io + MK712_X) & 0x0fff;
if ((inw(mk712_io + MK712_X) & 0xf000) || /* Sanity check */