From owner-cvs-src@FreeBSD.ORG Fri May 16 14:57:49 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D965E106567F; Fri, 16 May 2008 14:57:49 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B17018FC17; Fri, 16 May 2008 14:57:49 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m4GEvnwO013698; Fri, 16 May 2008 14:57:49 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m4GEvnmS013697; Fri, 16 May 2008 14:57:49 GMT (envelope-from marcel) Message-Id: <200805161457.m4GEvnmS013697@repoman.freebsd.org> From: Marcel Moolenaar Date: Fri, 16 May 2008 14:57:49 +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/puc pucdata.c 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, 16 May 2008 14:57:50 -0000 marcel 2008-05-16 14:57:49 UTC FreeBSD src repository Modified files: sys/dev/puc pucdata.c Log: Fix RID calculation. The RID is really the BAR for PCI cards, so the index needs to be translated into an offset. While we did add the offset (0x10), we forgot to account for the width. Tested by: Thomas Vogt MFC after: 3 days Revision Changes Path 1.61 +1 -1 src/sys/dev/puc/pucdata.c