From owner-freebsd-hackers Tue Mar 18 00:55:00 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA14991 for hackers-outgoing; Tue, 18 Mar 1997 00:55:00 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA14967 for ; Tue, 18 Mar 1997 00:54:56 -0800 (PST) Received: from root.com (implode.root.com [198.145.90.17]) by who.cdrom.com (8.8.5/8.6.11) with ESMTP id AAA28191 for ; Tue, 18 Mar 1997 00:26:11 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by root.com (8.8.5/8.6.5) with SMTP id AAA08645; Tue, 18 Mar 1997 00:27:27 -0800 (PST) Message-Id: <199703180827.AAA08645@root.com> X-Authentication-Warning: implode.root.com: localhost [127.0.0.1] didn't use HELO protocol To: bag@sinbin.demos.su (Alex G. Bulushev) cc: hackers@freebsd.org, mishania@demos.su Subject: Re: cvs commit: src/sys/pci if_fxp.c if_fxpreg.h In-reply-to: Your message of "Tue, 18 Mar 1997 11:08:39 +0300." <199703180808.LAA24272@sinbin.demos.su> From: David Greenman Reply-To: dg@root.com Date: Tue, 18 Mar 1997 00:27:27 -0800 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> davidg 97/03/17 03:08:21 >> >> Modified: sys/pci if_fxp.c if_fxpreg.h >> Log: >> Fixed two deficiencies in the driver that have existed since it was >> written: >> >> 1) Full duplex mode is now supported (and works!) >> 2) The 10Mbps-only PCI Pro/10 should now work (untested, however) >> >> Thanks to Justin Gibbs for providing a PCI bus analyzer trace while the >> Intel Windows driver was configuring the board...this made it possible >> to figure out the mystery bit that I wasn't setting in the PHY for full >> duplex to work. >> >> Revision Changes Path >> 1.30 +89 -22 src/sys/pci/if_fxp.c >> 1.7 +27 -1 src/sys/pci/if_fxpreg.h >> >> > >we check this driver for 2.2-R, >but before compiling kernel i change line 1101 in if_fxp.c from > error = ether_ioctl(ifp, command, data); >to > ether_ioctl(ifp, command, data); > ^^^^^^^^^^^ is void in 2.2-R > >after this kernel compiled without any problems ... Why don't you just use the version that I committed to the 2.2 branch? The above change is not sufficient for the driver to work correctly in all cases (but this has nothing to do with your performance problem). >but full duplex mode not work properly ... > >in half duplex we have 2400 KBytes/sec via ftp >in full duplex we have 20 KBytes/sec as for previous revision of driver ... > >we have 82557 rev 1 What is the card connected to? It must be connected to a fast ethernet switch in order for full duplex mode to work. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project