From owner-cvs-src@FreeBSD.ORG Mon Oct 30 22:46:34 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 321FF16A403; Mon, 30 Oct 2006 22:46:34 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00B4643D55; Mon, 30 Oct 2006 22:46:34 +0000 (GMT) (envelope-from imp@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 k9UMkXnl052131; Mon, 30 Oct 2006 22:46:33 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k9UMkXKV052130; Mon, 30 Oct 2006 22:46:33 GMT (envelope-from imp) Message-Id: <200610302246.k9UMkXKV052130@repoman.freebsd.org> From: Warner Losh Date: Mon, 30 Oct 2006 22:46:33 +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/pci pci.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: Mon, 30 Oct 2006 22:46:34 -0000 imp 2006-10-30 22:46:33 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Assign start to the value we were able to allocate and use that to write out the BAR. Otherwise, we were trying to shift a 32-bit quantity on 32-bit platforms. Also, 'start' check sanity to where it is known. Revision Changes Path 1.318 +11 -10 src/sys/dev/pci/pci.c