Changeset 6a041407 in rtems


Ignore:
Timestamp:
10/20/00 13:31:31 (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
623ffdb
Parents:
cf5be833
Message:

2000-10-20 Joel Sherrill <joel@…>

  • console/console.c: Add mbx8xx_console_get_configuration() which returns either nvram configuration or a static equivalent.
Location:
c/src/lib/libbsp/powerpc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/eth_comm/ChangeLog

    rcf5be833 r6a041407  
     12000-10-20      Joel Sherrill <joel@OARcorp.com>
     2
     3        * console/console.c: Add mbx8xx_console_get_configuration() which
     4        returns either nvram configuration or a static equivalent.
     5
    162000-09-29      Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
    27
  • c/src/lib/libbsp/powerpc/eth_comm/console/console.c

    rcf5be833 r6a041407  
    228228}
    229229
     230/*
     231 *  Support routine for console-generic
     232 */
     233
     234int mbx8xx_console_get_configuration(void)
     235{
     236#if NVRAM_CONFIGURE == 1
     237  return nvram->console_mode;
     238#else
     239#if UARTS_IO_MODE == 1
     240  return 0x02;
     241#else
     242  return 0;
     243#endif
     244#endif
     245
     246}
     247
  • c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog

    rcf5be833 r6a041407  
     12000-10-20      Joel Sherrill <joel@OARcorp.com>
     2
     3        * console/console.c: Add mbx8xx_console_get_configuration() which
     4        returns either nvram configuration or a static equivalent.
     5
    162000-10-18      Joel Sherrill <joel@OARcorp.com>
    27
  • c/src/lib/libbsp/powerpc/mbx8xx/console/console.c

    rcf5be833 r6a041407  
    886886 */
    887887
    888 int mbx8xx_console_use_maximum_buffer_size(void)
     888int mbx8xx_console_get_configuration(void)
    889889{
    890890#if NVRAM_CONFIGURE == 1
    891   if ( (nvram->console_mode & 0x06) == 0x02 )
    892     return 1;
    893   else
    894     return 0;
     891  return nvram->console_mode;
    895892#else
    896893#if UARTS_IO_MODE == 1
    897   return 1;
     894  return 0x02;
    898895#else
    899896  return 0;
Note: See TracChangeset for help on using the changeset viewer.