From owner-cvs-src@FreeBSD.ORG Mon Apr 25 18:29:43 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 71B2516A4CE; Mon, 25 Apr 2005 18:29:43 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E317743D41; Mon, 25 Apr 2005 18:29:42 +0000 (GMT) (envelope-from wpaul@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3PITg2Z021806; Mon, 25 Apr 2005 18:29:42 GMT (envelope-from wpaul@repoman.freebsd.org) Received: (from wpaul@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3PITgRa021805; Mon, 25 Apr 2005 18:29:42 GMT (envelope-from wpaul) Message-Id: <200504251829.j3PITgRa021805@repoman.freebsd.org> From: Bill Paul Date: Mon, 25 Apr 2005 18:29:42 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: 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 18:29:43 -0000 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