ide: move xfer mode tuning code to ide-xfer-mode.c