From owner-cvs-src@FreeBSD.ORG Mon Apr 25 22:55:14 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5C1C16A4CE; Mon, 25 Apr 2005 22:55:14 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BC3343D2F; Mon, 25 Apr 2005 22:55:14 +0000 (GMT) (envelope-from davidxu@freebsd.org) Received: from [127.0.0.1] (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3PMtCtF047676; Mon, 25 Apr 2005 22:55:13 GMT (envelope-from davidxu@freebsd.org) Message-ID: <426D755A.4030401@freebsd.org> Date: Tue, 26 Apr 2005 06:55:22 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.5) Gecko/20050402 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bill Paul References: <200504251829.j3PITgRa021805@repoman.freebsd.org> In-Reply-To: <200504251829.j3PITgRa021805@repoman.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/vge if_vge.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 22:55:14 -0000 Bill Paul wrote: >wpaul 2005-04-25 18:29:42 UTC > > FreeBSD src repository > > Modified files: > sys/dev/vge if_vge.c > Log: > Reading the EEPROM to learn the station address doesn't seem to work > on boards with VIA gigE controllers that are embedded in VIA chipsets. > Presumably, they don't have an external EEPROM and store the MAC > address somewhere else. To get around this, force an autoload and > read the station address from the RX filter registers instead. > This has been tested to work on both embedded and standalone > controllers. > > Revision Changes Path > 1.7 +11 -0 src/sys/dev/vge/if_vge.c > > > > with this change, I got following error on my abit av8: vge0: port 0xb800-0xb8ff mem 0xf8122000-0xf81220ff irq 22 at device 14.0 on pci0 vge0: MII read timed out vge0: failed to start MII autopoll vge0: MII without any phy! device_attach: vge0 attach returned 6 before this change, it can work for a while, then it will timeout : vge0: watchdog timeout vge0: soft reset timed outvge0: EEPROM reload timed out vge0: setting CAM filter failed miibus1: unknown CICADA PHY model 0 miibus1: unknown CICADA PHY model 0 rl0: link state changed to DOWN David Xu