diff packages/io/serial/current/tests/ser_test_protocol.inl @ 72:da3908c9cd10 ecos-sw-2000-02-17

Merge from eCos master repository on 2000-02-17-18:56:14-GMT
author jlarmour
date Thu, 17 Feb 2000 19:38:13 +0000
parents bf00f99aec69
children 435cced73e2f
line wrap: on
line diff
--- a/packages/io/serial/current/tests/ser_test_protocol.inl
+++ b/packages/io/serial/current/tests/ser_test_protocol.inl
@@ -160,6 +160,15 @@
 #  endif
 # endif
 #endif
+#if defined(CYGPKG_HAL_I386_PC)                         \
+    && defined(CYGPKG_IO_SERIAL_I386_PC)                \
+    && defined(CYGPKG_IO_SERIAL_I386_PC_SERIAL0)
+# define TEST_CRASH_ID "i386pc"
+# define TEST_SER_DEV CYGDAT_IO_SERIAL_I386_PC_SERIAL0_NAME
+# if defined(CYGPKG_IO_SERIAL_TTY_TTY0)
+#  define TEST_TTY_DEV CYGDAT_IO_SERIAL_TTY_TTY0_DEV
+# endif
+#endif
 
 // We can't rely on haldiag for ser_filter detection - it may not define
 // a working character reading function.