From owner-cvs-src@FreeBSD.ORG Sun Jun 29 10:33:34 2003 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 C579337B401; Sun, 29 Jun 2003 10:33:34 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6027444027; Sun, 29 Jun 2003 10:33:34 -0700 (PDT) (envelope-from wpaul@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 h5THXY0U000519; Sun, 29 Jun 2003 10:33:34 -0700 (PDT) (envelope-from wpaul@repoman.freebsd.org) Received: (from wpaul@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5THXXj1000509; Sun, 29 Jun 2003 10:33:33 -0700 (PDT) Message-Id: <200306291733.h5THXXj1000509@repoman.freebsd.org> From: Bill Paul Date: Sun, 29 Jun 2003 10:33:33 -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_rl.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: Sun, 29 Jun 2003 17:33:35 -0000 wpaul 2003/06/29 10:33:33 PDT FreeBSD src repository Modified files: sys/pci if_rl.c Log: In order to set the MAC address on RealTek NICs, you must flip WRITECFG bit in the EEPROM mode register on. Also, the address must be written in two 32-bit register accesses instead of 6 8-bit accesses. Tested with my 8139B cardbus NIC. PR: kern/35900 Submitted by: Mark Kettenis Revision Changes Path 1.101 +9 -5 src/sys/pci/if_rl.c