From owner-cvs-all Tue Mar 20 14:21:42 2001 Delivered-To: cvs-all@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 2AB2237B78B; Tue, 20 Mar 2001 14:21:32 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id RAA23996; Tue, 20 Mar 2001 17:21:31 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.3/8.9.1) id f2KML1L46812; Tue, 20 Mar 2001 17:21:01 -0500 (EST) (envelope-from gallatin@cs.duke.edu) Date: Tue, 20 Mar 2001 17:21:01 -0500 From: Andrew Gallatin To: Jonathan Lemon Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/mii inphy.c Message-ID: <20010320172100.A46733@grasshopper.cs.duke.edu> References: <200103170250.f2H2oLE26064@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103170250.f2H2oLE26064@freefall.freebsd.org>; from jlemon@FreeBSD.org on Fri, Mar 16, 2001 at 06:50:21PM -0800 X-Operating-System: FreeBSD 4.3-BETA on an i386 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jonathan Lemon [jlemon@FreeBSD.org] wrote: > jlemon 2001/03/16 18:50:21 PST > > Modified files: > sys/dev/mii inphy.c > Log: > Really fix NWAY negotiation for the 82553 PHY. Locking down the > media interface selection should not imply disabling NWAY negotiaton > as well. This causes my older fxp's to loose the link: fxp0: port 0xfcc0-0xfcff mem 0xfec00000-0xfecfffff,0xfedfd000-0xfedfdfff irq 15 at device 15.0 on pci0 fxp0: Ethernet address 00:90:27:bc:37:c2 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto <...> # ifconfig fxp0 fxp0: flags=8843 mtu 1500 inet 152.3.xxx.xxx netmask 0xffffff00 broadcast 152.3.145.255 inet6 fe80::290:27ff:febc:37c2%fxp0 prefixlen 64 scopeid 0x2 ether 00:90:27:bc:37:c2 media: 100baseTX (none) status: no carrier supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP 100baseTX # pciconf -l | grep fxp fxp0@pci0:15:0: class=0x020000 card=0x000c8086 chip=0x12298086 rev=0x08 hdr=0x00 Backing out this commit fixes the problem. Note that I hardcode 'media 100baseTX mediaopt full-duplex ' in rc.conf for this interface, as its plugged into a really old switch that doesn't do autoneg. Drew -- ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message