1 2004-08-12 Jani Monoses <jani@iv.ro>
3 * src/if_pcnet.c: Fix builing with lwip.
5 2002-06-14 Gary Thomas <gary@chez-thomas.org>
8 Need to include <pkgconf/io_eth_drivers.h> for proper configuration
9 of stand-alone (polled) vs. system (interrupt driven) mode.
11 2002-02-19 Jesper Skov <jskov@redhat.com>
13 * src/if_pcnet.c: Fix a typo. Skip TX handling when there's no
14 outstanding TX packets.
16 2001-12-17 Jesper Skov <jskov@redhat.com>
18 * src/if_pcnet.c (amd_pcnet_init): Fix warning.
19 (pcnet_send): Fix bad debug code.
21 2001-12-04 Nick Garnett <nickg@redhat.com>
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.
31 * src/amd_pcnet.h: diag_printf -> db_printf
33 2001-10-16 David Howells <dhowells@redhat.com>
35 * src/if_pcnet.c: don't invert the logic of the auto-negotiation
38 2001-10-16 David Howells <dhowells@redhat.com>
40 * src/if_pcnet.c: check the correct flag to determine end of
42 * src/amd_pcnet.h: ditto
44 2001-10-15 David Howells <dhowells@redhat.com>
46 * cdl/amd_pcnet_eth_drivers.cdl: added option to force 10Mbps only
48 * src/amd_pcnet.h: ditto
49 * src/if_pcnet.c: ditto
51 2001-09-12 Jesper Skov <jskov@redhat.com>
53 * src/amd_pcnet.h: fix warning.
55 2001-07-26 Jesper Skov <jskov@redhat.com>
57 * src/if_pcnet.c (amd_pcnet_init): Wait for init table loadup
58 completion. Removed ESA hack.
60 2001-07-25 Jesper Skov <jskov@redhat.com>
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
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
73 * src/amd_pcnet.h: Added TFC bits.
75 2001-07-24 Jesper Skov <jskov@redhat.com>
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.
83 * src/amd_pcnet.h: Added more registers.
85 2001-07-18 Jesper Skov <jskov@redhat.com>
87 * src/if_pcnet.c: Make controller recover after FIFO
88 underflow. Removed unnecessary stall checking. Signal stack on TX
91 2001-07-16 Jesper Skov <jskov@redhat.com>
93 * src/if_pcnet.c: Minor cleanups, avoid use of diag_printf unless
96 2001-07-12 Jesper Skov <jskov@redhat.com>
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
102 * src/amd_pcnet.h: Added default PCI_IO accessor macros. Use
103 PCI_IO accessor macros instead of HAL IO macros.
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.
110 * src/amd_pcnet.h: Moved macros here. Added definitions for 32 bit
111 RD/TD (unused). Changes for PCI configury.
113 * cdl/amd_pcnet_eth_drivers.cdl: Removed static esa option (now
114 per-device option). Added dev count option.
116 * src/if_pcnet.c: Get rid of within_send.
117 * src/amd_pcnet.h: Same.
119 * src/if_pcnet.c: Fix compile error.
121 2001-04-09 Jesper Skov <jskov@redhat.com>
123 * src/if_pcnet.c: More updates.
125 * src/amd_pcnet.h: A few more defs.
127 * cdl/amd_pcnet_eth_drivers.cdl: Removed write EEPROM option.
129 * src/if_pcnet.c: Fix link status check code. Change some C types
131 * src/amd_pcnet.h (get_reg, put_reg): Also access ANR registers.
133 * src/amd_pcnet.h: Macros for accessing structure elements.
134 * src/if_pcnet.c: Use those macros.
136 2001-04-04 Jesper Skov <jskov@redhat.com>
138 * src/if_pcnet.c: Keep local counter of where to expect RX
139 packets. Appears that the receive ring counter always points at
141 (pcnet_poll): Handle RX events before TX events.
142 Make sure to not accidently clear IENA flag.
144 * src/if_pcnet.c: Added RX code.
145 * src/amd_pcnet.h: A few more defs.
147 2001-04-03 Jesper Skov <jskov@redhat.com>
149 * src/if_pcnet.c (amd_pcnet_init): Feed controller physical address.
151 * Cloned from LAN91Cxx driver.
153 //===========================================================================
154 //####ECOSGPLCOPYRIGHTBEGIN####
155 // -------------------------------------------
156 // This file is part of eCos, the Embedded Configurable Operating System.
157 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
159 // eCos is free software; you can redistribute it and/or modify it under
160 // the terms of the GNU General Public License as published by the Free
161 // Software Foundation; either version 2 or (at your option) any later version.
163 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
164 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
165 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
168 // You should have received a copy of the GNU General Public License along
169 // with eCos; if not, write to the Free Software Foundation, Inc.,
170 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
172 // As a special exception, if other files instantiate templates or use macros
173 // or inline functions from this file, or you compile this file and link it
174 // with other works to produce a work based on this file, this file does not
175 // by itself cause the resulting work to be covered by the GNU General Public
176 // License. However the source code for this file must still be made available
177 // in accordance with section (3) of the GNU General Public License.
179 // This exception does not invalidate any other reasons why a work based on
180 // this file might be covered by the GNU General Public License.
182 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
183 // at http://sources.redhat.com/ecos/ecos-license/
184 // -------------------------------------------
185 //####ECOSGPLCOPYRIGHTEND####
186 //===========================================================================