1 |
786 |
skrzyp |
2004-08-12 Jani Monoses
|
2 |
|
|
|
3 |
|
|
* src/if_pcnet.c: Fix builing with lwip.
|
4 |
|
|
|
5 |
|
|
2002-06-14 Gary Thomas
|
6 |
|
|
|
7 |
|
|
* src/if_pcnet.c:
|
8 |
|
|
Need to include for proper configuration
|
9 |
|
|
of stand-alone (polled) vs. system (interrupt driven) mode.
|
10 |
|
|
|
11 |
|
|
2002-02-19 Jesper Skov
|
12 |
|
|
|
13 |
|
|
* src/if_pcnet.c: Fix a typo. Skip TX handling when there's no
|
14 |
|
|
outstanding TX packets.
|
15 |
|
|
|
16 |
|
|
2001-12-17 Jesper Skov
|
17 |
|
|
|
18 |
|
|
* src/if_pcnet.c (amd_pcnet_init): Fix warning.
|
19 |
|
|
(pcnet_send): Fix bad debug code.
|
20 |
|
|
|
21 |
|
|
2001-12-04 Nick Garnett
|
22 |
|
|
|
23 |
|
|
* src/if_pcnet.c:
|
24 |
|
|
Added a couple of 100us delays in transmit code. These appear to
|
25 |
|
|
be necessary to meet timing constraints on some platforms. These
|
26 |
|
|
are not a very satisfying fix, but they will have to do for now.
|
27 |
|
|
Also changed all references to diag_printf to db_printf, and added
|
28 |
|
|
a static implementation of db_printf() that will gnerate
|
29 |
|
|
diagnostic output properly on RedBoot.
|
30 |
|
|
|
31 |
|
|
* src/amd_pcnet.h: diag_printf -> db_printf
|
32 |
|
|
|
33 |
|
|
2001-10-16 David Howells
|
34 |
|
|
|
35 |
|
|
* src/if_pcnet.c: don't invert the logic of the auto-negotiation
|
36 |
|
|
completion flag.
|
37 |
|
|
|
38 |
|
|
2001-10-16 David Howells
|
39 |
|
|
|
40 |
|
|
* src/if_pcnet.c: check the correct flag to determine end of
|
41 |
|
|
auto-negotiation.
|
42 |
|
|
* src/amd_pcnet.h: ditto
|
43 |
|
|
|
44 |
|
|
2001-10-15 David Howells
|
45 |
|
|
|
46 |
|
|
* cdl/amd_pcnet_eth_drivers.cdl: added option to force 10Mbps only
|
47 |
|
|
speed negotiation.
|
48 |
|
|
* src/amd_pcnet.h: ditto
|
49 |
|
|
* src/if_pcnet.c: ditto
|
50 |
|
|
|
51 |
|
|
2001-09-12 Jesper Skov
|
52 |
|
|
|
53 |
|
|
* src/amd_pcnet.h: fix warning.
|
54 |
|
|
|
55 |
|
|
2001-07-26 Jesper Skov
|
56 |
|
|
|
57 |
|
|
* src/if_pcnet.c (amd_pcnet_init): Wait for init table loadup
|
58 |
|
|
completion. Removed ESA hack.
|
59 |
|
|
|
60 |
|
|
2001-07-25 Jesper Skov
|
61 |
|
|
|
62 |
|
|
* src/if_pcnet.c: Be more careful with the use of STOP since it
|
63 |
|
|
clears interrupt request flags. Moved some code from _start to
|
64 |
|
|
_init. Don't double check RX int flag in RxEvent function.
|
65 |
|
|
(amd_pcnet_init): Move ID output below initialization.
|
66 |
|
|
Get rid of the last use of STOP, replace with SUSPEND. Minor
|
67 |
|
|
cleanups.
|
68 |
|
|
(amd_pcnet_init): Fix silly compile error.
|
69 |
|
|
(amd_pcnet_init): Check that the controller actually
|
70 |
|
|
starts. Appears that it needs to be kicked a couple of times under
|
71 |
|
|
certain conditions.
|
72 |
|
|
|
73 |
|
|
* src/amd_pcnet.h: Added TFC bits.
|
74 |
|
|
|
75 |
|
|
2001-07-24 Jesper Skov
|
76 |
|
|
|
77 |
|
|
* src/if_pcnet.c: Mask off RDRA/TDRA pointers. Additional debug
|
78 |
|
|
info. Hack for broken ESA init. Don't clear TX interrupt flag in
|
79 |
|
|
send function (leave it to the event handler).
|
80 |
|
|
(pcnet_stop): Don't reset the controller, just stop it.
|
81 |
|
|
(pcnet_TxEvent): Only ack interrupt once.
|
82 |
|
|
|
83 |
|
|
* src/amd_pcnet.h: Added more registers.
|
84 |
|
|
|
85 |
|
|
2001-07-18 Jesper Skov
|
86 |
|
|
|
87 |
|
|
* src/if_pcnet.c: Make controller recover after FIFO
|
88 |
|
|
underflow. Removed unnecessary stall checking. Signal stack on TX
|
89 |
|
|
errors.
|
90 |
|
|
|
91 |
|
|
2001-07-16 Jesper Skov
|
92 |
|
|
|
93 |
|
|
* src/if_pcnet.c: Minor cleanups, avoid use of diag_printf unless
|
94 |
|
|
when debugging.
|
95 |
|
|
|
96 |
|
|
2001-07-12 Jesper Skov
|
97 |
|
|
|
98 |
|
|
* src/if_pcnet.c: Use PCI_IO accessor macros instead of HAL IO
|
99 |
|
|
macros. Added a few more CPU->PCI address conversions. Print
|
100 |
|
|
controller data.
|
101 |
|
|
|
102 |
|
|
* src/amd_pcnet.h: Added default PCI_IO accessor macros. Use
|
103 |
|
|
PCI_IO accessor macros instead of HAL IO macros.
|
104 |
|
|
|
105 |
|
|
* src/if_pcnet.c: Removed macros. Added new interrupt handling
|
106 |
|
|
code. Added code to find resources via PCI library. Change from
|
107 |
|
|
enaddr to esa. Use HAL_PCI_CPU_TO_BUS macros instead of phys
|
108 |
|
|
address macro. Fix esa setup code. Debug output tidied up.
|
109 |
|
|
|
110 |
|
|
* src/amd_pcnet.h: Moved macros here. Added definitions for 32 bit
|
111 |
|
|
RD/TD (unused). Changes for PCI configury.
|
112 |
|
|
|
113 |
|
|
* cdl/amd_pcnet_eth_drivers.cdl: Removed static esa option (now
|
114 |
|
|
per-device option). Added dev count option.
|
115 |
|
|
|
116 |
|
|
* src/if_pcnet.c: Get rid of within_send.
|
117 |
|
|
* src/amd_pcnet.h: Same.
|
118 |
|
|
|
119 |
|
|
* src/if_pcnet.c: Fix compile error.
|
120 |
|
|
|
121 |
|
|
2001-04-09 Jesper Skov
|
122 |
|
|
|
123 |
|
|
* src/if_pcnet.c: More updates.
|
124 |
|
|
|
125 |
|
|
* src/amd_pcnet.h: A few more defs.
|
126 |
|
|
|
127 |
|
|
* cdl/amd_pcnet_eth_drivers.cdl: Removed write EEPROM option.
|
128 |
|
|
|
129 |
|
|
* src/if_pcnet.c: Fix link status check code. Change some C types
|
130 |
|
|
to cyg types.
|
131 |
|
|
* src/amd_pcnet.h (get_reg, put_reg): Also access ANR registers.
|
132 |
|
|
|
133 |
|
|
* src/amd_pcnet.h: Macros for accessing structure elements.
|
134 |
|
|
* src/if_pcnet.c: Use those macros.
|
135 |
|
|
|
136 |
|
|
2001-04-04 Jesper Skov
|
137 |
|
|
|
138 |
|
|
* src/if_pcnet.c: Keep local counter of where to expect RX
|
139 |
|
|
packets. Appears that the receive ring counter always points at
|
140 |
|
|
the first buffer.
|
141 |
|
|
(pcnet_poll): Handle RX events before TX events.
|
142 |
|
|
Make sure to not accidently clear IENA flag.
|
143 |
|
|
|
144 |
|
|
* src/if_pcnet.c: Added RX code.
|
145 |
|
|
* src/amd_pcnet.h: A few more defs.
|
146 |
|
|
|
147 |
|
|
2001-04-03 Jesper Skov
|
148 |
|
|
|
149 |
|
|
* src/if_pcnet.c (amd_pcnet_init): Feed controller physical address.
|
150 |
|
|
|
151 |
|
|
* Cloned from LAN91Cxx driver.
|
152 |
|
|
|
153 |
|
|
//===========================================================================
|
154 |
|
|
// ####GPLCOPYRIGHTBEGIN####
|
155 |
|
|
// -------------------------------------------
|
156 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
157 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
158 |
|
|
//
|
159 |
|
|
// This program is free software; you can redistribute it and/or modify
|
160 |
|
|
// it under the terms of the GNU General Public License as published by
|
161 |
|
|
// the Free Software Foundation; either version 2 or (at your option) any
|
162 |
|
|
// later version.
|
163 |
|
|
//
|
164 |
|
|
// This program is distributed in the hope that it will be useful, but
|
165 |
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
166 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
167 |
|
|
// General Public License for more details.
|
168 |
|
|
//
|
169 |
|
|
// You should have received a copy of the GNU General Public License
|
170 |
|
|
// along with this program; if not, write to the
|
171 |
|
|
// Free Software Foundation, Inc., 51 Franklin Street,
|
172 |
|
|
// Fifth Floor, Boston, MA 02110-1301, USA.
|
173 |
|
|
// -------------------------------------------
|
174 |
|
|
// ####GPLCOPYRIGHTEND####
|
175 |
|
|
//===========================================================================
|