PIC_ICW1
bus_space_write_1(sc->sc_iot, sc->sc_ioh_icu1, PIC_ICW1,
bus_space_write_1(sc->sc_iot, sc->sc_ioh_icu2, PIC_ICW1,
isa_outb(IO_ICU1 + PIC_ICW1, ICW1_SELECT | ICW1_IC4);
isa_outb(IO_ICU2 + PIC_ICW1, ICW1_SELECT | ICW1_IC4);
ICU1_WRITE(PIC_ICW1, ICW1_SELECT | ICW1_IC4);
ICU2_WRITE(PIC_ICW1, ICW1_SELECT | ICW1_IC4);
IYONIX_PIC_WRITE(IYONIX_MASTER_PIC + PIC_ICW1, ICW1_IC4|ICW1_SELECT);
IYONIX_PIC_WRITE(IYONIX_SLAVE_PIC + PIC_ICW1, ICW1_IC4|ICW1_SELECT);
REGVAL8(BONITO_PCIIO_BASE + IO_ICU1 + PIC_ICW1) =
REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + PIC_ICW1) =
REGVAL8(BONITO_PCIIO_BASE + IO_ICU1 + PIC_ICW1) =
REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + PIC_ICW1) =
bus_space_write_1(sc->sc_iot, sc->sc_ioh_icu1, PIC_ICW1,
bus_space_write_1(sc->sc_iot, sc->sc_ioh_icu2, PIC_ICW1,
IYONIX_PIC_WRITE(IYONIX_MASTER_PIC + PIC_ICW1, ICW1_IC4|ICW1_SELECT);
IYONIX_PIC_WRITE(IYONIX_SLAVE_PIC + PIC_ICW1, ICW1_IC4|ICW1_SELECT);
outb(IO_ICU1 + PIC_ICW1, ICW1_SELECT | ICW1_LTIM | ICW1_IC4);
outb(IO_ICU1 + PIC_ICW1, ICW1_SELECT | ICW1_IC4);
outb(IO_ICU2 + PIC_ICW1, ICW1_SELECT | ICW1_LTIM | ICW1_IC4);
outb(IO_ICU2 + PIC_ICW1, ICW1_SELECT | ICW1_IC4);