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