PIC_ICW2
bus_space_write_1(sc->sc_iot, sc->sc_ioh_icu1, PIC_ICW2,
bus_space_write_1(sc->sc_iot, sc->sc_ioh_icu2, PIC_ICW2,
isa_outb(IO_ICU1 + PIC_ICW2, 0);
isa_outb(IO_ICU2 + PIC_ICW2, 8);
ICU1_WRITE(PIC_ICW2, 0); /* XXX */
ICU2_WRITE(PIC_ICW2, 8); /* XXX */
IYONIX_PIC_WRITE(IYONIX_MASTER_PIC + PIC_ICW2, ICW2_IRL(0));
IYONIX_PIC_WRITE(IYONIX_SLAVE_PIC + PIC_ICW2, ICW2_IRL(0));
REGVAL8(BONITO_PCIIO_BASE + IO_ICU1 + PIC_ICW2) = ICW2_VECTOR(0);
REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + PIC_ICW2) = ICW2_VECTOR(8);
REGVAL8(BONITO_PCIIO_BASE + IO_ICU1 + PIC_ICW2) = ICW2_VECTOR(0);
REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + PIC_ICW2) = ICW2_VECTOR(8);
bus_space_write_1(sc->sc_iot, sc->sc_ioh_icu1, PIC_ICW2,
bus_space_write_1(sc->sc_iot, sc->sc_ioh_icu2, PIC_ICW2,
IYONIX_PIC_WRITE(IYONIX_MASTER_PIC + PIC_ICW2, ICW2_IRL(0));
IYONIX_PIC_WRITE(IYONIX_SLAVE_PIC + PIC_ICW2, ICW2_IRL(0));
outb(IO_ICU1 + PIC_ICW2, ICU_OFFSET);
outb(IO_ICU2 + PIC_ICW2, ICU_OFFSET + 8);