summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/lpc32xx/console/console-config.c
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>2011-10-18 18:25:15 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>2011-10-18 18:25:15 +0000
commit0a91018fd3d77c6d036eee8e0668ebd15a9faf4b (patch)
tree936331cf054e37a1dc8432fc4154b668d154b3d9 /c/src/lib/libbsp/arm/lpc32xx/console/console-config.c
parent2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com> (diff)
downloadrtems-0a91018fd3d77c6d036eee8e0668ebd15a9faf4b.tar.bz2
2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1917/bsps * Makefile.am, console/console-config.c, console/hsu.c: Modifications to add dynamic tables for libchip serial drivers.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/arm/lpc32xx/console/console-config.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/arm/lpc32xx/console/console-config.c b/c/src/lib/libbsp/arm/lpc32xx/console/console-config.c
index 3b8f8a3c25..d70f93ecd8 100644
--- a/c/src/lib/libbsp/arm/lpc32xx/console/console-config.c
+++ b/c/src/lib/libbsp/arm/lpc32xx/console/console-config.c
@@ -42,11 +42,9 @@ static void lpc32xx_uart_set_register(uint32_t addr, uint8_t i, uint8_t val)
reg [i] = val;
}
-rtems_device_minor_number Console_Port_Minor = 0;
-
/* FIXME: Console selection */
-console_tbl Console_Port_Tbl [] = {
+console_tbl Console_Configuration_Ports [] = {
#ifdef LPC32XX_CONFIG_U5CLK
{
.sDeviceName = "/dev/ttyS5",
@@ -197,8 +195,6 @@ console_tbl Console_Port_Tbl [] = {
};
#define LPC32XX_UART_COUNT \
- (sizeof(Console_Port_Tbl) / sizeof(Console_Port_Tbl [0]))
-
-unsigned long Console_Port_Count = LPC32XX_UART_COUNT;
+ (sizeof(Console_Configuration_Ports) / sizeof(Console_Configuration_Ports [0]))
-console_data Console_Port_Data [LPC32XX_UART_COUNT];
+unsigned long Console_Configuration_Count = LPC32XX_UART_COUNT;