summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/lpc24xx/console
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>2011-10-18 18:25:35 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>2011-10-18 18:25:35 +0000
commita39316315db8a149e85abe1d6d0bab8cf37ff82b (patch)
tree6bae3780efc41d0d3cdd589f1f451044878afea6 /c/src/lib/libbsp/arm/lpc24xx/console
parent2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com> (diff)
downloadrtems-a39316315db8a149e85abe1d6d0bab8cf37ff82b.tar.bz2
2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1917/bsps * Makefile.am, console/console-config.c: Modifications to add dynamic tables for libchip serial drivers.
Diffstat (limited to 'c/src/lib/libbsp/arm/lpc24xx/console')
-rw-r--r--c/src/lib/libbsp/arm/lpc24xx/console/console-config.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/c/src/lib/libbsp/arm/lpc24xx/console/console-config.c b/c/src/lib/libbsp/arm/lpc24xx/console/console-config.c
index 6c64530369..33b8686410 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/console/console-config.c
+++ b/c/src/lib/libbsp/arm/lpc24xx/console/console-config.c
@@ -89,9 +89,7 @@ static void lpc24xx_uart_set_register(uint32_t addr, uint8_t i, uint8_t val)
}
#endif
-rtems_device_minor_number Console_Port_Minor = 0;
-
-console_tbl Console_Port_Tbl [] = {
+console_tbl Console_Configuration_Ports [] = {
#ifdef LPC24XX_CONFIG_CONSOLE
{
.sDeviceName = "/dev/ttyS0",
@@ -179,8 +177,5 @@ console_tbl Console_Port_Tbl [] = {
};
#define LPC24XX_UART_COUNT \
- (sizeof(Console_Port_Tbl) / sizeof(Console_Port_Tbl [0]))
-
-unsigned long Console_Port_Count = LPC24XX_UART_COUNT;
-
-console_data Console_Port_Data [LPC24XX_UART_COUNT];
+ (sizeof(Console_Configuration_Ports) / sizeof(console_tbl))
+unsigned long Console_Configuration_Count = LPC24XX_UART_COUNT;