Changeset 8a2d4f2b in rtems for c/src/libchip/serial/ns16550.c


Ignore:
Timestamp:
Jun 23, 1998, 2:54:09 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
9eef52b
Parents:
7deeb16
Message:

Added NULL entry for setAttributes.

File:
1 edited

Legend:

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

    r7deeb16 r8a2d4f2b  
    5353  ns16550_initialize_interrupts,  /* deviceInitialize */
    5454  ns16550_write_polled,           /* deviceWritePolled */
     55  NULL,                           /* deviceSetAttributes */
    5556  FALSE,                          /* deviceOutputUsesInterrupts */
    5657};
     
    6566  ns16550_init,                        /* deviceInitialize */
    6667  ns16550_write_polled,                /* deviceWritePolled */
     68  NULL,                                /* deviceSetAttributes */
    6769  FALSE,                               /* deviceOutputUsesInterrupts */
    6870};
     
    599601  if(ucLineStatus & SP_LSR_RDY) {
    600602    cChar = (*getReg)(pNS16550, NS16550_RECEIVE_BUFFER);
    601     return((int)cChar);
     603    return (int)cChar;
    602604  } else {
    603     return(-1);
    604   }
    605 }
     605    return -1;
     606  }
     607}
Note: See TracChangeset for help on using the changeset viewer.