From owner-cvs-all@FreeBSD.ORG Mon Sep 15 22:01:30 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BD4916A4B3; Mon, 15 Sep 2003 22:01:30 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9381443FBD; Mon, 15 Sep 2003 22:01:28 -0700 (PDT) (envelope-from mbr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h8G51S0U037581; Mon, 15 Sep 2003 22:01:28 -0700 (PDT) (envelope-from mbr@repoman.freebsd.org) Received: (from mbr@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h8G51Ssw037578; Mon, 15 Sep 2003 22:01:28 -0700 (PDT) Message-Id: <200309160501.h8G51Ssw037578@repoman.freebsd.org> From: Martin Blapp Date: Mon, 15 Sep 2003 22:01:28 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/pci if_dc.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 05:01:30 -0000 mbr 2003/09/15 22:01:28 PDT FreeBSD src repository Modified files: sys/pci if_dc.c Log: Don't read the MAC address from a copy of the EEPROM in the softc that has been recorded earlier and overwrite it again later by reading it directly from the EEPROM again. Read the MAC address from the PAR0/PAR1 registers instead, which are autoloaded on reboot. Tested on AN985, AN983B. According to the datasheets, it should also work for the AL981 (I don't have such a chip on a card at home) PR: 52988 Submitted by: Andrew Gordon MFC after: 2 weeks Revision Changes Path 1.125 +3 -4 src/sys/pci/if_dc.c