1 |
27 |
unneback |
2003-02-24 Jonathan Larmour
|
2 |
|
|
|
3 |
|
|
* cdl/ser_sh_scif.cdl: Remove irrelevant doc link.
|
4 |
|
|
|
5 |
|
|
2002-05-08 Jesper Skov
|
6 |
|
|
|
7 |
|
|
* src/sh_scif_serial.c: Added SH2 support. Added break interrupt
|
8 |
|
|
support. Added IrDA support. Added async RX/TX support. Added
|
9 |
|
|
support for platforms to add config keys and handle flow
|
10 |
|
|
control. Register renaming.
|
11 |
|
|
|
12 |
|
|
* cdl/ser_sh_scif.cdl: Added async RX/TX and IRDA support. Also
|
13 |
|
|
added interface for support of break interrupts.
|
14 |
|
|
|
15 |
|
|
2002-01-30 Jesper Skov
|
16 |
|
|
|
17 |
|
|
* src/sh_scif_serial.c (sh3_scif_tx_DSR): Stop single-character
|
18 |
|
|
transmit if transmitter gets disabled. This does not change the
|
19 |
|
|
(output) semantics of the code, but does prevent it from looping
|
20 |
|
|
over the full size of the FIFO calling the (inactive) xmt_char
|
21 |
|
|
callback.
|
22 |
|
|
|
23 |
|
|
2001-02-27 Jesper Skov
|
24 |
|
|
|
25 |
|
|
* src/sh_scif_serial.c (sh3_scif_er_DSR): Clear break flag.
|
26 |
|
|
|
27 |
|
|
2001-02-26 Jesper Skov
|
28 |
|
|
|
29 |
|
|
* src/sh_scif_serial.c (sh3_scif_er_DSR): Enable interrupts on
|
30 |
|
|
exit. Clear ER flag.
|
31 |
|
|
|
32 |
|
|
2000-10-23 Jesper Skov
|
33 |
|
|
|
34 |
|
|
* src/sh_scif_serial.c: Include cyg_ass.h
|
35 |
|
|
|
36 |
|
|
2000-10-12 Jesper Skov
|
37 |
|
|
|
38 |
|
|
* src/sh_scif_serial.c (sh3_scif_set_config): Changes to the flow
|
39 |
|
|
control handling. Renamed DMA variables.
|
40 |
|
|
|
41 |
|
|
2000-10-12 Jonathan Larmour
|
42 |
|
|
|
43 |
|
|
* src/sh_scif_serial.c: return -EINVAL when unsupported flow control
|
44 |
|
|
mode requested.
|
45 |
|
|
|
46 |
|
|
2000-10-06 Jesper Skov
|
47 |
|
|
|
48 |
|
|
* src/sh_scif_serial.c: Change to new block call syntax.
|
49 |
|
|
Clean up start_xmit code. Do block transfers in serial DSRs.
|
50 |
|
|
|
51 |
|
|
2000-10-03 Jesper Skov
|
52 |
|
|
|
53 |
|
|
* src/sh_scif_serial.c: Fixed receive FIFO problem. Added Line
|
54 |
|
|
Status handling. Don't enable TX interrupts in initialization.
|
55 |
|
|
* src/sh_scif_serial.c: Added DMA support. Added RTS/CTS control.
|
56 |
|
|
* cdl/ser_sh_scif.cdl: Added DMA interface.
|
57 |
|
|
|
58 |
|
|
2000-09-26 Jesper Skov
|
59 |
|
|
|
60 |
|
|
* cdl/ser_sh_scif.cdl: Minor hack to allow both SCI and SCIF
|
61 |
|
|
packages to be used at the same time.
|
62 |
|
|
* src/sh_scif_serial.c: Same.
|
63 |
|
|
|
64 |
|
|
2000-09-25 Jesper Skov
|
65 |
|
|
|
66 |
|
|
* src/sh_scif_serial.c: Use the SCI macros for baud rate
|
67 |
|
|
calculation.
|
68 |
|
|
|
69 |
|
|
2000-09-05 Jesper Skov
|
70 |
|
|
|
71 |
|
|
* src/sh_scif_serial.c: Moved to separate SCIF package.
|
72 |
|
|
* ChangeLog: Cleaned out all non-SCIF related entries.
|
73 |
|
|
|
74 |
|
|
2000-08-01 Jonathan Larmour
|
75 |
|
|
|
76 |
|
|
* src/sh3_scif_serial.c (sh3_scif_set_config): Now use keys to make
|
77 |
|
|
more flexible.
|
78 |
|
|
|
79 |
|
|
2000-06-22 Hugo Tyson
|
80 |
|
|
|
81 |
|
|
* cdl/.cdl: Remove the comment on the empty
|
82 |
|
|
include_files directive; the tools now support this correctly.
|
83 |
|
|
This keeps internal include files internal.
|
84 |
|
|
|
85 |
|
|
2000-04-11 Hugo Tyson
|
86 |
|
|
|
87 |
|
|
* cdl/ser_sh_scif.cdl: Change the parent from CYGPKG_IO_SERIAL
|
88 |
|
|
(which is enabled most of the time) to CYGPKG_IO_SERIAL_DEVICES
|
89 |
|
|
(which is not...) thus allowing convenient control independent of
|
90 |
|
|
platform. Also enable all individual devices by default, now, so
|
91 |
|
|
that they can be enabled simply by enabling the above new parent.
|
92 |
|
|
|
93 |
|
|
2000-04-11 Jesper Skov
|
94 |
|
|
|
95 |
|
|
* src/sh3_scif_serial.c: Can't get input FIFO to work properly.
|
96 |
|
|
Disabled for now.
|
97 |
|
|
|
98 |
|
|
2000-04-07 Hugo Tyson
|
99 |
|
|
|
100 |
|
|
* ecos.db: Re-organize device packages. This is a massive change
|
101 |
|
|
involving deleting all the sources for serial and ethernet drivers
|
102 |
|
|
from where they used to live in
|
103 |
|
|
packages/io/serial/current/src/ARCH/PLATFORM.[ch]
|
104 |
|
|
packages/net/drivers/eth/PLATFORM/current/src/...
|
105 |
|
|
and reinstating them in
|
106 |
|
|
packages/devs/serial/ARCH/PLATFORM/current/src/...
|
107 |
|
|
packages/devs/eth/ARCH/PLATFORM/current/src/...
|
108 |
|
|
|
109 |
|
|
All these new packages are properly defined in ecos.db, and are
|
110 |
|
|
all of type "hardware" so that a "target" can grab them.
|
111 |
|
|
|
112 |
|
|
This directory layout is descriptive of the devices we have right
|
113 |
|
|
now, arch and platform are separate levels just to make it easier
|
114 |
|
|
to navigate in the filesystem and similar to the HAL structure in
|
115 |
|
|
the filesystem.
|
116 |
|
|
|
117 |
|
|
It is *not* prescriptive of future work; for example, the mythical
|
118 |
|
|
common highly-portable 16550 serial driver which works on many
|
119 |
|
|
targets would be called "devs/serial/s16550/current", or a serial
|
120 |
|
|
device for a particular board (cogent springs to mind) that can
|
121 |
|
|
work with different CPUs fitted is "devs/serial/cogent/current".
|
122 |
|
|
|
123 |
|
|
Changelogs have been preserved and replicated over all the new
|
124 |
|
|
packages, so that no history is lost.
|
125 |
|
|
|
126 |
|
|
The contents of individual source files are unchanged; they build
|
127 |
|
|
in just the same emvironment except for a very few cases where the
|
128 |
|
|
config file name changed in this movement.
|
129 |
|
|
|
130 |
|
|
Targets in ecos.db have been redefined to bring in all relevant
|
131 |
|
|
hardware packages including net and serial drivers (but the newly
|
132 |
|
|
included packages are only active if their desired parent is
|
133 |
|
|
available.)
|
134 |
|
|
|
135 |
|
|
The names of CDL options (and their #defines of course) stay the
|
136 |
|
|
same for the serial drivers, for backward compatibility.
|
137 |
|
|
|
138 |
|
|
* templates/*/current.ect: these have had CYGPKG_IO_SERIAL added
|
139 |
|
|
rather than it being in (almost) all target definitions.
|
140 |
|
|
|
141 |
|
|
2000-04-10 Jesper Skov
|
142 |
|
|
|
143 |
|
|
* src/sh/sh3_scif_serial.c:
|
144 |
|
|
Working, but FIFO isn't enabled due to an interrupt problem.
|
145 |
|
|
|
146 |
|
|
2000-04-04 Jesper Skov
|
147 |
|
|
|
148 |
|
|
* src/sh/sh3_scif_serial.c: FIFO related changes.
|
149 |
|
|
|
150 |
|
|
2000-04-03 Jesper Skov
|
151 |
|
|
|
152 |
|
|
* cdl/ser_sh_scif.cdl:
|
153 |
|
|
* src/sh/sh_scif_serial.c:
|
154 |
|
|
Added SCIF driver, based on SCI driver.
|
155 |
|
|
|
156 |
|
|
//===========================================================================
|
157 |
|
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
158 |
|
|
// -------------------------------------------
|
159 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
160 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
161 |
|
|
//
|
162 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
163 |
|
|
// the terms of the GNU General Public License as published by the Free
|
164 |
|
|
// Software Foundation; either version 2 or (at your option) any later version.
|
165 |
|
|
//
|
166 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
167 |
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
168 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
169 |
|
|
// for more details.
|
170 |
|
|
//
|
171 |
|
|
// You should have received a copy of the GNU General Public License along
|
172 |
|
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
173 |
|
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
174 |
|
|
//
|
175 |
|
|
// As a special exception, if other files instantiate templates or use macros
|
176 |
|
|
// or inline functions from this file, or you compile this file and link it
|
177 |
|
|
// with other works to produce a work based on this file, this file does not
|
178 |
|
|
// by itself cause the resulting work to be covered by the GNU General Public
|
179 |
|
|
// License. However the source code for this file must still be made available
|
180 |
|
|
// in accordance with section (3) of the GNU General Public License.
|
181 |
|
|
//
|
182 |
|
|
// This exception does not invalidate any other reasons why a work based on
|
183 |
|
|
// this file might be covered by the GNU General Public License.
|
184 |
|
|
//
|
185 |
|
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
186 |
|
|
// at http://sources.redhat.com/ecos/ecos-license/
|
187 |
|
|
// -------------------------------------------
|
188 |
|
|
//####ECOSGPLCOPYRIGHTEND####
|
189 |
|
|
//===========================================================================
|