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