| 1 |
27 |
unneback |
2003-02-24 Jonathan Larmour
|
| 2 |
|
|
|
| 3 |
|
|
* cdl/io_serial.cdl: Fix doc link.
|
| 4 |
|
|
|
| 5 |
|
|
2003-02-14 Jonathan Larmour
|
| 6 |
|
|
|
| 7 |
|
|
* src/common/termiostty.c: Support VMIN > 0 properly.
|
| 8 |
|
|
|
| 9 |
|
|
2002-12-10 Gary Thomas
|
| 10 |
|
|
|
| 11 |
|
|
* src/common/tty.c (tty_write): Only return number of characters
|
| 12 |
|
|
in original string which were written - don't include any CR/LF
|
| 13 |
|
|
expansion characters.
|
| 14 |
|
|
|
| 15 |
|
|
2002-04-23 Jesper Skov
|
| 16 |
|
|
|
| 17 |
|
|
* tests/serial3.c (serial_test): Use 19200 baud rate when board
|
| 18 |
|
|
cannot handle 38400.
|
| 19 |
|
|
* tests/serial5.c (serial_test): Same.
|
| 20 |
|
|
|
| 21 |
|
|
2002-02-19 Jesper Skov
|
| 22 |
|
|
|
| 23 |
|
|
* cdl/io_serial.cdl: Removed termiostty.c build rule.
|
| 24 |
|
|
|
| 25 |
|
|
* cdl/termios.cdl: Make termiostty.c building depending on actual
|
| 26 |
|
|
requirements for its content.
|
| 27 |
|
|
|
| 28 |
|
|
2002-02-15 Jesper Skov
|
| 29 |
|
|
|
| 30 |
|
|
* tests/flow1.c: Also try DSR/DTR flow control (presently
|
| 31 |
|
|
unsupported by Linux though).
|
| 32 |
|
|
* tests/flow2.c: Same.
|
| 33 |
|
|
|
| 34 |
|
|
2002-01-11 Jonathan Larmour
|
| 35 |
|
|
|
| 36 |
|
|
* src/common/termiostty.c (termios_read): Don't return after VMIN,
|
| 37 |
|
|
this was a stupid thing to do and decreases performance a lot.
|
| 38 |
|
|
|
| 39 |
|
|
2001-08-15 Gary Thomas
|
| 40 |
|
|
|
| 41 |
|
|
* tests/ser_test_protocol.inl: Change NONE in 'cyg_verbosity_level_t'
|
| 42 |
|
|
to be _NONE [unused] to avoid name clash with .
|
| 43 |
|
|
|
| 44 |
|
|
2000-12-08 Jonathan Larmour
|
| 45 |
|
|
|
| 46 |
|
|
* src/common/serial.c: Fix CYGOPT_IO_SERIAL_FLOW_CONTROL_HW ->
|
| 47 |
|
|
CYGOPT_IO_SERIAL_SUPPORT_LINE_STATUS typo when declaring callbacks
|
| 48 |
|
|
Thanks to Brian Danilko for reporting.
|
| 49 |
|
|
|
| 50 |
|
|
2000-11-22 Jesper Skov
|
| 51 |
|
|
|
| 52 |
|
|
* src/common/serial.c: Changed #ifdef to #if used on an interface
|
| 53 |
|
|
option.
|
| 54 |
|
|
|
| 55 |
|
|
2000-11-06 Jonathan Larmour
|
| 56 |
|
|
|
| 57 |
|
|
* src/common/tty.c (tty_write): Check buffer size appropriately
|
| 58 |
|
|
since when doing \r\n expansion "size" may have been double
|
| 59 |
|
|
incremented as a result.
|
| 60 |
|
|
Thanks to Alex Mathews of Crosstor for the fix.
|
| 61 |
|
|
|
| 62 |
|
|
2000-10-20 Jonathan Larmour
|
| 63 |
|
|
|
| 64 |
|
|
* src/common/serial.c: Include cyg/infra/cyg_ass.h for assertion
|
| 65 |
|
|
support since we have assertions here!
|
| 66 |
|
|
|
| 67 |
|
|
2000-10-12 Jesper Skov
|
| 68 |
|
|
|
| 69 |
|
|
* tests/ser_test_protocol.inl: Moved most testing parameters into
|
| 70 |
|
|
device driver CDL.
|
| 71 |
|
|
|
| 72 |
|
|
* cdl/io_serial.cdl: Added comment.
|
| 73 |
|
|
|
| 74 |
|
|
2000-10-06 Jesper Skov
|
| 75 |
|
|
|
| 76 |
|
|
* src/common/serial.c (serial_rcv_char): Register overruns.
|
| 77 |
|
|
|
| 78 |
|
|
* src/common/serial.c: Made block request functions return cause
|
| 79 |
|
|
of failure. Necessary for the device driver to be able to
|
| 80 |
|
|
fall-back to other transfer method efficiently.
|
| 81 |
|
|
* include/serial.h: Added enum with failure types.
|
| 82 |
|
|
|
| 83 |
|
|
2000-10-03 Jesper Skov
|
| 84 |
|
|
|
| 85 |
|
|
* tests/ser_test_protocol.inl: Moved testing parameters to device
|
| 86 |
|
|
driver CDL for SH targets.
|
| 87 |
|
|
|
| 88 |
|
|
2000-09-29 Jesper Skov
|
| 89 |
|
|
|
| 90 |
|
|
* include/serialio.h: Fix compiler warning and errors due to
|
| 91 |
|
|
non-default flow control config.
|
| 92 |
|
|
|
| 93 |
|
|
2000-09-27 Jesper Skov
|
| 94 |
|
|
|
| 95 |
|
|
* src/common/serial.c (serial_data_rcv_done,
|
| 96 |
|
|
serial_data_xmt_done): Buffer pointers updated in _done instead of
|
| 97 |
|
|
in _req to avoid race in xmt. Same change in rcv for consistency.
|
| 98 |
|
|
* include/serial.h: Changed prototype accordingly.
|
| 99 |
|
|
|
| 100 |
|
|
2000-09-18 Jesper Skov
|
| 101 |
|
|
|
| 102 |
|
|
* cdl/io_serial.cdl: Added interfaces to allow test tweaking.
|
| 103 |
|
|
* tests/ser_test_protocol.inl: Use interfaces. Moved PID details
|
| 104 |
|
|
to PID serial package.
|
| 105 |
|
|
|
| 106 |
|
|
2000-09-15 Jesper Skov
|
| 107 |
|
|
|
| 108 |
|
|
* tests/ser_test_protocol.inl: Allow drivers to define testing
|
| 109 |
|
|
parameters via CDL.
|
| 110 |
|
|
|
| 111 |
|
|
2000-09-13 Jesper Skov
|
| 112 |
|
|
|
| 113 |
|
|
* include/serial.h (SERIAL_CALLBACKS): Fix typo.
|
| 114 |
|
|
|
| 115 |
|
|
2000-09-06 Jesper Skov
|
| 116 |
|
|
|
| 117 |
|
|
* tests/ser_test_protocol.inl: Renamed some option names due to SH
|
| 118 |
|
|
serial driver reorg.
|
| 119 |
|
|
|
| 120 |
|
|
2000-08-09 Jonathan Larmour
|
| 121 |
|
|
|
| 122 |
|
|
* src/common/serial.c (serial_indicate_status): Treat flow control
|
| 123 |
|
|
case conditionally
|
| 124 |
|
|
|
| 125 |
|
|
2000-08-08 Jonathan Larmour
|
| 126 |
|
|
|
| 127 |
|
|
* src/common/serial.c (serial_data_rcv_req): Adjust nb in correct
|
| 128 |
|
|
direction
|
| 129 |
|
|
|
| 130 |
|
|
2000-08-04 Jonathan Larmour
|
| 131 |
|
|
|
| 132 |
|
|
* cdl/io_serial.cdl: Default software flow control to on (but keep
|
| 133 |
|
|
flow control overall default off)
|
| 134 |
|
|
|
| 135 |
|
|
* tests/flow1.c (cyg_start): Fix N_A_MSG -> NA_MSG typo
|
| 136 |
|
|
* tests/flow2.c (cyg_start): Ditto
|
| 137 |
|
|
|
| 138 |
|
|
2000-08-03 Jonathan Larmour
|
| 139 |
|
|
|
| 140 |
|
|
* cdl/io_serial.cdl: Should default flow control to off
|
| 141 |
|
|
|
| 142 |
|
|
* src/common/serial.c (serial_data_xmt_req): Update cbuf->nb
|
| 143 |
|
|
(serial_data_rcv_req): Update cbuf->nb
|
| 144 |
|
|
|
| 145 |
|
|
2000-08-01 Jonathan Larmour
|
| 146 |
|
|
|
| 147 |
|
|
* cdl/io_serial.cdl: Add support for line status queries,
|
| 148 |
|
|
software flow control, hardware flow control and POSIX termios
|
| 149 |
|
|
* include/serial.h: Likewise. Also change prototype for set_config
|
| 150 |
|
|
hardware operations to use keys to be more flexible.
|
| 151 |
|
|
* include/serialio.h: Add lots of types and constants to support
|
| 152 |
|
|
new line status and flow control config key queries
|
| 153 |
|
|
|
| 154 |
|
|
* src/common/haldiag.c (haldiag_set_config): Use keys to be more
|
| 155 |
|
|
flexible.
|
| 156 |
|
|
|
| 157 |
|
|
* src/common/serial.c: Many changes to support software/hardware
|
| 158 |
|
|
flow control (with low and high water points), line status and
|
| 159 |
|
|
fix some omissions with select. Also fix bugs in block transfer
|
| 160 |
|
|
functions resulting from EL/IX merge.
|
| 161 |
|
|
|
| 162 |
|
|
* tests/flow1.c, tests/flow2.c: New tests for flow control
|
| 163 |
|
|
|
| 164 |
|
|
* cdl/termios.cdl: Add to configure termios
|
| 165 |
|
|
* src/termios.c: Add new POSIX Termios API
|
| 166 |
|
|
* src/termiostty.c: Add POSIX Termios tty driver
|
| 167 |
|
|
|
| 168 |
|
|
* tests/ser_test_protocol.inl (change_config): Add support for
|
| 169 |
|
|
hardware and software flow control testing, indicated to the
|
| 170 |
|
|
host by an extra CONFIG argument.
|
| 171 |
|
|
|
| 172 |
|
|
* tests/serial3.c: Add flow control config
|
| 173 |
|
|
* tests/serial5.c: Add flow control config
|
| 174 |
|
|
|
| 175 |
|
|
2000-07-31 Nick Garnett
|
| 176 |
|
|
|
| 177 |
|
|
* src/common/serial.c: Changed BLOCKING control definitions to
|
| 178 |
|
|
generic versions.
|
| 179 |
|
|
|
| 180 |
|
|
2000-07-03 Jesper Skov
|
| 181 |
|
|
|
| 182 |
|
|
* src/common/serial.c (serial_data_rcv_req): Fix off-by-1 bug.
|
| 183 |
|
|
|
| 184 |
|
|
2000-06-23 Jesper Skov
|
| 185 |
|
|
|
| 186 |
|
|
* tests/ser_test_protocol.inl: Added cq7708 definitions.
|
| 187 |
|
|
|
| 188 |
|
|
2000-06-19 Nick Garnett
|
| 189 |
|
|
|
| 190 |
|
|
* include/serial.h:
|
| 191 |
|
|
* src/common/serial.c:
|
| 192 |
|
|
Added nb field to cbuf_t structure. This keeps track of the number of
|
| 193 |
|
|
bytes currently in the buffer. Without this counter, there is no
|
| 194 |
|
|
way to distinguish a totally full buffer from one that is totally
|
| 195 |
|
|
empty, since in both cases put==get.
|
| 196 |
|
|
|
| 197 |
|
|
2000-06-15 Nick Garnett
|
| 198 |
|
|
|
| 199 |
|
|
* include/serial.h: Added selinfo field to cbuf structure when
|
| 200 |
|
|
select support is enabled.
|
| 201 |
|
|
|
| 202 |
|
|
* src/common/serial.c:
|
| 203 |
|
|
* src/common/tty.c:
|
| 204 |
|
|
Added select support.
|
| 205 |
|
|
|
| 206 |
|
|
* cdl/io_serial.cdl: Added CYGPKG_IO_SERIAL_SELECT_SUPPORT to
|
| 207 |
|
|
enable select() support. Defaults to on.
|
| 208 |
|
|
Also added component for loopback driver.
|
| 209 |
|
|
|
| 210 |
|
|
* tests/ser_test_protocol.inl: Added test setup for loopback
|
| 211 |
|
|
driver.
|
| 212 |
|
|
|
| 213 |
|
|
2000-05-28 Gary Thomas
|
| 214 |
|
|
|
| 215 |
|
|
* tests/ser_test_protocol.inl: Rename NEC V85x drivers.
|
| 216 |
|
|
|
| 217 |
|
|
2000-05-25 Jesper Skov
|
| 218 |
|
|
|
| 219 |
|
|
* tests/ser_test_protocol.inl: Added rules for REF4955.
|
| 220 |
|
|
|
| 221 |
|
|
2000-05-08 Jesper Skov
|
| 222 |
|
|
|
| 223 |
|
|
* cdl/io_serial.cdl: active_if CYGPKG_IO
|
| 224 |
|
|
|
| 225 |
|
|
2000-05-05 Jonathan Larmour
|
| 226 |
|
|
|
| 227 |
|
|
* src/common/serial.c (serial_get_config): Tidy below change a little
|
| 228 |
|
|
|
| 229 |
|
|
2000-05-05 Grant Edwards
|
| 230 |
|
|
|
| 231 |
|
|
* src/common/serial.c (serial_get_config): Support
|
| 232 |
|
|
CYG_IO_GET_CONFIG_SERIAL_BUFFER_INFO key to get buffer information
|
| 233 |
|
|
|
| 234 |
|
|
* include/serialio.h: Add cyg_serial_buf_info_t
|
| 235 |
|
|
|
| 236 |
|
|
2000-05-04 Jesper Skov
|
| 237 |
|
|
|
| 238 |
|
|
* cdl/io_serial.cdl: Only build tests when drivers enabled.
|
| 239 |
|
|
|
| 240 |
|
|
2000-05-02 Jesper Skov
|
| 241 |
|
|
|
| 242 |
|
|
* src/common/serial.c (serial_set_config): Set proper parity for
|
| 243 |
|
|
blocking options.
|
| 244 |
|
|
(serial_get_config): Fix copy'n'paste buglet.
|
| 245 |
|
|
|
| 246 |
|
|
2000-05-01 Jesper Skov
|
| 247 |
|
|
|
| 248 |
|
|
* src/common/serial.c: Added non-blocking config and operation for
|
| 249 |
|
|
read/write calls.
|
| 250 |
|
|
Added block transfer rcv/xmt callbacks.
|
| 251 |
|
|
Added (disabled for now) check for rcv overflow. [need to add
|
| 252 |
|
|
handling]
|
| 253 |
|
|
|
| 254 |
|
|
* include/serial.h: Added non-blocking callbacks.
|
| 255 |
|
|
|
| 256 |
|
|
* cdl/io_serial.cdl: Added non-blocking option. Added block
|
| 257 |
|
|
transfer interface.
|
| 258 |
|
|
|
| 259 |
|
|
2000-04-17 Hugo Tyson
|
| 260 |
|
|
|
| 261 |
|
|
* src/PKGconf.mak: remove; it's obsolete.
|
| 262 |
|
|
|
| 263 |
|
|
2000-04-13 Gary Thomas
|
| 264 |
|
|
|
| 265 |
|
|
* src/common/serial.c (serial_write): Make safer - only call
|
| 266 |
|
|
'start_xmit' with DSRs disabled.
|
| 267 |
|
|
|
| 268 |
|
|
2000-04-11 Hugo Tyson
|
| 269 |
|
|
|
| 270 |
|
|
* cdl/io_serial.cdl (CYGPKG_IO_SERIAL_DEVICES): New package which
|
| 271 |
|
|
is a container and control for the real device drivers.
|
| 272 |
|
|
|
| 273 |
|
|
2000-04-11 Jesper Skov
|
| 274 |
|
|
|
| 275 |
|
|
* cdl/io_serial.cdl: Bad hack to build separate test.
|
| 276 |
|
|
* tests/serial_echo.c: Added.
|
| 277 |
|
|
|
| 278 |
|
|
2000-04-11 Hugo Tyson
|
| 279 |
|
|
|
| 280 |
|
|
* cdl/ser_.... (driver-specific cdl files):
|
| 281 |
|
|
Remove all these; they are no longer needed following the change
|
| 282 |
|
|
below. They do exist in devs/serial/ARCH/PLATFORM/VERSION/cdl/
|
| 283 |
|
|
directories various instead.
|
| 284 |
|
|
|
| 285 |
|
|
2000-04-07 Hugo Tyson
|
| 286 |
|
|
|
| 287 |
|
|
* ecos.db: Re-organize device packages. This is a massive change
|
| 288 |
|
|
involving deleting all the sources for serial and ethernet drivers
|
| 289 |
|
|
from where they used to live in
|
| 290 |
|
|
packages/io/serial/current/src/ARCH/PLATFORM.[ch]
|
| 291 |
|
|
packages/net/drivers/eth/PLATFORM/current/src/...
|
| 292 |
|
|
and reinstating them in
|
| 293 |
|
|
packages/devs/serial/ARCH/PLATFORM/current/src/...
|
| 294 |
|
|
packages/devs/eth/ARCH/PLATFORM/current/src/...
|
| 295 |
|
|
|
| 296 |
|
|
All these new packages are properly defined in ecos.db, and are
|
| 297 |
|
|
all of type "hardware" so that a "target" can grab them.
|
| 298 |
|
|
|
| 299 |
|
|
This directory layout is descriptive of the devices we have right
|
| 300 |
|
|
now, arch and platform are separate levels just to make it easier
|
| 301 |
|
|
to navigate in the filesystem and similar to the HAL structure in
|
| 302 |
|
|
the filesystem.
|
| 303 |
|
|
|
| 304 |
|
|
It is *not* prescriptive of future work; for example, the mythical
|
| 305 |
|
|
common highly-portable 16550 serial driver which works on many
|
| 306 |
|
|
targets would be called "devs/serial/s16550/current", or a serial
|
| 307 |
|
|
device for a particular board (cogent springs to mind) that can
|
| 308 |
|
|
work with different CPUs fitted is "devs/serial/cogent/current".
|
| 309 |
|
|
|
| 310 |
|
|
Changelogs have been preserved and replicated over all the new
|
| 311 |
|
|
packages, so that no history is lost.
|
| 312 |
|
|
|
| 313 |
|
|
The contents of individual source files are unchanged; they build
|
| 314 |
|
|
in just the same emvironment except for a very few cases where the
|
| 315 |
|
|
config file name changed in this movement.
|
| 316 |
|
|
|
| 317 |
|
|
Targets in ecos.db have been redefined to bring in all relevant
|
| 318 |
|
|
hardware packages including net and serial drivers (but the newly
|
| 319 |
|
|
included packages are only active if their desired parent is
|
| 320 |
|
|
available.)
|
| 321 |
|
|
|
| 322 |
|
|
The names of CDL options (and their #defines of course) stay the
|
| 323 |
|
|
same for the serial drivers, for backward compatibility.
|
| 324 |
|
|
|
| 325 |
|
|
* templates/*/current.ect: these have had CYGPKG_IO_SERIAL added
|
| 326 |
|
|
rather than it being in (almost) all target definitions.
|
| 327 |
|
|
|
| 328 |
|
|
2000-04-07 Jonathan Larmour
|
| 329 |
|
|
|
| 330 |
|
|
* src/common/tty.c (tty_read): Correct handling of modes with newlines
|
| 331 |
|
|
|
| 332 |
|
|
2000-04-05 Jonathan Larmour
|
| 333 |
|
|
|
| 334 |
|
|
* src/common/tty.c (tty_read): CRLF conversion should use \r\n not \n\r
|
| 335 |
|
|
(tty_write): Similarly
|
| 336 |
|
|
|
| 337 |
|
|
* include/ttyio.h: Update CYG_TTY_IN_FLAGS_CRLF and
|
| 338 |
|
|
CYG_TTY_IN_FLAGS_CRLF to match
|
| 339 |
|
|
|
| 340 |
|
|
2000-03-31 Jesper Skov
|
| 341 |
|
|
|
| 342 |
|
|
* cdl/ser_sh_edk7708.cdl: Limit legal baud rate range.
|
| 343 |
|
|
* src/sh/sh_sci_serial.c: Use baud rate macro instead of hardwired
|
| 344 |
|
|
constants.
|
| 345 |
|
|
|
| 346 |
|
|
2000-03-28 John Dallaway
|
| 347 |
|
|
|
| 348 |
|
|
* cdl/io_serial.cdl,
|
| 349 |
|
|
cdl/ser_arm_aeb.cdl,
|
| 350 |
|
|
cdl/ser_arm_cma230.cdl,
|
| 351 |
|
|
cdl/ser_arm_edb7xxx.cdl,
|
| 352 |
|
|
cdl/ser_arm_pid.cdl,
|
| 353 |
|
|
cdl/ser_i386_pc.cdl,
|
| 354 |
|
|
cdl/ser_mips_jmr3904.cdl,
|
| 355 |
|
|
cdl/ser_mips_vrc4373.cdl,
|
| 356 |
|
|
cdl/ser_mn10300.cdl,
|
| 357 |
|
|
cdl/ser_powerpc_cogent.cdl,
|
| 358 |
|
|
cdl/ser_quicc_smc.cdl,
|
| 359 |
|
|
cdl/ser_sh_edk7708.cdl,
|
| 360 |
|
|
cdl/ser_sparclite_sleb.cdl,
|
| 361 |
|
|
cdl/tty.cdl:
|
| 362 |
|
|
|
| 363 |
|
|
Adjust documentation URLs.
|
| 364 |
|
|
|
| 365 |
|
|
2000-03-07 Jesper Skov
|
| 366 |
|
|
|
| 367 |
|
|
* cdl/ser_mips_jmr3904.cdl: Rename devices to match CDL naming.
|
| 368 |
|
|
|
| 369 |
|
|
2000-02-29 Jonathan Larmour
|
| 370 |
|
|
|
| 371 |
|
|
* include/serialio.h: Correct baud rate typo: 230400 rather than
|
| 372 |
|
|
234000. Thanks to Grant Edwards for the report.
|
| 373 |
|
|
|
| 374 |
|
|
2000-02-28 Gary Thomas
|
| 375 |
|
|
|
| 376 |
|
|
* src/powerpc/quicc_smc_serial.c: Use standard 'diag_dump_buf()'.
|
| 377 |
|
|
|
| 378 |
|
|
2000-02-28 Jesper Skov
|
| 379 |
|
|
|
| 380 |
|
|
* tests/ser_test_protocol.inl: Allow 115200 baud on Cogent
|
| 381 |
|
|
again. Fixed interrupt problem.
|
| 382 |
|
|
|
| 383 |
|
|
2000-02-22 Jesper Skov
|
| 384 |
|
|
|
| 385 |
|
|
* tests/ser_test_protocol.inl: Don't use 115200 baud on
|
| 386 |
|
|
Cogent. Our slower boards can't keep up.
|
| 387 |
|
|
|
| 388 |
|
|
2000-02-17 Gary Thomas
|
| 389 |
|
|
|
| 390 |
|
|
* cdl/ser_powerpc_cogent.cdl: Fix incorrect dependency.
|
| 391 |
|
|
|
| 392 |
|
|
2000-02-16 Nick Garnett
|
| 393 |
|
|
|
| 394 |
|
|
* include/pkgconf/io_serial.h:
|
| 395 |
|
|
Added configury for PC serial device drivers.
|
| 396 |
|
|
|
| 397 |
|
|
* cdl/ser_i386_pc.cdl:
|
| 398 |
|
|
* src/i386/pc_serial.c:
|
| 399 |
|
|
* src/i386/pc_serial.h:
|
| 400 |
|
|
Added these files to implement PC serial line drivers.
|
| 401 |
|
|
|
| 402 |
|
|
* cdl/io_serial.cdl:
|
| 403 |
|
|
Added CYGPKG_IO_SERIAL_I386_PC.
|
| 404 |
|
|
|
| 405 |
|
|
* tests/ser_test_protocol.inl:
|
| 406 |
|
|
Added support for PC serial line testing.
|
| 407 |
|
|
|
| 408 |
|
|
2000-02-11 Jesper Skov
|
| 409 |
|
|
|
| 410 |
|
|
* src/sh/sh_sci_7708.inl (DEVTAB_ENTRY):
|
| 411 |
|
|
* src/sparclite/sleb_sdtr.c:
|
| 412 |
|
|
serial_devio => cyg_io_serial_devio
|
| 413 |
|
|
|
| 414 |
|
|
2000-02-10 Jonathan Larmour
|
| 415 |
|
|
|
| 416 |
|
|
* src/mn10300/mn10300_serial.c: Ensure all CYG_HAL_MN10300_*
|
| 417 |
|
|
preprocessor conditionals use the correct CYGPKG_HAL_MN10300_AM3* form
|
| 418 |
|
|
now.
|
| 419 |
|
|
|
| 420 |
|
|
2000-02-03 Jesper Skov
|
| 421 |
|
|
|
| 422 |
|
|
* src/powerpc/quicc_smc_serial.c: CYG_HAL_POWERPC_x->CYGPKG_...
|
| 423 |
|
|
|
| 424 |
|
|
2000-02-02 Jonathan Larmour
|
| 425 |
|
|
|
| 426 |
|
|
* src/arm/aeb_serial.h: Rename lower case register macros to REG_ upper
|
| 427 |
|
|
case macros
|
| 428 |
|
|
|
| 429 |
|
|
* src/arm/aeb_serial.c: Update to reflect above
|
| 430 |
|
|
|
| 431 |
|
|
2000-01-31 Simon FitzMaurice
|
| 432 |
|
|
* cdl/*.cdl:
|
| 433 |
|
|
|
| 434 |
|
|
Adjust help URLs in line with new doc layout.
|
| 435 |
|
|
|
| 436 |
|
|
2000-01-28 Simon FitzMaurice
|
| 437 |
|
|
* cdl/*.cdl:
|
| 438 |
|
|
|
| 439 |
|
|
Adjust help URLs in line with new doc layout.
|
| 440 |
|
|
|
| 441 |
|
|
2000-01-28 Gary Thomas
|
| 442 |
|
|
|
| 443 |
|
|
* src/common/tty.c (tty_read): Fix problem with backspace at start
|
| 444 |
|
|
of line (size must be 'signed' for compare to work).
|
| 445 |
|
|
|
| 446 |
|
|
2000-01-19 Hugo Tyson
|
| 447 |
|
|
|
| 448 |
|
|
* cdl/*.cdl: Add descriptions to a number of options &c which were
|
| 449 |
|
|
lacking same, also tidied up other typos as noticed en passant.
|
| 450 |
|
|
|
| 451 |
|
|
2000-01-17 Gary Thomas
|
| 452 |
|
|
|
| 453 |
|
|
* src/common/tty.c (tty_read): Avoid echoing "backspace/erase" at
|
| 454 |
|
|
start of line.
|
| 455 |
|
|
|
| 456 |
|
|
2000-01-05 Gary Thomas
|
| 457 |
|
|
|
| 458 |
|
|
* src/common/serial.c (serial_write): Avoid potential deadlock if
|
| 459 |
|
|
transmit start actually sends enough characters to signal cond wait.
|
| 460 |
|
|
|
| 461 |
|
|
2000-01-03 Gary Thomas
|
| 462 |
|
|
|
| 463 |
|
|
* include/serial.h: Fix namespace pollution -
|
| 464 |
|
|
serial_devio => cyg_io_serial_devio
|
| 465 |
|
|
serial_callbacks => cyg_io_serial_callbacks
|
| 466 |
|
|
|
| 467 |
|
|
* src/mips/tx3904_serial.c:
|
| 468 |
|
|
* src/mips/vrc4373_serial.c:
|
| 469 |
|
|
* src/mn10300/mn10300_serial.c:
|
| 470 |
|
|
* src/powerpc/quicc_smc_serial.c:
|
| 471 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
| 472 |
|
|
* src/sparclite/sleb_sdtr.c:
|
| 473 |
|
|
* src/arm/aeb_serial.c:
|
| 474 |
|
|
* src/arm/pid_serial_with_ints.c:
|
| 475 |
|
|
* src/arm/edb7xxx_serial.c:
|
| 476 |
|
|
* src/arm/cma230_serial.c:
|
| 477 |
|
|
* src/arm/ebsa285_serial.c:
|
| 478 |
|
|
* src/common/haldiag.c:
|
| 479 |
|
|
* src/common/serial.c: Fix namespace pollution -
|
| 480 |
|
|
serial_devio => cyg_io_serial_devio
|
| 481 |
|
|
|
| 482 |
|
|
1999-12-06 Gary Thomas
|
| 483 |
|
|
|
| 484 |
|
|
* src/arm/pid_serial_with_ints.c (pid_serial_DSR): Add loop to handle
|
| 485 |
|
|
case where an interrupt represents multiple events.
|
| 486 |
|
|
|
| 487 |
|
|
1999-11-19 Gary Thomas
|
| 488 |
|
|
|
| 489 |
|
|
* src/powerpc/quicc_smc_serial.c: Channel select for SMC2 was wrong.
|
| 490 |
|
|
|
| 491 |
|
|
1999-11-18 Gary Thomas
|
| 492 |
|
|
|
| 493 |
|
|
* include/pkgconf/io_serial.h: Remove mention of 7209/7212.
|
| 494 |
|
|
|
| 495 |
|
|
1999-11-03 John Dallaway
|
| 496 |
|
|
|
| 497 |
|
|
* cdl/io_serial.cdl: Define build options.
|
| 498 |
|
|
|
| 499 |
|
|
1999-10-26 Jesper Skov
|
| 500 |
|
|
* tests/serial5.c (serial_test): Reduce speed in thumb mode.
|
| 501 |
|
|
|
| 502 |
|
|
* src/arm/pid_serial.h: Added BE support.
|
| 503 |
|
|
|
| 504 |
|
|
* src/PKGconf.mak: Use CYGPKG_<> instead of CYG_<> to control what
|
| 505 |
|
|
needs to be compiled.
|
| 506 |
|
|
|
| 507 |
|
|
1999-10-25 Gary Thomas
|
| 508 |
|
|
|
| 509 |
|
|
* src/arm/pid_serial.h (ISR_RxTO): Define - character received but
|
| 510 |
|
|
not handled "promptly".
|
| 511 |
|
|
|
| 512 |
|
|
* src/arm/pid_serial_with_ints.c (pid_serial_DSR): Handle rcv interrupts
|
| 513 |
|
|
properly (can't ignore them even with TO bit set).
|
| 514 |
|
|
|
| 515 |
|
|
* src/arm/cl7211_serial.c (cl7211_serial_rx_DSR): Need to handle all
|
| 516 |
|
|
input (empty input FIFO) otherwise characters get dropped.
|
| 517 |
|
|
|
| 518 |
|
|
1999-10-15 Jesper Skov
|
| 519 |
|
|
|
| 520 |
|
|
* tests/ser_test_protocol.inl: Removed AEB rev C change. Was bogus.
|
| 521 |
|
|
|
| 522 |
|
|
1999-10-11 Nick Garnett
|
| 523 |
|
|
|
| 524 |
|
|
* tests/ser_test_protocol.inl: Added configury for VR4300 testing.
|
| 525 |
|
|
|
| 526 |
|
|
* src/mips/vrc4373_serial.c: Added Bi-endian support.
|
| 527 |
|
|
|
| 528 |
|
|
* include/pkgconf/io_serial.h: Adjusted default baud rates to
|
| 529 |
|
|
38400.
|
| 530 |
|
|
|
| 531 |
|
|
1999-10-06 Jesper Skov
|
| 532 |
|
|
|
| 533 |
|
|
* tests/ser_test_protocol.inl: Run tests on AEB rev C as well.
|
| 534 |
|
|
|
| 535 |
|
|
1999-09-28 Hugo Tyson
|
| 536 |
|
|
|
| 537 |
|
|
* src/powerpc/quicc_smc_serial.c (quicc_smc_serial_init): Correct
|
| 538 |
|
|
value supplied for interrupt priority - it may be unused, but it
|
| 539 |
|
|
is asserted for range. Initialize the diagnostic channel if on an
|
| 540 |
|
|
MBX and if NOT using SMC1 ourselves, to ensure that diag output
|
| 541 |
|
|
and built-in stubs work correctly; otherwise reset the quicc and
|
| 542 |
|
|
ignore SMC1 as before. Fix various warnings, mostly about
|
| 543 |
|
|
casting/arg-passing/assigning away volatile.
|
| 544 |
|
|
|
| 545 |
|
|
1999-08-31 Jesper Skov
|
| 546 |
|
|
|
| 547 |
|
|
* tests/ser_test_protocol.inl: Define dummy crash ID.
|
| 548 |
|
|
|
| 549 |
|
|
1999-08-30 Jesper Skov
|
| 550 |
|
|
|
| 551 |
|
|
* tests/ser_test_protocol.inl: Added crash information which
|
| 552 |
|
|
should help track down repeating errors.
|
| 553 |
|
|
|
| 554 |
|
|
1999-08-20 Jesper Skov
|
| 555 |
|
|
|
| 556 |
|
|
* tests/README: Added.
|
| 557 |
|
|
|
| 558 |
|
|
1999-08-18 Jesper Skov
|
| 559 |
|
|
|
| 560 |
|
|
* tests/tty1.c:
|
| 561 |
|
|
* tests/tty2.c:
|
| 562 |
|
|
* tests/serial1.c:
|
| 563 |
|
|
* tests/serial2.c:
|
| 564 |
|
|
* tests/serial3.c:
|
| 565 |
|
|
* tests/serial4.c:
|
| 566 |
|
|
* tests/serial5.c:
|
| 567 |
|
|
* tests/PKGconf.mak:
|
| 568 |
|
|
Require kernel and kernel C API.
|
| 569 |
|
|
|
| 570 |
|
|
1999-08-17 Nick Garnett
|
| 571 |
|
|
|
| 572 |
|
|
* src/mn10300/mn10300_serial.c: Added a simple implementation of a
|
| 573 |
|
|
receive FIFO to try and reduce the overhead of receiving bytes.
|
| 574 |
|
|
|
| 575 |
|
|
1999-08-16 Jonathan Larmour
|
| 576 |
|
|
|
| 577 |
|
|
* src/PKGconf.mak:
|
| 578 |
|
|
* src/mn10300/mn10300_serial.c:
|
| 579 |
|
|
* tests/ser_test_protocol.inl:
|
| 580 |
|
|
Rename all am32 -> am31
|
| 581 |
|
|
|
| 582 |
|
|
1999-08-12 Nick Garnett
|
| 583 |
|
|
|
| 584 |
|
|
Imported following changes from development branch:
|
| 585 |
|
|
|
| 586 |
|
|
1999-08-11 Nick Garnett
|
| 587 |
|
|
|
| 588 |
|
|
* tests/serial5.c: Modified config test for boards that need a lower
|
| 589 |
|
|
speed for this test.
|
| 590 |
|
|
|
| 591 |
|
|
* tests/ser_test_protocol.inl: Removed 14400 baud tests for all
|
| 592 |
|
|
MN10300 variants. The MN10300 cannot currently do this speed.
|
| 593 |
|
|
|
| 594 |
|
|
* src/mn10300/mn10300_serial.c: Tidied up the transmit interrupt
|
| 595 |
|
|
enable/disable code to be variant specific.
|
| 596 |
|
|
|
| 597 |
|
|
* include/pkgconf/io_serial.h: Undid Jonathan's change, since the
|
| 598 |
|
|
same options are used for all MN10300 variants.
|
| 599 |
|
|
|
| 600 |
|
|
1999-08-10 Jonathan Larmour
|
| 601 |
|
|
|
| 602 |
|
|
* include/pkgconf/io_serial.h:
|
| 603 |
|
|
Reparent CYGPKG_IO_SERIAL_MN10300 from under CYGPKG_HAL_MN10300 to
|
| 604 |
|
|
CYGPKG_HAL_MN10300_AM32_STDEVAL1 since it's stdeval1 specific
|
| 605 |
|
|
|
| 606 |
|
|
1999-08-04 Nick Garnett
|
| 607 |
|
|
|
| 608 |
|
|
* tests/ser_test_protocol.inl:
|
| 609 |
|
|
Changed names of MN10300 defines tested. Added AM33 definitions.
|
| 610 |
|
|
|
| 611 |
|
|
* src/mn10300/mn10300_serial.c:
|
| 612 |
|
|
Modified driver to work on am33 too. This simply requires some
|
| 613 |
|
|
alternate definitions of things like register addresses and some
|
| 614 |
|
|
bits in them plus some extra parameterization of some register
|
| 615 |
|
|
values.
|
| 616 |
|
|
|
| 617 |
|
|
* src/PKGconf.mak:
|
| 618 |
|
|
Added am33 to list of architectures supporting serial lines.
|
| 619 |
|
|
|
| 620 |
|
|
1999-07-28 Gary Thomas
|
| 621 |
|
|
|
| 622 |
|
|
* include/pkgconf/io_serial.h: Update descriptions to be more
|
| 623 |
|
|
generic (CL7x11 instead of CL7211).
|
| 624 |
|
|
|
| 625 |
|
|
1999-07-28 Jonathan Larmour
|
| 626 |
|
|
|
| 627 |
|
|
* include/pkgconf/io_serial.h: Correct typos in CDL description
|
| 628 |
|
|
for serial port 2 driver
|
| 629 |
|
|
|
| 630 |
|
|
1999-07-26 Hugo Tyson
|
| 631 |
|
|
|
| 632 |
|
|
* src/arm/ebsa285_serial.c: New file: device driver for the serial
|
| 633 |
|
|
device of the Intel StrongARM EBSA-285 evaluation board.
|
| 634 |
|
|
|
| 635 |
|
|
* include/pkgconf/io_serial.h (CYGPKG_IO_SERIAL_ARM_EBSA285):
|
| 636 |
|
|
Config for it.
|
| 637 |
|
|
|
| 638 |
|
|
* src/PKGconf.mak (EXTRAS_COMPILE): Compile it.
|
| 639 |
|
|
|
| 640 |
|
|
* tests/ser_test_protocol.inl (TEST_SER_DEV): Enable testing of it.
|
| 641 |
|
|
|
| 642 |
|
|
1999-07-08 Jesper Skov
|
| 643 |
|
|
|
| 644 |
|
|
* tests/ser_test_protocol.inl (change_config): Changed implementation.
|
| 645 |
|
|
|
| 646 |
|
|
1999-06-27 Gary Thomas
|
| 647 |
|
|
|
| 648 |
|
|
* src/powerpc/quicc_smc_serial.c (quicc_smc_serial_init): More robust
|
| 649 |
|
|
initialization, with data cache disabled. This seems to fix the
|
| 650 |
|
|
random failures described below.
|
| 651 |
|
|
|
| 652 |
|
|
* tests/ser_test_protocol.inl: Add configuration for QUICC/MBX860.
|
| 653 |
|
|
Added some delays in the configuration change code to make QUICC
|
| 654 |
|
|
happy [didn't help much although the manual says they are required].
|
| 655 |
|
|
|
| 656 |
|
|
* src/powerpc/quicc_smc_serial.h (UART_BITRATE): Rewrote macro to
|
| 657 |
|
|
match what the Linux driver uses - still doesn't work well, though.
|
| 658 |
|
|
|
| 659 |
|
|
* src/powerpc/quicc_smc_serial.c: Lots of changes trying to get the
|
| 660 |
|
|
serial driver working and robust. At this point it works quite well,
|
| 661 |
|
|
using the default buffer sizes. Changing from the defaults seem to
|
| 662 |
|
|
easily break it though, certainly on input. Also, changing the baud
|
| 663 |
|
|
rate seems to not work reliably.
|
| 664 |
|
|
|
| 665 |
|
|
* src/common/serial.c: Add some tracing/debug info to try and debug
|
| 666 |
|
|
problems with QUICC serial driver. These are hard disabled with
|
| 667 |
|
|
"XX_" prepended to "CYGDBG_DIAG_BUF". Enabling them gives information
|
| 668 |
|
|
about how/when data are delivered from the serial driver.
|
| 669 |
|
|
|
| 670 |
|
|
* include/pkgconf/io_serial.h: Adjust limits and defaults on number and
|
| 671 |
|
|
size of buffers with values that seem to work.
|
| 672 |
|
|
|
| 673 |
|
|
1999-06-21 Jesper Skov
|
| 674 |
|
|
|
| 675 |
|
|
* src/sh/sh_sci_serial.c: Rearranged inclusion of .inl file a bit
|
| 676 |
|
|
to avoid compiler warnings.
|
| 677 |
|
|
|
| 678 |
|
|
1999-06-21 Gary Thomas
|
| 679 |
|
|
|
| 680 |
|
|
* include/pkgconf/io_serial.h: Fix CDL for number of buffers.
|
| 681 |
|
|
|
| 682 |
|
|
* src/powerpc/quicc_smc_serial.c: Force number of buffers = 1.
|
| 683 |
|
|
|
| 684 |
|
|
1999-06-20 Gary Thomas
|
| 685 |
|
|
|
| 686 |
|
|
* include/pkgconf/io_serial.h: Some clean up (removed commented
|
| 687 |
|
|
obsolete CDL parenting structure).
|
| 688 |
|
|
Add support for Motorola PowerPC QUICC/SMC.
|
| 689 |
|
|
|
| 690 |
|
|
* src/arm/cma230_serial.c:
|
| 691 |
|
|
* src/arm/cl7211_serial.c:
|
| 692 |
|
|
* src/arm/aeb_serial.c:
|
| 693 |
|
|
* src/arm/pid_serial_with_ints.c: Use #include to get 'diag_printf()'
|
| 694 |
|
|
prototypes.
|
| 695 |
|
|
|
| 696 |
|
|
1999-06-17 Gary Thomas
|
| 697 |
|
|
|
| 698 |
|
|
* src/arm/cl7211_serial.c (cl7211_serial_start_xmit): Fix race which
|
| 699 |
|
|
cause xmitter to get stuck.
|
| 700 |
|
|
|
| 701 |
|
|
1999-06-16 Jesper Skov
|
| 702 |
|
|
|
| 703 |
|
|
* src/sh/sh_serial.c: [removed]
|
| 704 |
|
|
* src/sh/sh_sci_serial.c: [added]
|
| 705 |
|
|
* src/sh/sh_sci_7708.inl: [added]
|
| 706 |
|
|
* include/pkgconf/io_serial.h:
|
| 707 |
|
|
* src/PKGconf.mak (EXTRAS_COMPILE):
|
| 708 |
|
|
* tests/ser_test_protocol.inl:
|
| 709 |
|
|
Renamed CDL options and restructered driver.
|
| 710 |
|
|
Fixed CDL typo.
|
| 711 |
|
|
|
| 712 |
|
|
1999-06-04 Jesper Skov
|
| 713 |
|
|
|
| 714 |
|
|
* include/pkgconf/io_serial.h: Fixed CDL string for BAUD rate option.
|
| 715 |
|
|
|
| 716 |
|
|
1999-06-04 Gary Thomas
|
| 717 |
|
|
|
| 718 |
|
|
* tests/ser_test_protocol.inl: Disable testing at 115200
|
| 719 |
|
|
for Cogent CMA230 (ARM).
|
| 720 |
|
|
|
| 721 |
|
|
* src/arm/cma230_serial.c: Fix interrupt for port B.
|
| 722 |
|
|
|
| 723 |
|
|
1999-05-31 Jesper Skov
|
| 724 |
|
|
|
| 725 |
|
|
* src/sh/sh_serial.c: Fixed receive interrupts and added handler for
|
| 726 |
|
|
error interrupts.
|
| 727 |
|
|
|
| 728 |
|
|
1999-05-28 Jesper Skov
|
| 729 |
|
|
|
| 730 |
|
|
* io/serial/current/src/PKGconf.mak:
|
| 731 |
|
|
* io/serial/current/tests/ser_test_protocol.inl:
|
| 732 |
|
|
* include/pkgconf/io_serial.h:
|
| 733 |
|
|
Renamed SH platform package to edk7708.
|
| 734 |
|
|
|
| 735 |
|
|
1999-05-27 Jesper Skov
|
| 736 |
|
|
|
| 737 |
|
|
* tests/ser_test_protocol.inl: Added ability to change options in
|
| 738 |
|
|
host software.
|
| 739 |
|
|
|
| 740 |
|
|
1999-05-27 Jonathan Larmour
|
| 741 |
|
|
|
| 742 |
|
|
* src/mn10300/mn10300_serial.c (mn10300_serial_config_port):
|
| 743 |
|
|
Wait for the serial device to become acquiescent before disabling
|
| 744 |
|
|
it. This prevents cygmon's outgoing characters getting corrupted
|
| 745 |
|
|
due to transmission being disabled.
|
| 746 |
|
|
Fix for PR 20047
|
| 747 |
|
|
|
| 748 |
|
|
1999-05-26 Gary Thomas
|
| 749 |
|
|
|
| 750 |
|
|
* include/pkgconf/io_serial.h:
|
| 751 |
|
|
* tests/ser_test_protocol.inl: Add Cogent CMA230 setup.
|
| 752 |
|
|
|
| 753 |
|
|
* src/arm/cma230_serial.c: Make names compatible with Cogent
|
| 754 |
|
|
PowerPC board.
|
| 755 |
|
|
|
| 756 |
|
|
1999-05-26 Gary Thomas
|
| 757 |
|
|
|
| 758 |
|
|
* tests/ser_test_protocol.inl: Add Cirrus Logic CL7211 setup.
|
| 759 |
|
|
1999-05-26 Jesper Skov
|
| 760 |
|
|
|
| 761 |
|
|
* src/sh/sh_serial.c: Added more baud rate values. Disabled
|
| 762 |
|
|
interrupt driven receive. Fixed config_port to enable proper
|
| 763 |
|
|
interrupt flags.
|
| 764 |
|
|
|
| 765 |
|
|
1999-05-25 Jonathan Larmour
|
| 766 |
|
|
|
| 767 |
|
|
* tests/ser_test_protocol.inl:
|
| 768 |
|
|
Change all mentions of CYGPKG_HAL_TX39_JMR3904 to
|
| 769 |
|
|
CYGPKG_HAL_MIPS_TX39_JMR3904
|
| 770 |
|
|
|
| 771 |
|
|
1999-05-25 Jonathan Larmour
|
| 772 |
|
|
|
| 773 |
|
|
* src/PKGconf.mak (EXTRAS_COMPILE): Change CYG_HAL_TX39 to
|
| 774 |
|
|
CYG_HAL_MIPS_TX39
|
| 775 |
|
|
1999-05-25 Jesper Skov
|
| 776 |
|
|
|
| 777 |
|
|
* tests/ser_test_protocol.inl: Added sh entry.
|
| 778 |
|
|
|
| 779 |
|
|
1999-05-24 Jesper Skov
|
| 780 |
|
|
|
| 781 |
|
|
* src/PKGconf.mak:
|
| 782 |
|
|
* include/pkgconf/io_serial.h:
|
| 783 |
|
|
* src/sh/sh_serial.c:
|
| 784 |
|
|
Added sh driver.
|
| 785 |
|
|
|
| 786 |
|
|
1999-05-18 Jesper Skov
|
| 787 |
|
|
PR 19926
|
| 788 |
|
|
* src/sparclite/sleb_sdtr.c (sleb_sdtr_rx_DSR): Only read chan if
|
| 789 |
|
|
there is one.
|
| 790 |
|
|
|
| 791 |
|
|
1999-05-18 Jesper Skov
|
| 792 |
|
|
PR 19926
|
| 793 |
|
|
* src/arm/cl7211_serial.c (cl7211_serial_rx_DSR): Only read char
|
| 794 |
|
|
if there is one.
|
| 795 |
|
|
|
| 796 |
|
|
1999-05-16 Gary Thomas
|
| 797 |
|
|
|
| 798 |
|
|
* src/arm/cl7211_serial.c: Clean up, first working version.
|
| 799 |
|
|
|
| 800 |
|
|
1999-05-14 Jesper Skov
|
| 801 |
|
|
|
| 802 |
|
|
* tests/ser_test_protocol.inl: Removed workaround for spurious
|
| 803 |
|
|
Cogent reads.
|
| 804 |
|
|
|
| 805 |
|
|
* src/arm/aeb_serial.c:
|
| 806 |
|
|
* src/arm/aeb_serial.h:
|
| 807 |
|
|
* src/arm/pid_serial_with_ints.c:
|
| 808 |
|
|
* src/arm/pid_serial.h:
|
| 809 |
|
|
* src/powerpc/cogent_serial.h:
|
| 810 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
| 811 |
|
|
Check for receive interrupt before reading.
|
| 812 |
|
|
|
| 813 |
|
|
1999-05-13 Nick Garnett
|
| 814 |
|
|
|
| 815 |
|
|
The follow changes were made in a branch an have now been merged:
|
| 816 |
|
|
|
| 817 |
|
|
1999-04-21 Gary Thomas
|
| 818 |
|
|
|
| 819 |
|
|
* src/mips/vrc4373_serial.c: Small changes to get working with
|
| 820 |
|
|
interrupts.
|
| 821 |
|
|
|
| 822 |
|
|
1999-04-20 John Dallaway
|
| 823 |
|
|
|
| 824 |
|
|
* include/pkgconf/io_serial.h: Fix CYGPKG_IO_SERIAL_TX39_JMR3904
|
| 825 |
|
|
parent attribute.
|
| 826 |
|
|
|
| 827 |
|
|
1999-05-11 Gary Thomas
|
| 828 |
|
|
|
| 829 |
|
|
* src/arm/cl7211_serial.c: Fix compile problems from merged code.
|
| 830 |
|
|
|
| 831 |
|
|
1999-05-05 Jesper Skov
|
| 832 |
|
|
|
| 833 |
|
|
* tests/ser_test_protocol.inl: Tidied up a bit and added
|
| 834 |
|
|
description of protocol.
|
| 835 |
|
|
|
| 836 |
|
|
1999-05-05 Jesper Skov
|
| 837 |
|
|
|
| 838 |
|
|
* src/common/serial.c (serial_write, serial_read): Clear abort
|
| 839 |
|
|
flag at entry.
|
| 840 |
|
|
|
| 841 |
|
|
1999-05-05 Jesper Skov
|
| 842 |
|
|
|
| 843 |
|
|
* tests/serial4.c (serial_test): Handle config fails correctly.
|
| 844 |
|
|
|
| 845 |
|
|
* tests/ser_test_protocol.inl: Better change_config
|
| 846 |
|
|
handling. Simple recovery and negotiation isn't timing
|
| 847 |
|
|
dependant.
|
| 848 |
|
|
|
| 849 |
|
|
1999-05-05 Jesper Skov
|
| 850 |
|
|
|
| 851 |
|
|
* tests/timeout.inl: Updated with the below changes.
|
| 852 |
|
|
|
| 853 |
|
|
1999-05-05 Gary Thomas
|
| 854 |
|
|
|
| 855 |
|
|
* misc/timeout.inl (timeout): Timeouts are relative, but alarms
|
| 856 |
|
|
need absolute time values.
|
| 857 |
|
|
|
| 858 |
|
|
1999-05-04 Jesper Skov
|
| 859 |
|
|
PR 20018
|
| 860 |
|
|
* tests/serial1.c (serial_test): Always PASS, regardless of
|
| 861 |
|
|
configuration.
|
| 862 |
|
|
|
| 863 |
|
|
1999-05-04 Jesper Skov
|
| 864 |
|
|
|
| 865 |
|
|
* tests/ser_test_protocol.inl: Reverse order of configurations -
|
| 866 |
|
|
run tests with slow baud rate first.
|
| 867 |
|
|
Only check CYG_KERNEL_DIAG_GDB_SERIAL_DIRECT for SLEB on RAM startup.
|
| 868 |
|
|
|
| 869 |
|
|
1999-05-04 Jesper Skov
|
| 870 |
|
|
* src/mn10300/mn10300_serial.c:
|
| 871 |
|
|
Use interrupt enable/disable feature of serial port2 to allow
|
| 872 |
|
|
coexistence with CygMon/hal_diag.
|
| 873 |
|
|
|
| 874 |
|
|
* tests/ser_test_protocol.inl: Use port2 for MN10300.
|
| 875 |
|
|
|
| 876 |
|
|
1999-04-28 Bart Veer
|
| 877 |
|
|
|
| 878 |
|
|
* src/PKGconf.mak (EXTRAS_COMPILE):
|
| 879 |
|
|
Use the new rules for generating libextras.a
|
| 880 |
|
|
|
| 881 |
|
|
1999-04-26 Gary Thomas
|
| 882 |
|
|
|
| 883 |
|
|
* include/pkgconf/io_serial.h: Add support for Cirrus Logic CL7211.
|
| 884 |
|
|
|
| 885 |
|
|
|
| 886 |
|
|
1999-04-20 Gary Thomas
|
| 887 |
|
|
|
| 888 |
|
|
* src/arm/aeb_serial.c:
|
| 889 |
|
|
* src/arm/pid_serial_with_ints.c: Fix default baud rate if unbuffered.
|
| 890 |
|
|
1999-04-20 Jesper Skov
|
| 891 |
|
|
|
| 892 |
|
|
* tests/ser_test_protocol.inl: Added some comments. Disabled 38400
|
| 893 |
|
|
for SLEB. Only run test on SLEB if CygMon isn't used for diag
|
| 894 |
|
|
output.
|
| 895 |
|
|
|
| 896 |
|
|
1999-04-15 Jesper Skov
|
| 897 |
|
|
PR 19752
|
| 898 |
|
|
* tests/serial3.c:
|
| 899 |
|
|
* tests/serial5.c:
|
| 900 |
|
|
Run these tests at a lower baud rate on ARM AEB.
|
| 901 |
|
|
|
| 902 |
|
|
1999-04-14 Jesper Skov
|
| 903 |
|
|
PR 19839
|
| 904 |
|
|
* src/mn10300/mn10300_serial.c:
|
| 905 |
|
|
Fix compiler warnings.
|
| 906 |
|
|
|
| 907 |
|
|
1999-04-14 Bart Veer
|
| 908 |
|
|
|
| 909 |
|
|
* include/pkgconf/io_serial.h:
|
| 910 |
|
|
Reparent the board-specific serial devices below the actual boards.
|
| 911 |
|
|
|
| 912 |
|
|
1999-04-13 Jesper Skov
|
| 913 |
|
|
|
| 914 |
|
|
* tests/ser_test_protocol.inl:
|
| 915 |
|
|
NA when run from simulator.
|
| 916 |
|
|
|
| 917 |
|
|
1999-04-12 Jesper Skov
|
| 918 |
|
|
|
| 919 |
|
|
* tests/ser_test_protocol.inl:
|
| 920 |
|
|
Disabled 115200 for MN10300.
|
| 921 |
|
|
Reclaim interrupt vectors from CygMon when testing on SLEB.
|
| 922 |
|
|
|
| 923 |
|
|
1999-04-09 Gary Thomas
|
| 924 |
|
|
|
| 925 |
|
|
* include/serial.h: Change SERIAL_CHANNEL setup so all channels
|
| 926 |
|
|
have serial callbacks, regardless of buffering.
|
| 927 |
|
|
|
| 928 |
|
|
1999-04-09 Jesper Skov
|
| 929 |
|
|
|
| 930 |
|
|
* src/common/tty.c:
|
| 931 |
|
|
* include/pkgconf/io_serial.h:
|
| 932 |
|
|
Added new ttydiag device layered on top of haldiag, so that tty0
|
| 933 |
|
|
can be layered on top of ser0.
|
| 934 |
|
|
|
| 935 |
|
|
1999-04-08 Jesper Skov
|
| 936 |
|
|
|
| 937 |
|
|
* tests/tty1.c: [added]
|
| 938 |
|
|
* tests/tty2.c: [added]
|
| 939 |
|
|
* tests/PKGconf.mak:
|
| 940 |
|
|
* tests/ser_test_protocol.inl:
|
| 941 |
|
|
Added two simple TTY tests.
|
| 942 |
|
|
|
| 943 |
|
|
1999-04-07 Hugo Tyson
|
| 944 |
|
|
|
| 945 |
|
|
* src/sparclite/sleb_sdtr.h: Include cyg/hal/hal_io.h for I/O
|
| 946 |
|
|
macros instead of hal_diag.h where they had evolved before.
|
| 947 |
|
|
|
| 948 |
|
|
1999-04-06 Jesper Skov
|
| 949 |
|
|
|
| 950 |
|
|
* tests/serial4.c (serial_test):
|
| 951 |
|
|
* tests/serial3.c (serial_test):
|
| 952 |
|
|
Reduce packet sizes.
|
| 953 |
|
|
|
| 954 |
|
|
1999-03-31 Jesper Skov
|
| 955 |
|
|
|
| 956 |
|
|
* tests/ser_test_protocol.inl: Added remaining targets to the
|
| 957 |
|
|
test.
|
| 958 |
|
|
|
| 959 |
|
|
1999-03-31 Gary Thomas
|
| 960 |
|
|
|
| 961 |
|
|
* src/sparclite/sleb_sdtr.c (sleb_sdtr_start_xmit): Fix timing race
|
| 962 |
|
|
when enabling xmit interrupts.
|
| 963 |
|
|
|
| 964 |
|
|
1999-03-26 Gary Thomas
|
| 965 |
|
|
|
| 966 |
|
|
* src/sparclite/sleb_sdtr.c: Change how the port is set up. The transmitter
|
| 967 |
|
|
is now always enabled, just the interrupts are masked/unmasked to control it.
|
| 968 |
|
|
This lets the serial driver cooperate with Cygmon on the port used for GDB.
|
| 969 |
|
|
Note that currently serial input does not work for CON1 since Cygmon is
|
| 970 |
|
|
taking all of the receive interrupts for itself.
|
| 971 |
|
|
(sleb_sdtr_tx_DSR): Need to keep track whether xmit interrupt should be
|
| 972 |
|
|
enabled - otherwise it can get enabled incorrectly and we get interrupted
|
| 973 |
|
|
to death!
|
| 974 |
|
|
|
| 975 |
|
|
1999-03-26 Jesper Skov
|
| 976 |
|
|
|
| 977 |
|
|
* tests/ser_test_protocol.inl: Send a DONE message after a no-echo
|
| 978 |
|
|
binary packet.
|
| 979 |
|
|
|
| 980 |
|
|
1999-03-26 Hugo Tyson
|
| 981 |
|
|
|
| 982 |
|
|
* tests/serial5.c:
|
| 983 |
|
|
* tests/serial4.c:
|
| 984 |
|
|
* tests/serial3.c:
|
| 985 |
|
|
* tests/serial2.c:
|
| 986 |
|
|
* tests/serial1.c:
|
| 987 |
|
|
Make these build when no kernel present; include of testcase
|
| 988 |
|
|
was the wrong side of the ifdef.
|
| 989 |
|
|
|
| 990 |
|
|
1999-03-26 Jesper Skov
|
| 991 |
|
|
|
| 992 |
|
|
* tests/serial5.c:
|
| 993 |
|
|
* tests/serial4.c:
|
| 994 |
|
|
* tests/serial3.c:
|
| 995 |
|
|
* tests/serial2.c:
|
| 996 |
|
|
* tests/serial1.c:
|
| 997 |
|
|
Moved NOP check to ser_test_protocol open call.
|
| 998 |
|
|
|
| 999 |
|
|
* tests/ser_test_protocol.inl: Make sure the proper device is
|
| 1000 |
|
|
selected for testing. Do NOP check in open call.
|
| 1001 |
|
|
|
| 1002 |
|
|
1999-03-25 Gary Thomas
|
| 1003 |
|
|
|
| 1004 |
|
|
* include/pkgconf/io_serial.h:
|
| 1005 |
|
|
* misc/console.c:
|
| 1006 |
|
|
* src/arm/aeb_serial.c:
|
| 1007 |
|
|
* src/arm/pid_serial_with_ints.c:
|
| 1008 |
|
|
* src/common/tty.c:
|
| 1009 |
|
|
* src/mips/tx3904_serial.c:
|
| 1010 |
|
|
* src/mn10300/mn10300_serial.c:
|
| 1011 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
| 1012 |
|
|
* src/sparclite/sleb_sdtr.c: Update CDL to follow naming conventions.
|
| 1013 |
|
|
|
| 1014 |
|
|
* src/mips/tx3904_serial.c (tx3904_serial_config_port):
|
| 1015 |
|
|
Make sure port is enabled (CDL) before using it.
|
| 1016 |
|
|
|
| 1017 |
|
|
* src/mn10300/mn10300_serial.c (mn10300_serial_config_port):
|
| 1018 |
|
|
* src/powerpc/cogent_serial_with_ints.c (cogent_serial_config_port):
|
| 1019 |
|
|
* src/arm/aeb_serial.c (aeb_serial_config_port):
|
| 1020 |
|
|
* src/arm/pid_serial_with_ints.c (pid_serial_config_port): Change so that
|
| 1021 |
|
|
the physical port is not modified unless the provided configuration is valid.
|
| 1022 |
|
|
|
| 1023 |
|
|
* src/sparclite/sleb_sdtr.c (sleb_sdtr_config_port):
|
| 1024 |
|
|
Using wrong config data.
|
| 1025 |
|
|
|
| 1026 |
|
|
* include/serialio.h: Add macros to support baud rate from CDL.
|
| 1027 |
|
|
|
| 1028 |
|
|
* include/pkgconf/io_serial.h:
|
| 1029 |
|
|
* src/mn10300/mn10300_serial.c:
|
| 1030 |
|
|
* src/mips/tx3904_serial.c (tx3904_serial_ISR):
|
| 1031 |
|
|
* src/sparclite/sleb_sdtr.c:
|
| 1032 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
| 1033 |
|
|
* src/arm/pid_serial_with_ints.c:
|
| 1034 |
|
|
* src/arm/aeb_serial.c: Add configury for baud rate and buffer size.
|
| 1035 |
|
|
|
| 1036 |
|
|
1999-03-24 Nick Garnett
|
| 1037 |
|
|
|
| 1038 |
|
|
* src/mips/tx3904_serial.c:
|
| 1039 |
|
|
Now uses CYGHWR_HAL_MIPS_CPU_FREQ_ACTUAL to get CPU
|
| 1040 |
|
|
frequency. This is a little more accurate than using
|
| 1041 |
|
|
CYGHWR_HAL_MIPS_CPU_FREQ.
|
| 1042 |
|
|
|
| 1043 |
|
|
1999-03-24 Gary Thomas
|
| 1044 |
|
|
|
| 1045 |
|
|
* include/serialio.h (CYGNUM_SERIAL_BAUD_MIN/MAX): Add for completeness.
|
| 1046 |
|
|
|
| 1047 |
|
|
* src/arm/aeb_serial.c (aeb_serial_stop_xmit):
|
| 1048 |
|
|
* src/arm/pid_serial_with_ints.c (pid_serial_stop_xmit): Fix typo in comment.
|
| 1049 |
|
|
|
| 1050 |
|
|
1999-03-24 Jesper Skov
|
| 1051 |
|
|
|
| 1052 |
|
|
* tests/ser_test_protocol.inl: Weeded out configs TX39 doesn't
|
| 1053 |
|
|
like.
|
| 1054 |
|
|
|
| 1055 |
|
|
* src/powerpc/cogent_serial.h:
|
| 1056 |
|
|
Added copyright header.
|
| 1057 |
|
|
|
| 1058 |
|
|
* tests/ser_test_protocol.inl:
|
| 1059 |
|
|
* tests/serial1.c:
|
| 1060 |
|
|
* tests/serial2.c:
|
| 1061 |
|
|
* tests/serial3.c:
|
| 1062 |
|
|
* tests/serial4.c:
|
| 1063 |
|
|
* tests/serial5.c:
|
| 1064 |
|
|
Don't try to run tests when no IO device has been specified.
|
| 1065 |
|
|
|
| 1066 |
|
|
1999-03-23 Jesper Skov
|
| 1067 |
|
|
|
| 1068 |
|
|
* misc/serial1.c, misc/serial2.c, misc/serial3.c, misc/serial4.c,
|
| 1069 |
|
|
* misc/serial5.c, misc/ser_test_protocol.inl
|
| 1070 |
|
|
Deleted.
|
| 1071 |
|
|
|
| 1072 |
|
|
1999-03-23 Jesper Skov
|
| 1073 |
|
|
|
| 1074 |
|
|
* misc/PKGconf.mak:
|
| 1075 |
|
|
* tests/timeout.inl:
|
| 1076 |
|
|
* tests/PKGconf.mak:
|
| 1077 |
|
|
* tests/serial1.c:
|
| 1078 |
|
|
* tests/serial2.c:
|
| 1079 |
|
|
* tests/serial3.c:
|
| 1080 |
|
|
* tests/serial4.c:
|
| 1081 |
|
|
* tests/serial5.c:
|
| 1082 |
|
|
* tests/ser_test_protocol.inl:
|
| 1083 |
|
|
Moved the serial tests from the misc directory to the tests
|
| 1084 |
|
|
directory.
|
| 1085 |
|
|
|
| 1086 |
|
|
1999-03-23 Nick Garnett
|
| 1087 |
|
|
|
| 1088 |
|
|
* src/mn10300/mn10300_serial.c: Now initially mask TX interrupts
|
| 1089 |
|
|
at initialization and unmask/remask in start/stop xmit
|
| 1090 |
|
|
routines. This has no real effect on the hardware, but the
|
| 1091 |
|
|
simulator does not implement the LCR_TXE bit properly, resulting
|
| 1092 |
|
|
in spurious TX interrupts during diagnostic output.
|
| 1093 |
|
|
This was the cause of the slow output reported in PR 19559.
|
| 1094 |
|
|
|
| 1095 |
|
|
1999-03-23 Gary Thomas
|
| 1096 |
|
|
|
| 1097 |
|
|
* include/pkgconf/io_serial.h: Fix "display" strings to have appropriate
|
| 1098 |
|
|
case - mostly lower case.
|
| 1099 |
|
|
|
| 1100 |
|
|
1999-03-22 Hugo Tyson
|
| 1101 |
|
|
|
| 1102 |
|
|
* misc/console.c:
|
| 1103 |
|
|
* misc/serial.c:
|
| 1104 |
|
|
* misc/serial1.c:
|
| 1105 |
|
|
* misc/serial2.c:
|
| 1106 |
|
|
* misc/serial3.c:
|
| 1107 |
|
|
* misc/serial4.c:
|
| 1108 |
|
|
* misc/serial5.c:
|
| 1109 |
|
|
Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
|
| 1110 |
|
|
CYGNUM_HAL_MINIMUM_STACK_SIZE.
|
| 1111 |
|
|
|
| 1112 |
|
|
1999-03-22 Gary Thomas
|
| 1113 |
|
|
|
| 1114 |
|
|
* src/mn10300/mn10300_serial.c:
|
| 1115 |
|
|
* src/mips/tx3904_serial.c: Add CDL configury.
|
| 1116 |
|
|
|
| 1117 |
|
|
* include/pkgconf/io_serial.h: Update CDL to add device name
|
| 1118 |
|
|
configurability for all devices.
|
| 1119 |
|
|
|
| 1120 |
|
|
* src/sparclite/sleb_sdtr.c:
|
| 1121 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
| 1122 |
|
|
* src/arm/aeb_serial.c:
|
| 1123 |
|
|
* src/arm/pid_serial_with_ints.c: Use CDL configured device names.
|
| 1124 |
|
|
|
| 1125 |
|
|
1999-03-22 Jesper Skov
|
| 1126 |
|
|
|
| 1127 |
|
|
* misc/serial1.c:
|
| 1128 |
|
|
* misc/serial2.c:
|
| 1129 |
|
|
* misc/serial3.c:
|
| 1130 |
|
|
* misc/serial4.c:
|
| 1131 |
|
|
* misc/serial5.c:
|
| 1132 |
|
|
Requires kernel as well.
|
| 1133 |
|
|
|
| 1134 |
|
|
1999-03-22 Jesper Skov
|
| 1135 |
|
|
|
| 1136 |
|
|
* src/sparclite/sleb_sdtr.c:
|
| 1137 |
|
|
Moved include statement to avoid warnings.
|
| 1138 |
|
|
|
| 1139 |
|
|
1999-03-19 Jesper Skov
|
| 1140 |
|
|
|
| 1141 |
|
|
* misc/ser_test_protocol.inl:
|
| 1142 |
|
|
* misc/serial5.c:
|
| 1143 |
|
|
* misc/PKGconf.mak:
|
| 1144 |
|
|
Replace complex and not very stable duplex test with a simpler
|
| 1145 |
|
|
test that works better.
|
| 1146 |
|
|
Added serial5 using that test.
|
| 1147 |
|
|
|
| 1148 |
|
|
1999-03-19 Jesper Skov
|
| 1149 |
|
|
|
| 1150 |
|
|
* misc/PKGconf.mak:
|
| 1151 |
|
|
* misc/serial1.c:
|
| 1152 |
|
|
* misc/serial2.c:
|
| 1153 |
|
|
Added API test and made serial2 do simple string output.
|
| 1154 |
|
|
|
| 1155 |
|
|
1999-03-19 Jesper Skov
|
| 1156 |
|
|
|
| 1157 |
|
|
* src/powerpc/cogent_serial_with_ints.c: Changed ToDo comment.
|
| 1158 |
|
|
|
| 1159 |
|
|
1999-03-19 Jesper Skov
|
| 1160 |
|
|
|
| 1161 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
| 1162 |
|
|
* src/arm/aeb_serial.c:
|
| 1163 |
|
|
* src/arm/pid_serial_with_ints.c:
|
| 1164 |
|
|
Moved include statement to avoid warnings.
|
| 1165 |
|
|
|
| 1166 |
|
|
1999-03-19 Gary Thomas
|
| 1167 |
|
|
|
| 1168 |
|
|
* include/pkgconf/io_serial.h: More CDL problems.
|
| 1169 |
|
|
|
| 1170 |
|
|
1999-03-18 Gary Thomas
|
| 1171 |
|
|
|
| 1172 |
|
|
* include/pkgconf/io_serial.h: Add CDL for SPARClite SLEB.
|
| 1173 |
|
|
|
| 1174 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
| 1175 |
|
|
* src/arm/pid_serial_with_ints.c:
|
| 1176 |
|
|
* src/arm/aeb_serial.c: Update device names to match CDL.
|
| 1177 |
|
|
|
| 1178 |
|
|
* include/pkgconf/io_serial.h: Change names for serial ports to
|
| 1179 |
|
|
be CYGPKG_IO_SERIAL___.
|
| 1180 |
|
|
|
| 1181 |
|
|
1999-03-18 Jesper Skov
|
| 1182 |
|
|
|
| 1183 |
|
|
* misc/ser_test_protocol.inl:
|
| 1184 |
|
|
* misc/serial2.c:
|
| 1185 |
|
|
First stab at the duplex binary test. Still much fun to be had...
|
| 1186 |
|
|
|
| 1187 |
|
|
1999-03-18 Jesper Skov
|
| 1188 |
|
|
|
| 1189 |
|
|
* misc/ser_test_protocol.inl: Added timeout for PING.
|
| 1190 |
|
|
|
| 1191 |
|
|
1999-03-18 Gary Thomas
|
| 1192 |
|
|
|
| 1193 |
|
|
* src/common/serial.c: Change ABORT functionality to be DSR safe.
|
| 1194 |
|
|
(serial_get_config): Fix typo!
|
| 1195 |
|
|
|
| 1196 |
|
|
* include/pkgconf/io_serial.h: Small change in CDL to make serial
|
| 1197 |
|
|
devices tied to the platform and not the serial I/O package. This
|
| 1198 |
|
|
means that only the devices appropriate to a given platform can be
|
| 1199 |
|
|
enabled.
|
| 1200 |
|
|
|
| 1201 |
|
|
* misc/serial.c: Better use of alarms - only trigger at the time of
|
| 1202 |
|
|
the next timeout. Moved timeout functions to new file "timeout.inl".
|
| 1203 |
|
|
|
| 1204 |
|
|
* src/common/serial.c (serial_get_config): Add support for
|
| 1205 |
|
|
CYG_IO_GET_CONFIG_SERIAL_INPUT_FLUSH and CYG_IO_GET_CONFIG_SERIAL_ABORT.
|
| 1206 |
|
|
|
| 1207 |
|
|
* misc/serial.c: Add simple timeout mechanisms.
|
| 1208 |
|
|
|
| 1209 |
|
|
1999-03-17 Gary Thomas
|
| 1210 |
|
|
|
| 1211 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
| 1212 |
|
|
* src/arm/aeb_serial.c:
|
| 1213 |
|
|
* src/arm/pid_serial_with_ints.c: Conditionalize based on CDL.
|
| 1214 |
|
|
|
| 1215 |
|
|
* include/pkgconf/io_serial.h: Add some CDL configury - not perfect
|
| 1216 |
|
|
because of current ~CDL limitations.
|
| 1217 |
|
|
|
| 1218 |
|
|
1999-03-17 Jesper Skov
|
| 1219 |
|
|
|
| 1220 |
|
|
* misc/serial2.c: Cleaned up a bit. Used for hacking new tests.
|
| 1221 |
|
|
|
| 1222 |
|
|
1999-03-17 Jesper Skov
|
| 1223 |
|
|
|
| 1224 |
|
|
* misc/PKGconf.mak:
|
| 1225 |
|
|
* misc/ser_test_protocol.inl:
|
| 1226 |
|
|
* misc/serial2.c:
|
| 1227 |
|
|
* misc/serial3.c:
|
| 1228 |
|
|
* misc/serial4.c:
|
| 1229 |
|
|
Put testing protocol implementation in a separate file. Split the
|
| 1230 |
|
|
tests in serial2 into separate files.
|
| 1231 |
|
|
|
| 1232 |
|
|
1999-03-16 Nick Garnett
|
| 1233 |
|
|
|
| 1234 |
|
|
* src/mn10300/mn10300_serial.c: Fixed some compiler warnings.
|
| 1235 |
|
|
|
| 1236 |
|
|
1999-03-15 Gary Thomas
|
| 1237 |
|
|
|
| 1238 |
|
|
* include/pkgconf/io_serial.h: Change default configurations.
|
| 1239 |
|
|
No serial drivers enabled for PID port A or AEB.
|
| 1240 |
|
|
|
| 1241 |
|
|
* src/sparclite/sleb_sdtr.c:
|
| 1242 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
| 1243 |
|
|
* src/arm/aeb_serial.c:
|
| 1244 |
|
|
* src/arm/pid_serial_with_ints.c:
|
| 1245 |
|
|
* src/common/haldiag.c:
|
| 1246 |
|
|
* src/common/tty.c:
|
| 1247 |
|
|
* src/common/serial.c: Add 'CYGDBG_IO_INIT' for control of init
|
| 1248 |
|
|
messages.
|
| 1249 |
|
|
|
| 1250 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
| 1251 |
|
|
* src/sparclite/sleb_sdtr.c:
|
| 1252 |
|
|
* src/arm/aeb_serial.c:
|
| 1253 |
|
|
* src/arm/pid_serial_with_ints.c: Don't include
|
| 1254 |
|
|
|
| 1255 |
|
|
1999-03-15 Jesper Skov
|
| 1256 |
|
|
|
| 1257 |
|
|
* misc/serial2.c (serial_test): Fix use of strlen. Fix DONE part
|
| 1258 |
|
|
of binary protocol.
|
| 1259 |
|
|
|
| 1260 |
|
|
1999-03-12 Jesper Skov
|
| 1261 |
|
|
|
| 1262 |
|
|
* misc/serial2.c: Play a bit with timing. Think I broke it :(
|
| 1263 |
|
|
Added DONE to BINARY packet.
|
| 1264 |
|
|
Proper call to DRAIN.
|
| 1265 |
|
|
|
| 1266 |
|
|
1999-03-12 Nick Garnett
|
| 1267 |
|
|
|
| 1268 |
|
|
* src/mips/tx3904_serial.c: Tidied away some debugging code.
|
| 1269 |
|
|
|
| 1270 |
|
|
1999-03-12 Jesper Skov
|
| 1271 |
|
|
|
| 1272 |
|
|
* misc/serial2.c: Removed bogus config changes.
|
| 1273 |
|
|
|
| 1274 |
|
|
1999-03-12 Jesper Skov
|
| 1275 |
|
|
|
| 1276 |
|
|
* misc/serial2.c (serial_test): Check for ser_filter on host (PING
|
| 1277 |
|
|
packet).
|
| 1278 |
|
|
|
| 1279 |
|
|
1999-03-11 Jesper Skov
|
| 1280 |
|
|
|
| 1281 |
|
|
* src/powerpc/cogent_serial_with_ints.c: Added note.
|
| 1282 |
|
|
|
| 1283 |
|
|
* misc/serial2.c:
|
| 1284 |
|
|
Added (almost) proper configuration handling.
|
| 1285 |
|
|
Run tests on varying configurations.
|
| 1286 |
|
|
|
| 1287 |
|
|
1999-03-11 Nick Garnett
|
| 1288 |
|
|
|
| 1289 |
|
|
* src/mips/tx3904_serial.c:
|
| 1290 |
|
|
Many changes to get working.
|
| 1291 |
|
|
|
| 1292 |
|
|
* misc/console.c (console_test): Fixed compiler warning.
|
| 1293 |
|
|
|
| 1294 |
|
|
* misc/serial2.c:
|
| 1295 |
|
|
Added device name for TX39 testing.
|
| 1296 |
|
|
Fixed some bugs in Tcyg_io_write() macro.
|
| 1297 |
|
|
|
| 1298 |
|
|
1999-03-10 Jesper Skov
|
| 1299 |
|
|
|
| 1300 |
|
|
* misc/serial2.c: Added target specific test device name.
|
| 1301 |
|
|
|
| 1302 |
|
|
1999-03-10 John Dallaway
|
| 1303 |
|
|
|
| 1304 |
|
|
* include/pkgconf/io_serial.h: Correct CDL description spelling.
|
| 1305 |
|
|
|
| 1306 |
|
|
1999-03-10 Jesper Skov
|
| 1307 |
|
|
|
| 1308 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
| 1309 |
|
|
* misc/console.c:
|
| 1310 |
|
|
Fixed compiler warnings.
|
| 1311 |
|
|
|
| 1312 |
|
|
1999-03-10 Gary Thomas
|
| 1313 |
|
|
|
| 1314 |
|
|
* include/pkgconf/io_serial.h: Improve CDL descriptions.
|
| 1315 |
|
|
|
| 1316 |
|
|
1999-03-10 Jesper Skov
|
| 1317 |
|
|
|
| 1318 |
|
|
* misc/serial2.c (serial_test): Do some more tests with changed
|
| 1319 |
|
|
baud rates.
|
| 1320 |
|
|
|
| 1321 |
|
|
1999-03-09 Jesper Skov
|
| 1322 |
|
|
|
| 1323 |
|
|
* misc/serial2.c (serial_test): Added workaround for spurious byte
|
| 1324 |
|
|
problem. Added a few more tests to run.
|
| 1325 |
|
|
|
| 1326 |
|
|
* src/powerpc/cogent_serial_with_ints.c
|
| 1327 |
|
|
(cogent_serial_config_port): Remove interrupt enabling.
|
| 1328 |
|
|
|
| 1329 |
|
|
1999-03-09 Nick Garnett
|
| 1330 |
|
|
|
| 1331 |
|
|
* src/PKGconf.mak:
|
| 1332 |
|
|
* src/mips/tx3904_serial.c:
|
| 1333 |
|
|
Added initial version of TX39 device driver. Currently untested
|
| 1334 |
|
|
but eliminates PR19445.
|
| 1335 |
|
|
|
| 1336 |
|
|
1999-03-09 Jesper Skov
|
| 1337 |
|
|
|
| 1338 |
|
|
* misc/serial2.c: DRAIN function works now.
|
| 1339 |
|
|
|
| 1340 |
|
|
1999-03-09 Jesper Skov
|
| 1341 |
|
|
|
| 1342 |
|
|
* include/pkgconf/io_serial.h: Only enable one serial driver per
|
| 1343 |
|
|
default.
|
| 1344 |
|
|
|
| 1345 |
|
|
1999-03-08 Jesper Skov
|
| 1346 |
|
|
|
| 1347 |
|
|
* misc/serial2.c (serial_test): Be a bit more aggressive.
|
| 1348 |
|
|
|
| 1349 |
|
|
* src/powerpc/cogent_serial_with_ints.c: Check that configuration
|
| 1350 |
|
|
is sensible.
|
| 1351 |
|
|
|
| 1352 |
|
|
1999-03-08 Jesper Skov
|
| 1353 |
|
|
|
| 1354 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
| 1355 |
|
|
Added support for both ports.
|
| 1356 |
|
|
|
| 1357 |
|
|
* include/pkgconf/io_serial.h: Added simple defines for cogent
|
| 1358 |
|
|
serial ports. No CDL yet.
|
| 1359 |
|
|
|
| 1360 |
|
|
1999-03-08 Jesper Skov
|
| 1361 |
|
|
|
| 1362 |
|
|
* misc/serial.c: Removed PID references. Fixed compiler warnings.
|
| 1363 |
|
|
|
| 1364 |
|
|
1999-03-08 Jesper Skov
|
| 1365 |
|
|
|
| 1366 |
|
|
* src/powerpc/cogent_serial_with_ints.c: Cleaned up a
|
| 1367 |
|
|
bit. Actually works now.
|
| 1368 |
|
|
|
| 1369 |
|
|
1999-03-08 Gary Thomas
|
| 1370 |
|
|
|
| 1371 |
|
|
* src/common/serial.c: Change in cyg_drv_cond_wait() behaviour
|
| 1372 |
|
|
means DSR lock should be left alone.
|
| 1373 |
|
|
|
| 1374 |
|
|
1999-03-08 Jesper Skov
|
| 1375 |
|
|
PR 19400
|
| 1376 |
|
|
* src/powerpc/cogent_serial_with_ints.c (cogent_serial_init): Set
|
| 1377 |
|
|
valid interrupt priority.
|
| 1378 |
|
|
|
| 1379 |
|
|
1999-03-05 Nick Garnett
|
| 1380 |
|
|
|
| 1381 |
|
|
* src/mn10300/mn10300_serial.c (mn10300_serial_init):
|
| 1382 |
|
|
Added extra test to avoid initializing serial 2 when CYGMON is
|
| 1383 |
|
|
present.
|
| 1384 |
|
|
Include hal_intr.h explicitly for use in non-kernel
|
| 1385 |
|
|
configurations.
|
| 1386 |
|
|
|
| 1387 |
|
|
* src/common/serial.c:
|
| 1388 |
|
|
Added extra test before calls to cyg_drv_cond_wait() to avoid race
|
| 1389 |
|
|
condition. This is not, however, a complete solution to this
|
| 1390 |
|
|
problem. A better solution will be forthcoming.
|
| 1391 |
|
|
|
| 1392 |
|
|
* include/serial.h:
|
| 1393 |
|
|
Changed include files used to permit non-kernel configurations to
|
| 1394 |
|
|
be built.
|
| 1395 |
|
|
|
| 1396 |
|
|
1999-03-05 Jesper Skov
|
| 1397 |
|
|
|
| 1398 |
|
|
* src/common/haldiag.c: Removed diag_printf declaration.
|
| 1399 |
|
|
|
| 1400 |
|
|
1999-03-05 Jonathan Larmour
|
| 1401 |
|
|
|
| 1402 |
|
|
* src/mn10300/mn10300_serial.c:
|
| 1403 |
|
|
Change CYG_VECTOR_* to CYGNUM_HAL_INTERRUPT_* to get it to compile!
|
| 1404 |
|
|
|
| 1405 |
|
|
1999-03-05 Gary Thomas
|
| 1406 |
|
|
|
| 1407 |
|
|
* src/powerpc/cogent_serial_with_ints.c (cogent_serial_config_port):
|
| 1408 |
|
|
Fix renaming of interrupt vectors.
|
| 1409 |
|
|
|
| 1410 |
|
|
1999-03-05 Gary Thomas
|
| 1411 |
|
|
|
| 1412 |
|
|
* src/arm/pid_serial_with_ints.c: Fix interrupt vectors.
|
| 1413 |
|
|
|
| 1414 |
|
|
1999-03-03 Gary Thomas
|
| 1415 |
|
|
|
| 1416 |
|
|
* serial/current/src/arm/pid_serial_with_ints.c:
|
| 1417 |
|
|
New [somewhat] configurable drivers for PID.
|
| 1418 |
|
|
|
| 1419 |
|
|
//===========================================================================
|
| 1420 |
|
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
| 1421 |
|
|
// -------------------------------------------
|
| 1422 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
| 1423 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
| 1424 |
|
|
//
|
| 1425 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
| 1426 |
|
|
// the terms of the GNU General Public License as published by the Free
|
| 1427 |
|
|
// Software Foundation; either version 2 or (at your option) any later version.
|
| 1428 |
|
|
//
|
| 1429 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
| 1430 |
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
| 1431 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
| 1432 |
|
|
// for more details.
|
| 1433 |
|
|
//
|
| 1434 |
|
|
// You should have received a copy of the GNU General Public License along
|
| 1435 |
|
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
| 1436 |
|
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
| 1437 |
|
|
//
|
| 1438 |
|
|
// As a special exception, if other files instantiate templates or use macros
|
| 1439 |
|
|
// or inline functions from this file, or you compile this file and link it
|
| 1440 |
|
|
// with other works to produce a work based on this file, this file does not
|
| 1441 |
|
|
// by itself cause the resulting work to be covered by the GNU General Public
|
| 1442 |
|
|
// License. However the source code for this file must still be made available
|
| 1443 |
|
|
// in accordance with section (3) of the GNU General Public License.
|
| 1444 |
|
|
//
|
| 1445 |
|
|
// This exception does not invalidate any other reasons why a work based on
|
| 1446 |
|
|
// this file might be covered by the GNU General Public License.
|
| 1447 |
|
|
//
|
| 1448 |
|
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
| 1449 |
|
|
// at http://sources.redhat.com/ecos/ecos-license/
|
| 1450 |
|
|
// -------------------------------------------
|
| 1451 |
|
|
//####ECOSGPLCOPYRIGHTEND####
|
| 1452 |
|
|
//===========================================================================
|