Date: Tue, 20 Mar 2001 17:21:01 -0500 From: Andrew Gallatin <gallatin@cs.duke.edu> To: Jonathan Lemon <jlemon@FreeBSD.org> 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> In-Reply-To: <200103170250.f2H2oLE26064@freefall.freebsd.org>; from jlemon@FreeBSD.org on Fri, Mar 16, 2001 at 06:50:21PM -0800 References: <200103170250.f2H2oLE26064@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <Intel Pro 10/100B/100+ Ethernet> 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: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto <...> # ifconfig fxp0 fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex> (none) status: no carrier supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback> # 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010320172100.A46733>