From owner-freebsd-net Fri Aug 16 16:16: 5 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75D2C37B400 for ; Fri, 16 Aug 2002 16:16:03 -0700 (PDT) Received: from ambrisko.com (adsl-64-174-51-42.dsl.snfc21.pacbell.net [64.174.51.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0002243E42 for ; Fri, 16 Aug 2002 16:16:02 -0700 (PDT) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.11.6/8.11.6) id g7GNFuj00405; Fri, 16 Aug 2002 16:15:56 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200208162315.g7GNFuj00405@ambrisko.com> Subject: Re: cvs commit: src/sys/dev/mii mii.c In-Reply-To: <200208162307.g7GN7PDA074791@vashon.polstra.com> To: John Polstra Date: Fri, 16 Aug 2002 16:15:56 -0700 (PDT) Cc: net@freebsd.org X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org John Polstra writes: | In article <200208162259.g7GMxYp99777@ambrisko.com>, Doug Ambrisko | wrote: | > Okay how about this patch to revert the mii change and only probe | > the first PHY. I tested it on -stable and I'm now testing it on | > -current. | | Looks good, as long as the PHY always has address 0 in this device. Well it is built in on this chip. I'm adding code to check to see if it is the D-Link part only via: if (pci_get_vendor(dev) == DL_VENDORID && pci_get_device(dev) == DL_DEVICEID_550TX && phy != 0) return (0); If someone has a Sundance chip to test they can change it if needed. Doug A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message