Re: 3c515 issue
Kris Van Hees <[email protected]> Tue, 1 Oct 2002 07:29:06 -0400
| Newsgroups | gmane.linux.drivers.3c509.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Oct 01, 2002 at 02:37:40AM -0400, Donald Becker wrote: > On Mon, 30 Sep 2002, Kris Van Hees wrote: > > On top of this, an ftp between the router and another host on the switch (known > > to be using 100BaseTX) runs at about 1262.3 kB/s whereas a transfer between > > two hosts on the switch that are known to be using 100BaseTX, the transfer rate > > is 10706.9 kB/s. > > Uhmmm, this is a card on the ISA bus. At best you will get 5.33MB/sec, > and that is with 100% of the CPU time waiting for the ISA bus and no > dropped packets. Hah! So much for the 3Com web page that states that you should be able to make 20-25Mb/s. > > Finally, an ifconfig reports that basically every transmitted packet has a > > carrier error associated with it: > > This is a bug in the driver -- the negotiated full duplex setting isn't > being correctly set in the NIC. I would help, but that's a modified > driver. You should ask the last person to modify it for support. Hm, I shuld have realized that from using the driver in the 2.4.19 kernel. Unfortunately, the Scyld driver at ftp://ftp.scyld.com/pub/network/isa/3c515.c does not compile with the 2.4.19 kernel. Here is what I get: router:~/src/3c515# gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c 3c515.c In file included from 3c515.c:112: /usr/include/linux/malloc.h:4: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead. 3c515.c:353: field `stats' has incomplete type 3c515.c: In function `c515_found1': 3c515.c:510: incompatible types in assignment 3c515.c: In function `vortex_probe1': 3c515.c:647: warning: assignment from incompatible pointer type 3c515.c: In function `vortex_open': 3c515.c:800: structure has no member named `tbusy' 3c515.c:801: structure has no member named `interrupt' 3c515.c:802: structure has no member named `start' 3c515.c: In function `vortex_start_xmit': 3c515.c:904: structure has no member named `tbusy' 3c515.c:945: structure has no member named `tbusy' 3c515.c:994: structure has no member named `tbusy' 3c515.c:1014: structure has no member named `tbusy' 3c515.c: In function `vortex_interrupt': 3c515.c:1069: structure has no member named `interrupt' 3c515.c:1071: structure has no member named `interrupt' 3c515.c:1087: structure has no member named `start' 3c515.c:1104: structure has no member named `tbusy' 3c515.c:1105: `NET_BH' undeclared (first use in this function) 3c515.c:1105: (Each undeclared identifier is reported only once 3c515.c:1105: for each function it appears in.) 3c515.c:1127: structure has no member named `tbusy' 3c515.c:1134: structure has no member named `tbusy' 3c515.c:1203: structure has no member named `interrupt' 3c515.c: In function `vortex_close': 3c515.c:1274: structure has no member named `start' 3c515.c:1275: structure has no member named `tbusy' 3c515.c: At top level: 3c515.c:1309: conflicting types for `vortex_get_stats' 3c515.c:406: previous declaration of `vortex_get_stats' 3c515.c: In function `vortex_get_stats': 3c515.c:1313: structure has no member named `start' 3c515.c:1320: warning: control reaches end of non-void function router:~/src/3c515# Any ideas? Thanks, Kris