summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/gumstix
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>2011-10-18 18:26:55 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>2011-10-18 18:26:55 +0000
commit93b8c70a472931fbc4ced7deb8683308393107ad (patch)
tree791459db4cc4570303a01a26d54d3df2fbc1b25c /c/src/lib/libbsp/arm/gumstix
parent2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com> (diff)
downloadrtems-93b8c70a472931fbc4ced7deb8683308393107ad.tar.bz2
2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1917/bsps * Makefile.am, console/uarts.c: Modifications to add dynamic tables for libchip serial drivers.
Diffstat (limited to 'c/src/lib/libbsp/arm/gumstix')
-rw-r--r--c/src/lib/libbsp/arm/gumstix/ChangeLog6
-rwxr-xr-xc/src/lib/libbsp/arm/gumstix/Makefile.am4
-rwxr-xr-xc/src/lib/libbsp/arm/gumstix/console/uarts.c9
3 files changed, 12 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/arm/gumstix/ChangeLog b/c/src/lib/libbsp/arm/gumstix/ChangeLog
index 499b095d3a..9a6dd5d321 100644
--- a/c/src/lib/libbsp/arm/gumstix/ChangeLog
+++ b/c/src/lib/libbsp/arm/gumstix/ChangeLog
@@ -1,3 +1,9 @@
+2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
+
+ PR 1917/bsps
+ * Makefile.am, console/uarts.c: Modifications to add dynamic tables for
+ libchip serial drivers.
+
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
diff --git a/c/src/lib/libbsp/arm/gumstix/Makefile.am b/c/src/lib/libbsp/arm/gumstix/Makefile.am
index 7d67a69a3c..84756862f3 100755
--- a/c/src/lib/libbsp/arm/gumstix/Makefile.am
+++ b/c/src/lib/libbsp/arm/gumstix/Makefile.am
@@ -39,7 +39,9 @@ libbsp_a_SOURCES += ../../shared/bsplibc.c ../../shared/bsppost.c \
../../shared/bspclean.c startup/bspstart.c startup/memmap.c
#console
-libbsp_a_SOURCES += console/uarts.c ../../shared/console.c
+libbsp_a_SOURCES += console/uarts.c ../../shared/console.c \
+ ../../shared/console_select.c ../../shared/console_control.c \
+ ../../shared/console_read.c ../../shared/console_write.c
# IRQ
include_bsp_HEADERS += ../../shared/include/irq-generic.h \
../../shared/include/irq-info.h
diff --git a/c/src/lib/libbsp/arm/gumstix/console/uarts.c b/c/src/lib/libbsp/arm/gumstix/console/uarts.c
index 7feec461c6..8875ad419a 100755
--- a/c/src/lib/libbsp/arm/gumstix/console/uarts.c
+++ b/c/src/lib/libbsp/arm/gumstix/console/uarts.c
@@ -27,11 +27,8 @@
#define NUM_DEVS 1
/* These are used by code in console.c */
-unsigned long Console_Port_Count = NUM_DEVS;
-console_data Console_Port_Data[NUM_DEVS];
+unsigned long Console_Configuration_Count = NUM_DEVS;
-/* rtems console uses the following minor number */
-rtems_device_minor_number Console_Port_Minor = 0;
extern console_fns ffuart_fns;
/*
@@ -43,7 +40,7 @@ extern console_fns ffuart_fns;
* when we add other types of UARTS we will need to move this
* structure to a generic uart.c file with only this in it
*/
-console_tbl Console_Port_Tbl[] = {
+console_tbl Console_Configuration_Ports[] = {
{
"/dev/console", /* sDeviceName */
SERIAL_CUSTOM, /* deviceType */
@@ -67,5 +64,5 @@ console_tbl Console_Port_Tbl[] = {
console_tbl *BSP_get_uart_from_minor(int minor)
{
- return &Console_Port_Tbl[minor];
+ return Console_Port_Tbl[minor];
}