summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/pppd/system.h
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 /testsuites/samples/pppd/system.h
parent70020119f86f9d15f041a82a5c6bc88e26706da2 (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 '')
-rw-r--r--testsuites/samples/pppd/system.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuites/samples/pppd/system.h b/testsuites/samples/pppd/system.h
index 1f41faab08..ec117cbab6 100644
--- a/testsuites/samples/pppd/system.h
+++ b/testsuites/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}