1 |
27 |
unneback |
2002-08-28 Mark Salter
|
2 |
|
|
|
3 |
|
|
* src/smsc_lan91cxx.h: Support 32-bit data reads.
|
4 |
|
|
* src/if_lan91cxx.c: Fix standalone (RedBoot) interrupt handling.
|
5 |
|
|
Support 32-bit data reads.
|
6 |
|
|
|
7 |
|
|
2002-08-16 Mark Salter
|
8 |
|
|
|
9 |
|
|
* src/if_lan91cxx.c: Add support for 91C111. Platform-specific
|
10 |
|
|
include file is now included from within smsc_lan91cxx.h so
|
11 |
|
|
that register access functions may be overridden if necessary.
|
12 |
|
|
* src/smsc_lan91cxx.h: Ditto.
|
13 |
|
|
|
14 |
|
|
2002-06-14 Gary Thomas
|
15 |
|
|
|
16 |
|
|
* src/if_lan91cxx.c:
|
17 |
|
|
Need to include for proper configuration
|
18 |
|
|
of stand-alone (polled) vs. system (interrupt driven) mode.
|
19 |
|
|
|
20 |
|
|
2001-12-12 Hugo Tyson
|
21 |
|
|
|
22 |
|
|
* src/if_lan91cxx.c (lan91cxx_recv): If discarding data due to
|
23 |
|
|
caller out of buffers, we must read-out and discard the packet to
|
24 |
|
|
correctly complete the transaction. Bogus assert for buffer
|
25 |
|
|
pointer removed; other asserts from not discarding data assuaged
|
26 |
|
|
by first change above.
|
27 |
|
|
|
28 |
|
|
2001-08-17 Hugo Tyson
|
29 |
|
|
|
30 |
|
|
* src/if_lan91cxx.c (lan91cxx_poll): The interrupt acknowledge
|
31 |
|
|
call only occurs in the ISR for this driver because the interrupt
|
32 |
|
|
via GPIO is edge triggered. We now also acknowledge the interrupt
|
33 |
|
|
within the poll() routine - otherwise RedBoot net use never acks!
|
34 |
|
|
Which doesn't matter if the app uses the net, but in a net-free
|
35 |
|
|
app, it near enough wedges in the resulting interrupt loop.
|
36 |
|
|
|
37 |
|
|
2001-08-13 Hugo Tyson
|
38 |
|
|
|
39 |
|
|
* src/smsc_lan91cxx.h (get_att,put_att): Condition out the inline
|
40 |
|
|
functions if not CYGINT_DEVS_ETH_SMSC_LAN91CXX_PCMCIA_MODE -
|
41 |
|
|
because they don't compile. Inlines are not like macros.
|
42 |
|
|
|
43 |
|
|
2001-07-27 Jordi Colomer
|
44 |
|
|
|
45 |
|
|
* cdl/smsc_lan91cxx_eth_drivers.cdl:
|
46 |
|
|
Add interface for whether the hardware is in PCMCIA mode.
|
47 |
|
|
* src/if_lan91cxx.c (smsc_lan91cxx_init):
|
48 |
|
|
Allow for hardware shift addresses
|
49 |
|
|
Initialize appropriately if PCMCIA mode.
|
50 |
|
|
* src/smsc_lan91cxx.h:
|
51 |
|
|
Support address shifts in get_reg,put_Reg, get_data, put_data
|
52 |
|
|
Add new functions get_banksel , put_att and get_att.
|
53 |
|
|
|
54 |
|
|
2001-07-11 Hugo Tyson
|
55 |
|
|
|
56 |
|
|
* src/if_lan91cxx.c (lan91cxx_stop): Clean up any pending tx both
|
57 |
|
|
to prevent mbuf leak due to noncompletion, and to clear tx_busy so
|
58 |
|
|
that the newly upbrung device can be used.
|
59 |
|
|
(lan91cxx_can_send): Similarly detect a stopped tx engine and
|
60 |
|
|
restart it, and clean up any pending tx, in here. Otherwise the
|
61 |
|
|
system cannot progress.
|
62 |
|
|
|
63 |
|
|
2001-03-27 Hugo Tyson
|
64 |
|
|
2001-03-27 Robin Farine
|
65 |
|
|
|
66 |
|
|
* src/if_lan91cxx.c (lan91cxx_start): Strip the CRC from
|
67 |
|
|
incoming frames.
|
68 |
|
|
|
69 |
|
|
2001-01-26 Hugo Tyson
|
70 |
|
|
|
71 |
|
|
* src/smsc_lan91cxx.h (smsc_lan91cxx_stats): Add stats structure.
|
72 |
|
|
|
73 |
|
|
* src/if_lan91cxx.c (lan91cxx_control): Implement ioctl() call for
|
74 |
|
|
SNMP statistics gathering. Implement stats counting generally.
|
75 |
|
|
|
76 |
|
|
2001-01-25 Hugo Tyson
|
77 |
|
|
|
78 |
|
|
* cdl/smsc_lan91cxx_eth_drivers.cdl
|
79 |
|
|
(CYGSEM_DEVS_ETH_SMSC_LAN91CXX_WRITE_EEPROM): New option to
|
80 |
|
|
control whether the IOCTL to set the ESA actually writes the
|
81 |
|
|
EEPROM. Default disabled for safety.
|
82 |
|
|
(CYGINT_DEVS_ETH_SMSC_LAN91CXX_STATIC_ESA): New interface controls
|
83 |
|
|
whether a statically configured ESA is picked up from private data.
|
84 |
|
|
|
85 |
|
|
* src/smsc_lan91cxx.h (LAN91CXX_CONFIG): Add this, plus
|
86 |
|
|
(LAN91CXX_CONTROL_EEPROM_SELECT): et al for EEPROM writing.
|
87 |
|
|
|
88 |
|
|
* src/if_lan91cxx.c (lan91cxx_control): Implement updating the
|
89 |
|
|
EEPROM with the new ESA, if so configured. Otherwise just set the
|
90 |
|
|
ESA in the device and continue, using the new value.
|
91 |
|
|
(smsc_lan91cxx_init): Obey the STATIC_ESA interface setting to use the
|
92 |
|
|
EEPROM or device data for the ESA.
|
93 |
|
|
|
94 |
|
|
Removed some never-compiled, never-used stuff for getting an ESA
|
95 |
|
|
out of RedBoot's flash storage.
|
96 |
|
|
|
97 |
|
|
2001-01-25 Hugo Tyson
|
98 |
|
|
|
99 |
|
|
* cdl/smsc_lan91cxx_eth_drivers.cdl: This generic driver does not
|
100 |
|
|
implement CYGHWR_NET_DRIVER_ETH0 et al; the instantiating package
|
101 |
|
|
does.
|
102 |
|
|
|
103 |
|
|
2001-01-24 Hugo Tyson
|
104 |
|
|
|
105 |
|
|
* src/if_lan91cxx.c (lan91cxx_start): Implement promiscuous mode.
|
106 |
|
|
This just involves setting a bit in ..._start() if certain
|
107 |
|
|
interface flags are set. Also import a couple of other details
|
108 |
|
|
under #ifdef CYGPKG_NET from the i82559 driver for safety.
|
109 |
|
|
|
110 |
|
|
2001-01-24 Hugo Tyson
|
111 |
|
|
|
112 |
|
|
* src/if_lan91cxx.c (DEBUG): Refined debug output, for trying it
|
113 |
|
|
in RedBoot experiments.
|
114 |
|
|
|
115 |
|
|
2001-01-22 Hugo Tyson
|
116 |
|
|
|
117 |
|
|
* src/smsc_lan91cxx.h: New file.
|
118 |
|
|
* src/if_lan91cxx.c: New file.
|
119 |
|
|
* cdl/smsc_lan91cxx_eth_drivers.cdl: New file.
|
120 |
|
|
New component. Based on previous work [mis]named, in the same
|
121 |
|
|
idiom, lan900. Hence this new component with a better name. A
|
122 |
|
|
major rewrite too, to make the new one work with LAN91C96,
|
123 |
|
|
specifically.
|
124 |
|
|
|
125 |
|
|
//===========================================================================
|
126 |
|
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
127 |
|
|
// -------------------------------------------
|
128 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
129 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
130 |
|
|
//
|
131 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
132 |
|
|
// the terms of the GNU General Public License as published by the Free
|
133 |
|
|
// Software Foundation; either version 2 or (at your option) any later version.
|
134 |
|
|
//
|
135 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
136 |
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
137 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
138 |
|
|
// for more details.
|
139 |
|
|
//
|
140 |
|
|
// You should have received a copy of the GNU General Public License along
|
141 |
|
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
142 |
|
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
143 |
|
|
//
|
144 |
|
|
// As a special exception, if other files instantiate templates or use macros
|
145 |
|
|
// or inline functions from this file, or you compile this file and link it
|
146 |
|
|
// with other works to produce a work based on this file, this file does not
|
147 |
|
|
// by itself cause the resulting work to be covered by the GNU General Public
|
148 |
|
|
// License. However the source code for this file must still be made available
|
149 |
|
|
// in accordance with section (3) of the GNU General Public License.
|
150 |
|
|
//
|
151 |
|
|
// This exception does not invalidate any other reasons why a work based on
|
152 |
|
|
// this file might be covered by the GNU General Public License.
|
153 |
|
|
//
|
154 |
|
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
155 |
|
|
// at http://sources.redhat.com/ecos/ecos-license/
|
156 |
|
|
// -------------------------------------------
|
157 |
|
|
//####ECOSGPLCOPYRIGHTEND####
|
158 |
|
|
//===========================================================================
|