Changeset 991a1ab4 in rtems


Ignore:
Timestamp:
Jul 15, 1998, 11:21:55 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
cce9322
Parents:
efaf85fa
Message:

Added check for proper deviceType to interrupt processing code.

Location:
c/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libchip/serial/ns16550.c

    refaf85fa r991a1ab4  
    403403
    404404  for(minor=0;minor<Console_Port_Count;minor++) {
    405     if(vector==Console_Port_Tbl[minor].ulIntVector) {
     405    if(Console_Port_Tbl[minor].ulIntVector == vector &&
     406       Console_Port_Tbl[minor].deviceType == SERIAL_NS16550 ) {
    406407      ns16550_process(minor);
    407408    }
  • c/src/lib/libchip/serial/z85c30.c

    refaf85fa r991a1ab4  
    693693
    694694  for (minor=0;minor<Console_Port_Count;minor++) {
    695     if (vector==Console_Port_Tbl[minor].ulIntVector) {
     695    if(Console_Port_Tbl[minor].ulIntVector == vector &&
     696       Console_Port_Tbl[minor].deviceType == SERIAL_Z85C30 ) {
    696697      ulCtrlPort = Console_Port_Tbl[minor].ulCtrlPort2;
    697698      getReg     = Console_Port_Tbl[minor].getRegister;
  • c/src/libchip/serial/ns16550.c

    refaf85fa r991a1ab4  
    403403
    404404  for(minor=0;minor<Console_Port_Count;minor++) {
    405     if(vector==Console_Port_Tbl[minor].ulIntVector) {
     405    if(Console_Port_Tbl[minor].ulIntVector == vector &&
     406       Console_Port_Tbl[minor].deviceType == SERIAL_NS16550 ) {
    406407      ns16550_process(minor);
    407408    }
  • c/src/libchip/serial/z85c30.c

    refaf85fa r991a1ab4  
    693693
    694694  for (minor=0;minor<Console_Port_Count;minor++) {
    695     if (vector==Console_Port_Tbl[minor].ulIntVector) {
     695    if(Console_Port_Tbl[minor].ulIntVector == vector &&
     696       Console_Port_Tbl[minor].deviceType == SERIAL_Z85C30 ) {
    696697      ulCtrlPort = Console_Port_Tbl[minor].ulCtrlPort2;
    697698      getReg     = Console_Port_Tbl[minor].getRegister;
Note: See TracChangeset for help on using the changeset viewer.