PIC_OCW1
bus_space_write_1(sc->sc_iot, sc->sc_ioh_icu1, PIC_OCW1,
bus_space_write_1(sc->sc_iot, sc->sc_ioh_icu2, PIC_OCW1,
bus_space_write_1(sc->sc_iot, sc->sc_ioh_icu1, PIC_OCW1,
bus_space_write_1(sc->sc_iot, sc->sc_ioh_icu2, PIC_OCW1,
mask = bus_space_read_1(pic_iot, pic_ioh[pic], PIC_OCW1);
bus_space_write_1(pic_iot, pic_ioh[pic], PIC_OCW1, mask);
bus_space_write_1(pic_iot, pic_ioh[pic], PIC_OCW1, 0xff);
ocw1[0] = bus_space_read_1(sio_iot, sio_ioh_icu1, PIC_OCW1);
ocw1[1] = bus_space_read_1(sio_iot, sio_ioh_icu2, PIC_OCW1);
isa_outb(IO_ICU1 + PIC_OCW1, imen);
isa_outb(IO_ICU2 + PIC_OCW1, imen >> 8);
isa_inb(IO_ICU2 + PIC_OCW1);
isa_outb(IO_ICU2 + PIC_OCW1, imen >> 8);
isa_inb(IO_ICU1 + PIC_OCW1);
isa_outb(IO_ICU1 + PIC_OCW1, imen);
isa_inb(IO_ICU1 + PIC_OCW1);
isa_inb(IO_ICU2 + PIC_OCW1);
isa_outb(IO_ICU1 + PIC_OCW1, imen);
isa_outb(IO_ICU2 + PIC_OCW1, imen >> 8);
isa_outb(IO_ICU1 + PIC_OCW1, 0xff);
isa_outb(IO_ICU2 + PIC_OCW1, 0xff);
ICU1_WRITE(PIC_OCW1, icu_imask & 0xff);
ICU1_WRITE(PIC_OCW1, (icu_imask >> 8) & 0xff);
ICU1_WRITE(PIC_OCW1, icu_imask);
ICU2_WRITE(PIC_OCW1, icu_imask >> 8);
IYONIX_PIC_WRITE(IYONIX_MASTER_PIC + PIC_OCW1, 0x0); /* Unmask */
IYONIX_PIC_WRITE(IYONIX_SLAVE_PIC + PIC_OCW1, 0x0); /* Unmask */
REGVAL8(BONITO_PCIIO_BASE + IO_ICU1 + PIC_OCW1) = 0xff;
REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + PIC_OCW1) = 0xff;
REGVAL8(BONITO_PCIIO_BASE + IO_ICU1 + PIC_OCW1) = 0xff;
REGVAL8(BONITO_PCIIO_BASE + IO_ICU1 + PIC_OCW1) = 0xff;
REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + PIC_OCW1) = 0xff;
REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + PIC_OCW1) = 0xff;
imr1 = 0xff & ~REGVAL8(BONITO_PCIIO_BASE + IO_ICU1 + PIC_OCW1);
imr2 = 0xff & ~REGVAL8(BONITO_PCIIO_BASE + IO_ICU2 + PIC_OCW1);
bus_space_write_1(sc->sc_iot, sc->sc_ioh_icu1, PIC_OCW1,
bus_space_write_1(sc->sc_iot, sc->sc_ioh_icu2, PIC_OCW1,
bus_space_write_1(sc->sc_iot, sc->sc_ioh_icu1, PIC_OCW1,
bus_space_write_1(sc->sc_iot, sc->sc_ioh_icu2, PIC_OCW1,
IYONIX_PIC_WRITE(IYONIX_MASTER_PIC + PIC_OCW1, 0x0); /* Unmask */
IYONIX_PIC_WRITE(IYONIX_SLAVE_PIC + PIC_OCW1, 0x0); /* Unmask */
outb(IO_ICU1 + PIC_OCW1, 0xff);
outb(IO_ICU2 + PIC_OCW1, 0xff);
port = IO_ICU2 + PIC_OCW1;
port = IO_ICU1 + PIC_OCW1;
port = IO_ICU2 + PIC_OCW1;
port = IO_ICU1 + PIC_OCW1;
outb(IO_ICU1 + PIC_OCW1, i8259_imen);
outb(IO_ICU2 + PIC_OCW1, i8259_imen >> 8);
outb(IO_ICU1 + PIC_OCW1, i8259_imen);
outb(IO_ICU2 + PIC_OCW1, i8259_imen >> 8);