From 334b130d5e95eb8ccd2ff6fce94a011fcae94d4a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 13 Aug 2003 17:44:53 +0000 Subject: 2003-08-13 Joel Sherrill PR 451/bsps * pppd/system.h: Depend on TTY driver being in BSPs not simply i386. --- c/src/tests/samples/pppd/system.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'c/src/tests/samples/pppd/system.h') 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} -- cgit v1.2.3