From owner-cvs-all@FreeBSD.ORG Sat Sep 13 16:51:37 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 A5A6716A4BF; Sat, 13 Sep 2003 16:51:37 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D42E43F93; Sat, 13 Sep 2003 16:51:37 -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 h8DNpa0U084497; Sat, 13 Sep 2003 16:51:36 -0700 (PDT) (envelope-from wpaul@repoman.freebsd.org) Received: (from wpaul@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h8DNpaxO084492; Sat, 13 Sep 2003 16:51:36 -0700 (PDT) Message-Id: <200309132351.h8DNpaxO084492@repoman.freebsd.org> From: Bill Paul Date: Sat, 13 Sep 2003 16:51:36 -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_rlreg.h src/sys/dev/re if_re.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: Sat, 13 Sep 2003 23:51:37 -0000 wpaul 2003/09/13 16:51:36 PDT FreeBSD src repository Modified files: sys/pci if_rlreg.h sys/dev/re if_re.c Log: Teach the re(4) driver about the CFG2 register, which tells us whether we're on a 32-bit/64-bit bus or not. Use this to decide if we should set the PCI dual-address cycle enable bit in the C+ command register. (Enabling DAC on a 32-bit bus seems to do bad things.) Also, initialize the C+ command register early in the re_init() routine. The documentation says this register should be configured first. Revision Changes Path 1.7 +14 -7 src/sys/dev/re/if_re.c 1.39 +15 -1 src/sys/pci/if_rlreg.h