Changeset 220ad7d in rtems


Ignore:
Timestamp:
Jul 26, 1999, 9:38:08 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
54f440d
Parents:
38bfb0d
Message:

Patch fixing typo from Eric Valette <valette@…> on bug report
from Jay Kulpinski <jskulpin@…>.

Location:
c/src/lib/libbsp/powerpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mcp750/irq/irq.c

    r38bfb0d r220ad7d  
    355355    i8259s_cache = newMask;
    356356    outport_byte(PIC_MASTER_IMR_IO_PORT, i8259s_cache & 0xff);
    357     outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) > 8));
     357    outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) >> 8));
    358358    BSP_irq_ack_at_i8259s (irq);
    359359    openpic_eoi(0);
     
    370370    i8259s_cache = oldMask;
    371371    outport_byte(PIC_MASTER_IMR_IO_PORT, i8259s_cache & 0xff);
    372     outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) > 8));
     372    outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) >> 8));
    373373  }
    374374  else {
  • c/src/lib/libbsp/powerpc/motorola_powerpc/irq/irq.c

    r38bfb0d r220ad7d  
    355355    i8259s_cache = newMask;
    356356    outport_byte(PIC_MASTER_IMR_IO_PORT, i8259s_cache & 0xff);
    357     outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) > 8));
     357    outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) >> 8));
    358358    BSP_irq_ack_at_i8259s (irq);
    359359    openpic_eoi(0);
     
    370370    i8259s_cache = oldMask;
    371371    outport_byte(PIC_MASTER_IMR_IO_PORT, i8259s_cache & 0xff);
    372     outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) > 8));
     372    outport_byte(PIC_SLAVE_IMR_IO_PORT, ((i8259s_cache & 0xff00) >> 8));
    373373  }
    374374  else {
Note: See TracChangeset for help on using the changeset viewer.