magic_configure
magic_configure(-1, 0, magic);
magic_configure(i, 0, magic); /* no IRQ yet */
magic_configure(port_idx, board_irq, magic);