summaryrefslogtreecommitdiffstats
path: root/c/src
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-08-13 17:44:53 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-08-13 17:44:53 +0000
commit334b130d5e95eb8ccd2ff6fce94a011fcae94d4a (patch)
tree47b5d0021276e4dbe52cb382828100b05366c6d7 /c/src
parent2003-08-13 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-334b130d5e95eb8ccd2ff6fce94a011fcae94d4a.tar.bz2
2003-08-13 Joel Sherrill <joel@OARcorp.com>
PR 451/bsps * pppd/system.h: Depend on TTY driver being in BSPs not simply i386.
Diffstat (limited to 'c/src')
-rw-r--r--c/src/tests/samples/ChangeLog5
-rw-r--r--c/src/tests/samples/pppd/system.h5
2 files changed, 8 insertions, 2 deletions
diff --git a/c/src/tests/samples/ChangeLog b/c/src/tests/samples/ChangeLog
index 385e9e2810..ed26533930 100644
--- a/c/src/tests/samples/ChangeLog
+++ b/c/src/tests/samples/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-13 Joel Sherrill <joel@OARcorp.com>
+
+ PR 451/bsps
+ * pppd/system.h: Depend on TTY driver being in BSPs not simply i386.
+
2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use rtems-bugs@rtems.com as bug report email address.
diff --git a/c/src/tests/samples/pppd/system.h b/c/src/tests/samples/pppd/system.h
index 1f41faab08..ec117cbab6 100644
--- a/c/src/tests/samples/pppd/system.h
+++ b/c/src/tests/samples/pppd/system.h
@@ -19,9 +19,10 @@ extern rtems_task Init(rtems_task_argument argument);
rtems_driver_address_table Device_drivers[5] = {
CONSOLE_DRIVER_TABLE_ENTRY,
CLOCK_DRIVER_TABLE_ENTRY,
-/* HACK */
-#if defined(__i386__)
+#if defined(TTY1_DRIVER_TABLE_ENTRY)
TTY1_DRIVER_TABLE_ENTRY,
+#endif
+#if defined(TTY2_DRIVER_TABLE_ENTRY)
TTY2_DRIVER_TABLE_ENTRY,
#endif
{NULL, NULL, NULL, NULL, NULL, NULL}