comparison 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
comparison
equal deleted inserted replaced
71:f4a0d3a26b92 72:da3908c9cd10
156 # define SER_OVERRIDE_INT_1 CYGNUM_HAL_INTERRUPT_9 156 # define SER_OVERRIDE_INT_1 CYGNUM_HAL_INTERRUPT_9
157 # define SER_OVERRIDE_INT_2 CYGNUM_HAL_INTERRUPT_10 157 # define SER_OVERRIDE_INT_2 CYGNUM_HAL_INTERRUPT_10
158 # if defined(CYGPKG_IO_SERIAL_TTY_TTY0) 158 # if defined(CYGPKG_IO_SERIAL_TTY_TTY0)
159 # define TEST_TTY_DEV CYGDAT_IO_SERIAL_TTY_TTY0_DEV 159 # define TEST_TTY_DEV CYGDAT_IO_SERIAL_TTY_TTY0_DEV
160 # endif 160 # endif
161 # endif
162 #endif
163 #if defined(CYGPKG_HAL_I386_PC) \
164 && defined(CYGPKG_IO_SERIAL_I386_PC) \
165 && defined(CYGPKG_IO_SERIAL_I386_PC_SERIAL0)
166 # define TEST_CRASH_ID "i386pc"
167 # define TEST_SER_DEV CYGDAT_IO_SERIAL_I386_PC_SERIAL0_NAME
168 # if defined(CYGPKG_IO_SERIAL_TTY_TTY0)
169 # define TEST_TTY_DEV CYGDAT_IO_SERIAL_TTY_TTY0_DEV
161 # endif 170 # endif
162 #endif 171 #endif
163 172
164 // We can't rely on haldiag for ser_filter detection - it may not define 173 // We can't rely on haldiag for ser_filter detection - it may not define
165 // a working character reading function. 174 // a working character reading function.