Changeset 27045a82 in rtems for c/src/libchip/serial/ns16550.c


Ignore:
Timestamp:
Jul 9, 1998, 6:38:18 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
8b2492f
Parents:
677a503
Message:

Changed static to NS16550_STATIC to make all routines and data global
to ease debugging.

File:
1 edited

Legend:

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

    r677a503 r27045a82  
    7575 *  Console Device Driver Entry Points
    7676 */
    77 static boolean ns16550_probe(int minor)
     77NS16550_STATIC boolean ns16550_probe(int minor)
    7878{
    7979  /*
     
    8484}
    8585
    86 static void ns16550_init(int minor)
     86NS16550_STATIC void ns16550_init(int minor)
    8787{
    8888  unsigned32              pNS16550;
     
    145145}
    146146
    147 static int ns16550_open(
     147NS16550_STATIC int ns16550_open(
    148148  int      major,
    149149  int      minor,
     
    162162}
    163163
    164 static int ns16550_close(
     164NS16550_STATIC int ns16550_close(
    165165  int      major,
    166166  int      minor,
     
    181181 *  ns16550_write_polled
    182182 */
    183 static void ns16550_write_polled(
     183NS16550_STATIC void ns16550_write_polled(
    184184  int   minor,
    185185  char  cChar
     
    226226 *  ns16550_assert_RTS
    227227 */
    228 static int ns16550_assert_RTS(int minor)
     228NS16550_STATIC int ns16550_assert_RTS(int minor)
    229229{
    230230  unsigned32              pNS16550;
     
    251251 *  ns16550_negate_RTS
    252252 */
    253 static int ns16550_negate_RTS(int minor)
     253NS16550_STATIC int ns16550_negate_RTS(int minor)
    254254{
    255255  unsigned32              pNS16550;
     
    280280 *  ns16550_assert_DTR
    281281 */
    282 static int ns16550_assert_DTR(int minor)
     282NS16550_STATIC int ns16550_assert_DTR(int minor)
    283283{
    284284  unsigned32              pNS16550;
     
    305305 *  ns16550_negate_DTR
    306306 */
    307 static int ns16550_negate_DTR(int minor)
     307NS16550_STATIC int ns16550_negate_DTR(int minor)
    308308{
    309309  unsigned32              pNS16550;
     
    340340 */
    341341
    342 static void ns16550_process(
     342NS16550_STATIC void ns16550_process(
    343343        int             minor
    344344)
     
    407407}
    408408
    409 static rtems_isr ns16550_isr(
     409NS16550_STATIC rtems_isr ns16550_isr(
    410410  rtems_vector_number vector
    411411)
     
    423423 *  ns16550_flush
    424424 */
    425 static int ns16550_flush(int major, int minor, void *arg)
     425NS16550_STATIC int ns16550_flush(int major, int minor, void *arg)
    426426{
    427427  while(!Ring_buffer_Is_empty(&Console_Port_Data[minor].TxBuffer)) {
     
    452452 */
    453453
    454 static void ns16550_enable_interrupts(
     454NS16550_STATIC void ns16550_enable_interrupts(
    455455  int minor
    456456)
     
    471471}
    472472
    473 static void ns16550_initialize_interrupts(int minor)
     473NS16550_STATIC void ns16550_initialize_interrupts(int minor)
    474474{
    475475  ns16550_init(minor);
     
    490490 *
    491491 */
    492 static int ns16550_write_support_int(
     492NS16550_STATIC int ns16550_write_support_int(
    493493  int   minor,
    494494  const char *buf,
     
    555555 *
    556556 */
    557 static int ns16550_write_support_polled(
     557NS16550_STATIC int ns16550_write_support_polled(
    558558  int         minor,
    559559  const char *buf,
     
    586586 */
    587587
    588 static int ns16550_inbyte_nonblocking_polled(
     588NS16550_STATIC int ns16550_inbyte_nonblocking_polled(
    589589  int minor
    590590)
Note: See TracChangeset for help on using the changeset viewer.