em400: reorganize source: drv->io