ide: use per-port IRQ handlers