1 |
786 |
skrzyp |
2005-06-27 Stefan Sommerfeld
|
2 |
|
|
|
3 |
|
|
* src/if_lan91cxx.c: Changed some debug messages to output right
|
4 |
|
|
hex syntax (0x....)
|
5 |
|
|
* src/if_lan91cxx.c: 32bit mode can now be selected is correctly
|
6 |
|
|
working. The old implementation truncated some data.
|
7 |
|
|
* cdl/smsc_lan91cxx_eth_drivers.cdl: Added CDL to control if
|
8 |
|
|
16 or 32 bit access is used.
|
9 |
|
|
|
10 |
|
|
2005-06-12 Yoshinori Sato
|
11 |
|
|
|
12 |
|
|
* src/if_lan91cxx.c: Reset the physical layer before configuring
|
13 |
|
|
it, otherwise it might not work.
|
14 |
|
|
|
15 |
|
|
2005-01-24 Nick Garnett
|
16 |
|
|
|
17 |
|
|
* src/if_lan91cxx.c (lan91cxx_send): Rewrote parts of transmit
|
18 |
|
|
machinery to deal with odd sized message buffers. The TCP/IP stack
|
19 |
|
|
generates these in rare circumstances.
|
20 |
|
|
|
21 |
|
|
2005-01-21 Nick Garnett
|
22 |
|
|
|
23 |
|
|
* src/smsc_lan91cxx.h:
|
24 |
|
|
* src/if_lan91cxx.c:
|
25 |
|
|
Rewrote parts of receive machinery to properly deal with 32 bit
|
26 |
|
|
wide access to the device. The original code didn't quite work.
|
27 |
|
|
Switched all calls the HAL_DELAY_US() to CYGACC_CALL_IF_DELAY_US().
|
28 |
|
|
Various small changes to debugging code.
|
29 |
|
|
|
30 |
|
|
2004-12-01 Nick Garnett
|
31 |
|
|
|
32 |
|
|
* src/if_lan91cxx.c (lan91cxx_start): Added option to force speed
|
33 |
|
|
negotiation to 10MHz. Some embedded boards cannot handle 100MHz.
|
34 |
|
|
Generally added some small improvements to debugging messages.
|
35 |
|
|
|
36 |
|
|
2004-05-22 Andrew Dyer
|
37 |
|
|
|
38 |
|
|
* src/if_lan91cxx.c: Fail initialization if no device found.
|
39 |
|
|
|
40 |
|
|
2004-01-07 Uwe Kindler
|
41 |
|
|
|
42 |
|
|
* src/if_lan91cxx.c: Fail initialization if no link found.
|
43 |
|
|
|
44 |
|
|
2004-01-06 Andrew Lunn
|
45 |
|
|
|
46 |
|
|
* cdl/smsc_lan91cxx_eth_drivers.cdl:
|
47 |
|
|
* src/if_lan91cxx.c (smsc_lan91cxx_init): Allow the interrupt
|
48 |
|
|
priority to be overrode by the HW specific part of the driver.
|
49 |
|
|
|
50 |
|
|
2003-12-19 Gary Parnes
|
51 |
|
|
|
52 |
|
|
* src/smsc_lan91cxx.h (get_banksel): Allow this function to be
|
53 |
|
|
overridden.
|
54 |
|
|
|
55 |
|
|
2003-12-10 Uwe Kindler
|
56 |
|
|
|
57 |
|
|
* src/if_lan91cxx.c: Add some missing endian swapping calls.
|
58 |
|
|
|
59 |
|
|
2003-12-05 Nick Garnett
|
60 |
|
|
|
61 |
|
|
* src/if_lan91cxx.c: Added support for revA of the LAN91C111 which
|
62 |
|
|
has a bug. Fixed up debugging messages so that it uses serial
|
63 |
|
|
output in RedBoot.
|
64 |
|
|
|
65 |
|
|
2003-03-03 Patrick Doyle
|
66 |
|
|
|
67 |
|
|
* src/smsc_lan91cxx.h
|
68 |
|
|
* src/if_lan91cxx.c (smsc_lan91cxx_init): Reworked to support
|
69 |
|
|
flash, CDL, and eeprom ESA assignment, in that priority.
|
70 |
|
|
|
71 |
|
|
* cdl/smsc_lan91cxx_eth_drivers.cdl: Added comment indicating that
|
72 |
|
|
use of the CYGINT_DEVS_ETH_SMSC_LAN91CXX_STATIC_ESA interface is
|
73 |
|
|
deprecated.
|
74 |
|
|
|
75 |
|
|
2003-02-26 Yoshinori Sato
|
76 |
|
|
|
77 |
|
|
* src/smsc_lan91cxx.h: Support big endian arch.
|
78 |
|
|
* src/if_lan91cxx.c: Support big endian arch.
|
79 |
|
|
|
80 |
|
|
2002-08-28 Mark Salter
|
81 |
|
|
|
82 |
|
|
* src/smsc_lan91cxx.h: Support 32-bit data reads.
|
83 |
|
|
* src/if_lan91cxx.c: Fix standalone (RedBoot) interrupt handling.
|
84 |
|
|
Support 32-bit data reads.
|
85 |
|
|
|
86 |
|
|
2002-08-16 Mark Salter
|
87 |
|
|
|
88 |
|
|
* src/if_lan91cxx.c: Add support for 91C111. Platform-specific
|
89 |
|
|
include file is now included from within smsc_lan91cxx.h so
|
90 |
|
|
that register access functions may be overridden if necessary.
|
91 |
|
|
* src/smsc_lan91cxx.h: Ditto.
|
92 |
|
|
|
93 |
|
|
2002-06-14 Gary Thomas
|
94 |
|
|
|
95 |
|
|
* src/if_lan91cxx.c:
|
96 |
|
|
Need to include for proper configuration
|
97 |
|
|
of stand-alone (polled) vs. system (interrupt driven) mode.
|
98 |
|
|
|
99 |
|
|
2001-12-12 Hugo Tyson
|
100 |
|
|
|
101 |
|
|
* src/if_lan91cxx.c (lan91cxx_recv): If discarding data due to
|
102 |
|
|
caller out of buffers, we must read-out and discard the packet to
|
103 |
|
|
correctly complete the transaction. Bogus assert for buffer
|
104 |
|
|
pointer removed; other asserts from not discarding data assuaged
|
105 |
|
|
by first change above.
|
106 |
|
|
|
107 |
|
|
2001-08-17 Hugo Tyson
|
108 |
|
|
|
109 |
|
|
* src/if_lan91cxx.c (lan91cxx_poll): The interrupt acknowledge
|
110 |
|
|
call only occurs in the ISR for this driver because the interrupt
|
111 |
|
|
via GPIO is edge triggered. We now also acknowledge the interrupt
|
112 |
|
|
within the poll() routine - otherwise RedBoot net use never acks!
|
113 |
|
|
Which doesn't matter if the app uses the net, but in a net-free
|
114 |
|
|
app, it near enough wedges in the resulting interrupt loop.
|
115 |
|
|
|
116 |
|
|
2001-08-13 Hugo Tyson
|
117 |
|
|
|
118 |
|
|
* src/smsc_lan91cxx.h (get_att,put_att): Condition out the inline
|
119 |
|
|
functions if not CYGINT_DEVS_ETH_SMSC_LAN91CXX_PCMCIA_MODE -
|
120 |
|
|
because they don't compile. Inlines are not like macros.
|
121 |
|
|
|
122 |
|
|
2001-07-27 Jordi Colomer
|
123 |
|
|
|
124 |
|
|
* cdl/smsc_lan91cxx_eth_drivers.cdl:
|
125 |
|
|
Add interface for whether the hardware is in PCMCIA mode.
|
126 |
|
|
* src/if_lan91cxx.c (smsc_lan91cxx_init):
|
127 |
|
|
Allow for hardware shift addresses
|
128 |
|
|
Initialize appropriately if PCMCIA mode.
|
129 |
|
|
* src/smsc_lan91cxx.h:
|
130 |
|
|
Support address shifts in get_reg,put_Reg, get_data, put_data
|
131 |
|
|
Add new functions get_banksel , put_att and get_att.
|
132 |
|
|
|
133 |
|
|
2001-07-11 Hugo Tyson
|
134 |
|
|
|
135 |
|
|
* src/if_lan91cxx.c (lan91cxx_stop): Clean up any pending tx both
|
136 |
|
|
to prevent mbuf leak due to noncompletion, and to clear tx_busy so
|
137 |
|
|
that the newly upbrung device can be used.
|
138 |
|
|
(lan91cxx_can_send): Similarly detect a stopped tx engine and
|
139 |
|
|
restart it, and clean up any pending tx, in here. Otherwise the
|
140 |
|
|
system cannot progress.
|
141 |
|
|
|
142 |
|
|
2001-03-27 Hugo Tyson
|
143 |
|
|
2001-03-27 Robin Farine
|
144 |
|
|
|
145 |
|
|
* src/if_lan91cxx.c (lan91cxx_start): Strip the CRC from
|
146 |
|
|
incoming frames.
|
147 |
|
|
|
148 |
|
|
2001-01-26 Hugo Tyson
|
149 |
|
|
|
150 |
|
|
* src/smsc_lan91cxx.h (smsc_lan91cxx_stats): Add stats structure.
|
151 |
|
|
|
152 |
|
|
* src/if_lan91cxx.c (lan91cxx_control): Implement ioctl() call for
|
153 |
|
|
SNMP statistics gathering. Implement stats counting generally.
|
154 |
|
|
|
155 |
|
|
2001-01-25 Hugo Tyson
|
156 |
|
|
|
157 |
|
|
* cdl/smsc_lan91cxx_eth_drivers.cdl
|
158 |
|
|
(CYGSEM_DEVS_ETH_SMSC_LAN91CXX_WRITE_EEPROM): New option to
|
159 |
|
|
control whether the IOCTL to set the ESA actually writes the
|
160 |
|
|
EEPROM. Default disabled for safety.
|
161 |
|
|
(CYGINT_DEVS_ETH_SMSC_LAN91CXX_STATIC_ESA): New interface controls
|
162 |
|
|
whether a statically configured ESA is picked up from private data.
|
163 |
|
|
|
164 |
|
|
* src/smsc_lan91cxx.h (LAN91CXX_CONFIG): Add this, plus
|
165 |
|
|
(LAN91CXX_CONTROL_EEPROM_SELECT): et al for EEPROM writing.
|
166 |
|
|
|
167 |
|
|
* src/if_lan91cxx.c (lan91cxx_control): Implement updating the
|
168 |
|
|
EEPROM with the new ESA, if so configured. Otherwise just set the
|
169 |
|
|
ESA in the device and continue, using the new value.
|
170 |
|
|
(smsc_lan91cxx_init): Obey the STATIC_ESA interface setting to use the
|
171 |
|
|
EEPROM or device data for the ESA.
|
172 |
|
|
|
173 |
|
|
Removed some never-compiled, never-used stuff for getting an ESA
|
174 |
|
|
out of RedBoot's flash storage.
|
175 |
|
|
|
176 |
|
|
2001-01-25 Hugo Tyson
|
177 |
|
|
|
178 |
|
|
* cdl/smsc_lan91cxx_eth_drivers.cdl: This generic driver does not
|
179 |
|
|
implement CYGHWR_NET_DRIVER_ETH0 et al; the instantiating package
|
180 |
|
|
does.
|
181 |
|
|
|
182 |
|
|
2001-01-24 Hugo Tyson
|
183 |
|
|
|
184 |
|
|
* src/if_lan91cxx.c (lan91cxx_start): Implement promiscuous mode.
|
185 |
|
|
This just involves setting a bit in ..._start() if certain
|
186 |
|
|
interface flags are set. Also import a couple of other details
|
187 |
|
|
under #ifdef CYGPKG_NET from the i82559 driver for safety.
|
188 |
|
|
|
189 |
|
|
2001-01-24 Hugo Tyson
|
190 |
|
|
|
191 |
|
|
* src/if_lan91cxx.c (DEBUG): Refined debug output, for trying it
|
192 |
|
|
in RedBoot experiments.
|
193 |
|
|
|
194 |
|
|
2001-01-22 Hugo Tyson
|
195 |
|
|
|
196 |
|
|
* src/smsc_lan91cxx.h: New file.
|
197 |
|
|
* src/if_lan91cxx.c: New file.
|
198 |
|
|
* cdl/smsc_lan91cxx_eth_drivers.cdl: New file.
|
199 |
|
|
New component. Based on previous work [mis]named, in the same
|
200 |
|
|
idiom, lan900. Hence this new component with a better name. A
|
201 |
|
|
major rewrite too, to make the new one work with LAN91C96,
|
202 |
|
|
specifically.
|
203 |
|
|
|
204 |
|
|
//===========================================================================
|
205 |
|
|
// ####GPLCOPYRIGHTBEGIN####
|
206 |
|
|
// -------------------------------------------
|
207 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
208 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2005 Free Software Foundation, Inc.
|
209 |
|
|
//
|
210 |
|
|
// This program is free software; you can redistribute it and/or modify
|
211 |
|
|
// it under the terms of the GNU General Public License as published by
|
212 |
|
|
// the Free Software Foundation; either version 2 or (at your option) any
|
213 |
|
|
// later version.
|
214 |
|
|
//
|
215 |
|
|
// This program is distributed in the hope that it will be useful, but
|
216 |
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
217 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
218 |
|
|
// General Public License for more details.
|
219 |
|
|
//
|
220 |
|
|
// You should have received a copy of the GNU General Public License
|
221 |
|
|
// along with this program; if not, write to the
|
222 |
|
|
// Free Software Foundation, Inc., 51 Franklin Street,
|
223 |
|
|
// Fifth Floor, Boston, MA 02110-1301, USA.
|
224 |
|
|
// -------------------------------------------
|
225 |
|
|
// ####GPLCOPYRIGHTEND####
|
226 |
|
|
//===========================================================================
|