diff options
author | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 2011-10-18 18:31:09 +0000 |
---|---|---|
committer | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 2011-10-18 18:31:09 +0000 |
commit | 32f5a41c96d9d94597cf82c6347b0944a73d50f5 (patch) | |
tree | 6efc7b8ed46bc64092a6c9bd2de6da13b90aba52 /c/src/lib/libbsp/sh/gensh2/console/config.c | |
parent | 2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com> (diff) | |
download | rtems-32f5a41c96d9d94597cf82c6347b0944a73d50f5.tar.bz2 |
2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1917/bsps
* console/config.c: Modifications to add dynamic tables for libchip
serial drivers.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/sh/gensh2/console/config.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/sh/gensh2/console/config.c b/c/src/lib/libbsp/sh/gensh2/console/config.c index b7e87b2555..7a0095fa94 100644 --- a/c/src/lib/libbsp/sh/gensh2/console/config.c +++ b/c/src/lib/libbsp/sh/gensh2/console/config.c @@ -80,7 +80,7 @@ static const struct termios term2 = { { 0 } }; -console_tbl Console_Port_Tbl[] = { +console_tbl Console_Configuration_Ports[] = { { "/dev/sci0", /* sDeviceName */ SERIAL_CUSTOM, /* deviceType */ @@ -125,10 +125,6 @@ console_tbl Console_Port_Tbl[] = { * Declare some information used by the console driver */ -#define NUM_CONSOLE_PORTS (sizeof(Console_Port_Tbl)/sizeof(console_tbl)) +#define NUM_CONSOLE_PORTS (sizeof(Console_Configuration_Ports)/sizeof(console_tbl)) -unsigned long Console_Port_Count = NUM_CONSOLE_PORTS; - -console_data Console_Port_Data[NUM_CONSOLE_PORTS]; - -rtems_device_minor_number Console_Port_Minor; +unsigned long Console_Configuration_Count = NUM_CONSOLE_PORTS; |