1 |
786 |
skrzyp |
2011-08-28 Stephen Polkowski
|
2 |
|
|
Sergei Gavrikov
|
3 |
|
|
|
4 |
|
|
* src/via_rhine.h: Fix some compiler warning.
|
5 |
|
|
* src/if_rhine.c (via_rhine_init): Manage ESA with HAL_PCI_IO* macros.
|
6 |
|
|
[ Bugzilla 1001269 ]
|
7 |
|
|
|
8 |
|
|
2004-08-12 Jani Monoses
|
9 |
|
|
|
10 |
|
|
* src/if_rhine.c: Fix builing with lwip.
|
11 |
|
|
|
12 |
|
|
2002-06-14 Gary Thomas
|
13 |
|
|
|
14 |
|
|
* src/if_rhine.c:
|
15 |
|
|
Need to include for proper configuration
|
16 |
|
|
of stand-alone (polled) vs. system (interrupt driven) mode.
|
17 |
|
|
|
18 |
|
|
2001-08-22 Gary Thomas
|
19 |
|
|
|
20 |
|
|
* src/via_rhine.h:
|
21 |
|
|
* src/if_rhine.c:
|
22 |
|
|
printf() is no longer a part of RedBoot. Thus all programs
|
23 |
|
|
must use diag_printf() and related functions instead.
|
24 |
|
|
|
25 |
|
|
2001-07-05 Jesper Skov
|
26 |
|
|
|
27 |
|
|
* src/via_rhine.h: Define IMR init value.
|
28 |
|
|
* src/if_rhine.c: And use it.
|
29 |
|
|
|
30 |
|
|
* src/if_rhine.c: Remove unused code.
|
31 |
|
|
* src/via_rhine.h: Remove unused variable.
|
32 |
|
|
|
33 |
|
|
* src/if_rhine.c (find_rhine_match_func): Added debug output. Fix
|
34 |
|
|
some warnings and an error.
|
35 |
|
|
|
36 |
|
|
2001-07-04 Jesper Skov
|
37 |
|
|
|
38 |
|
|
* src/if_rhine.c: Added D-Link pre-reset magic. Disabled driver
|
39 |
|
|
polls (leave it to interrupt handler).
|
40 |
|
|
|
41 |
|
|
* src/via_rhine.h: Added more definitions.
|
42 |
|
|
|
43 |
|
|
* src/if_rhine.c (rhine_can_send): Force MII status update by
|
44 |
|
|
reading from PHY controller.
|
45 |
|
|
|
46 |
|
|
2001-07-02 Jesper Skov
|
47 |
|
|
|
48 |
|
|
* src/via_rhine.h: Fail to build if CPU to PCI address translation
|
49 |
|
|
macros are not provided.
|
50 |
|
|
|
51 |
|
|
2001-06-29 Jesper Skov
|
52 |
|
|
|
53 |
|
|
* src/via_rhine.h: Fix macro typos.
|
54 |
|
|
|
55 |
|
|
* src/if_rhine.c (rhine_poll): Put a mutex on this function.
|
56 |
|
|
|
57 |
|
|
2001-06-28 Jesper Skov
|
58 |
|
|
|
59 |
|
|
* src/if_rhine.c: Comment out unused function to silence warning.
|
60 |
|
|
Removed unused mem_base. Set interrupt priority to non-zero.
|
61 |
|
|
|
62 |
|
|
* src/via_rhine.h (INCR_STAT): Fix typo.
|
63 |
|
|
|
64 |
|
|
2001-06-27 Jesper Skov
|
65 |
|
|
|
66 |
|
|
* src/if_rhine.c (rhine_can_send): Read MII status which appears
|
67 |
|
|
to make link magic work. Not at all clear why this is so, but it
|
68 |
|
|
works.
|
69 |
|
|
|
70 |
|
|
* src/via_rhine.h: Disable debug output.
|
71 |
|
|
|
72 |
|
|
* src/if_rhine.c (rhine_start): Name magic registers.
|
73 |
|
|
(rhine_start): Remove some verbose output.
|
74 |
|
|
|
75 |
|
|
* src/via_rhine.h: Added register definitions. Removed unused key
|
76 |
|
|
IDs.
|
77 |
|
|
|
78 |
|
|
2001-06-26 Jesper Skov
|
79 |
|
|
|
80 |
|
|
* src/if_rhine.c: Rename PCI IO macros.
|
81 |
|
|
* src/via_rhine.h: Same. And include PCI header.
|
82 |
|
|
|
83 |
|
|
* cdl/via_rhine_eth_drivers.cdl: Require PCI package.
|
84 |
|
|
|
85 |
|
|
2001-06-25 Jesper Skov
|
86 |
|
|
|
87 |
|
|
* src/if_rhine.c: Some cleanups, more debug code added, use macros
|
88 |
|
|
for accessing PCI IO space which platform can override. Some of
|
89 |
|
|
these changes from David Woodhouse.
|
90 |
|
|
* src/via_rhine.h: All macros moved to this file.
|
91 |
|
|
|
92 |
|
|
2001-06-07 Jesper Skov
|
93 |
|
|
|
94 |
|
|
* src/via_rhine.h: Rename MII definitions.
|
95 |
|
|
* src/if_rhine.c: Don't reset the controller when stopping. This
|
96 |
|
|
fixes the problem with the link state being weird. Clean up the
|
97 |
|
|
renegotiate code a bit.
|
98 |
|
|
|
99 |
|
|
* src/if_rhine.c: Added code to gather statistics.
|
100 |
|
|
Some output cleanup, sanity checking of RX queue only when
|
101 |
|
|
assertions enabled.
|
102 |
|
|
|
103 |
|
|
2001-06-06 Jesper Skov
|
104 |
|
|
|
105 |
|
|
* src/via_rhine.h: MII definitions.
|
106 |
|
|
* src/if_rhine.c: Added MII accessor functions to allow a forced
|
107 |
|
|
renegotiate of the connection on a link fail.
|
108 |
|
|
|
109 |
|
|
* src/if_rhine.c: Use PCI information to configure devices. Mask
|
110 |
|
|
interrupts in handlers.
|
111 |
|
|
(rhine_dsr): Oops, skipped driver synchronization.
|
112 |
|
|
|
113 |
|
|
* src/via_rhine.h: Added more private data.
|
114 |
|
|
|
115 |
|
|
* cdl/via_rhine_eth_drivers.cdl: Removed static ESA config option
|
116 |
|
|
- it belongs in the platform configury. Added device count for PCI
|
117 |
|
|
configury.
|
118 |
|
|
* src/if_rhine.c: Fix static ESA configury.
|
119 |
|
|
* src/via_rhine.h: Changed private data accordingly.
|
120 |
|
|
|
121 |
|
|
* src/if_rhine.c: Fix buglet in handling of small packets, small
|
122 |
|
|
hacks to interrupt handling.
|
123 |
|
|
|
124 |
|
|
2001-06-01 Jesper Skov
|
125 |
|
|
|
126 |
|
|
* src/if_rhine.c: Tell stack the ESA. Pad short packets.
|
127 |
|
|
|
128 |
|
|
* src/via_rhine.h: Added defs.
|
129 |
|
|
|
130 |
|
|
* src/if_rhine.c: Mask off PCI addresses - need proper macros for
|
131 |
|
|
this, or rather, use PCI API to get correct addresses. Close RX/TX
|
132 |
|
|
descriptor loops. Load RX/TX base pointers into NIC. Enable TX.
|
133 |
|
|
|
134 |
|
|
2001-05-31 Jesper Skov
|
135 |
|
|
|
136 |
|
|
* src/via_rhine.h: Make TX/RX descriptor entries 32 bit only to
|
137 |
|
|
avoid endian issues with offsets.
|
138 |
|
|
|
139 |
|
|
* src/if_rhine.c: Hacking code to (more or less) comply to
|
140 |
|
|
Rhine. Needs debugging though - manual is really thin!
|
141 |
|
|
|
142 |
|
|
2001-05-30 Jesper Skov
|
143 |
|
|
|
144 |
|
|
* Cloned from AMD PCNet driver.
|
145 |
|
|
|
146 |
|
|
//===========================================================================
|
147 |
|
|
// ####GPLCOPYRIGHTBEGIN####
|
148 |
|
|
// -------------------------------------------
|
149 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
150 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
151 |
|
|
//
|
152 |
|
|
// This program is free software; you can redistribute it and/or modify
|
153 |
|
|
// it under the terms of the GNU General Public License as published by
|
154 |
|
|
// the Free Software Foundation; either version 2 or (at your option) any
|
155 |
|
|
// later version.
|
156 |
|
|
//
|
157 |
|
|
// This program is distributed in the hope that it will be useful, but
|
158 |
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
159 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
160 |
|
|
// General Public License for more details.
|
161 |
|
|
//
|
162 |
|
|
// You should have received a copy of the GNU General Public License
|
163 |
|
|
// along with this program; if not, write to the
|
164 |
|
|
// Free Software Foundation, Inc., 51 Franklin Street,
|
165 |
|
|
// Fifth Floor, Boston, MA 02110-1301, USA.
|
166 |
|
|
// -------------------------------------------
|
167 |
|
|
// ####GPLCOPYRIGHTEND####
|
168 |
|
|
//===========================================================================
|