[PATCH 17/30] ide: Move bus init into a function