Ignore:
Timestamp:
Aug 16, 2001, 9:07:41 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
7ae5125
Parents:
b8575ab
Message:

2001-08-01 Radzislaw Galler <rgaller@…>

  • include/bsp.h: Disabled redefinition of CONSOLE_DRIVER_TABLE_ENTRY. Some "FIXME:" comments added.
  • console/config.c: New file. Definitions of externs referenced from libbsp/shared/console.c.
  • console/Makefile.am: Changed VPATH to point to libbsp/shared. Added config.c to C_FILES and EXTRA_DIST.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sh/gensh2/include/bsp.h

    rb8575ab rede9699c  
    6363#else
    6464#include <sh/sci.h>
     65/* FIXME:
     66 *   These definitions will be no longer necessary if the old
     67 *   implementation of SCI driver will be droped
     68 */
    6569#define BSP_CONSOLE_DEVNAME "/dev/sci0"
     70#define BSP_CONSOLE_MINOR_NUMBER ((rtems_device_minor_number) 0)
    6671#define BSP_CONSOLE_DRIVER_TABLE_ENTRY DEVSCI_DRIVER_TABLE_ENTRY
     72#define BSP_CONSOLE_DEVICE_TERMIOS_HANDLERS (sh_sci_get_termios_handlers(TRUE))
    6773#endif
    6874
     
    132138/*
    133139 * We redefine CONSOLE_DRIVER_TABLE_ENTRY to redirect /dev/console
     140 *
     141 * FIXME: Since console driver works properly this is not
     142 * necessary. When enabled - causes error in console_initialize.
    134143 */
     144#if 0
    135145#undef CONSOLE_DRIVER_TABLE_ENTRY
    136146#define CONSOLE_DRIVER_TABLE_ENTRY \
     
    138148  { console_initialize, console_open, console_close, \
    139149      console_read, console_write, console_control }
    140  
     150#endif
     151
    141152/*
    142153 * NOTE: Use the standard Clock driver entry
Note: See TracChangeset for help on using the changeset viewer.