From owner-cvs-src@FreeBSD.ORG Fri Jan 19 22:37:58 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 32B2116A405; Fri, 19 Jan 2007 22:37:58 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2323B13C428; Fri, 19 Jan 2007 22:37:58 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l0JMbrwd009193; Fri, 19 Jan 2007 22:37:53 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l0JMbqNI009192; Fri, 19 Jan 2007 22:37:52 GMT (envelope-from jhb) Message-Id: <200701192237.l0JMbqNI009192@repoman.freebsd.org> From: John Baldwin Date: Fri, 19 Jan 2007 22:37:52 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/aic7xxx aic79xx.h aic79xx_pci.c src/sys/dev/pci pcireg.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 19 Jan 2007 22:37:58 -0000 jhb 2007-01-19 22:37:52 UTC FreeBSD src repository Modified files: sys/dev/aic7xxx aic79xx.h aic79xx_pci.c sys/dev/pci pcireg.h Log: - Change the PCI-X registers constants to be relative to the PCI-X PCI capability rather than hardcoded offsets for a particular card. While I'm here, expand the constants some. - Change the ahd(4) driver to use pci_find_extcap() to locate the PCI-X capability to keep up with the first change. Reviewed by: scottl, gibbs (earlier version) Revision Changes Path 1.25 +3 -0 src/sys/dev/aic7xxx/aic79xx.h 1.25 +14 -7 src/sys/dev/aic7xxx/aic79xx_pci.c 1.57 +71 -15 src/sys/dev/pci/pcireg.h