summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/pppd/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/samples/pppd/system.h')
-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}