1 |
27 |
unneback |
2001-10-05 Hugo Tyson
|
2 |
|
|
|
3 |
|
|
* src/if_i21143.c (MII_DELAY): Greatly reduce this, now it's
|
4 |
|
|
working, so that we can poll for link status changes. I don't see
|
5 |
|
|
any other way to do this, since we would not necessarily be
|
6 |
|
|
transmitting (to get a link fail code) when a person re-plugs the
|
7 |
|
|
line.
|
8 |
|
|
(i21143_status_changed): New function; a quicker test for
|
9 |
|
|
negotiated line status changed. Polled from the deliver routine.
|
10 |
|
|
|
11 |
|
|
2001-10-05 Hugo Tyson
|
12 |
|
|
|
13 |
|
|
* src/if_i21143.c (i21143_ioctl): Implement SNMP statistics.
|
14 |
|
|
(i21143_can_send): Enable the "unsticking" poll of tx and rx
|
15 |
|
|
states; it seems not necessary, but it's also definitely not
|
16 |
|
|
harmful.
|
17 |
|
|
(generally): manage getting the link status better; it takes time
|
18 |
|
|
so cache the answer. Reset the system if it changed between
|
19 |
|
|
_stop() and _start().
|
20 |
|
|
|
21 |
|
|
2001-10-04 Hugo Tyson
|
22 |
|
|
|
23 |
|
|
* src/if_i21143.c (i21143_reset): Set the "store and forward" bit
|
24 |
|
|
so that we can keep up with large transmits at 100Mbit. Otherwise
|
25 |
|
|
it underflows for packets of 700 bytes or so.
|
26 |
|
|
|
27 |
|
|
2001-10-04 Hugo Tyson
|
28 |
|
|
|
29 |
|
|
* src/if_i21143.c: Got ESA filtering set up OK by using perfect
|
30 |
|
|
filtering instead, with all the broadcast address except one with
|
31 |
|
|
our true ESA. Various changes to the debug printing too.
|
32 |
|
|
|
33 |
|
|
2001-09-28 Hugo Tyson
|
34 |
|
|
|
35 |
|
|
* src/if_i21143.c (i21143_init): Read the good ESA (MAC address)
|
36 |
|
|
from the serial EEPROM (or ROM) and use it if valid.
|
37 |
|
|
|
38 |
|
|
2001-09-28 Hugo Tyson
|
39 |
|
|
|
40 |
|
|
* src/if_i21143.c: Duh. Fix dangerously aliased local variable.
|
41 |
|
|
Having a thing like int fred[0] on the stack tends to screw up
|
42 |
|
|
other random variables.
|
43 |
|
|
|
44 |
|
|
2001-09-27 Hugo Tyson
|
45 |
|
|
|
46 |
|
|
* cdl/intel_i21143_eth_drivers.cdl: New file.
|
47 |
|
|
|
48 |
|
|
* src/if_i21143.c: New file. Not working yet.
|
49 |
|
|
Reception only occurs if "Receive All" CSR_OPMODE_RA is set.
|
50 |
|
|
No transmission occurs to the wire though the machinery all works
|
51 |
|
|
beautifully.
|
52 |
|
|
|
53 |
|
|
//===========================================================================
|
54 |
|
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
55 |
|
|
// -------------------------------------------
|
56 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
57 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
58 |
|
|
//
|
59 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
60 |
|
|
// the terms of the GNU General Public License as published by the Free
|
61 |
|
|
// Software Foundation; either version 2 or (at your option) any later version.
|
62 |
|
|
//
|
63 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
64 |
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
65 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
66 |
|
|
// for more details.
|
67 |
|
|
//
|
68 |
|
|
// You should have received a copy of the GNU General Public License along
|
69 |
|
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
70 |
|
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
71 |
|
|
//
|
72 |
|
|
// As a special exception, if other files instantiate templates or use macros
|
73 |
|
|
// or inline functions from this file, or you compile this file and link it
|
74 |
|
|
// with other works to produce a work based on this file, this file does not
|
75 |
|
|
// by itself cause the resulting work to be covered by the GNU General Public
|
76 |
|
|
// License. However the source code for this file must still be made available
|
77 |
|
|
// in accordance with section (3) of the GNU General Public License.
|
78 |
|
|
//
|
79 |
|
|
// This exception does not invalidate any other reasons why a work based on
|
80 |
|
|
// this file might be covered by the GNU General Public License.
|
81 |
|
|
//
|
82 |
|
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
83 |
|
|
// at http://sources.redhat.com/ecos/ecos-license/
|
84 |
|
|
// -------------------------------------------
|
85 |
|
|
//####ECOSGPLCOPYRIGHTEND####
|
86 |
|
|
//===========================================================================
|
87 |
|
|
|
88 |
|
|
|
89 |
|
|
|