From owner-svn-src-stable-6@FreeBSD.ORG Fri Apr 17 17:24:08 2009 Return-Path: Delivered-To: svn-src-stable-6@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52B1A10657AE; Fri, 17 Apr 2009 17:24:08 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3E79B8FC2A; Fri, 17 Apr 2009 17:24:08 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n3HHO8DJ029486; Fri, 17 Apr 2009 17:24:08 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n3HHO8Ot029485; Fri, 17 Apr 2009 17:24:08 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <200904171724.n3HHO8Ot029485@svn.freebsd.org> From: John Baldwin Date: Fri, 17 Apr 2009 17:24:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-6@freebsd.org X-SVN-Group: stable-6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r191216 - in stable/6/sys: . boot/i386/libi386 contrib/pf dev/cxgb X-BeenThere: svn-src-stable-6@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 6-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2009 17:24:10 -0000 Author: jhb Date: Fri Apr 17 17:24:07 2009 New Revision: 191216 URL: http://svn.freebsd.org/changeset/base/191216 Log: MFC: Use a disk address instead of an int to hold the starting offset of an open partition. Modified: stable/6/sys/ (props changed) stable/6/sys/boot/i386/libi386/biosdisk.c stable/6/sys/contrib/pf/ (props changed) stable/6/sys/dev/cxgb/ (props changed) Modified: stable/6/sys/boot/i386/libi386/biosdisk.c ============================================================================== --- stable/6/sys/boot/i386/libi386/biosdisk.c Fri Apr 17 17:13:41 2009 (r191215) +++ stable/6/sys/boot/i386/libi386/biosdisk.c Fri Apr 17 17:24:07 2009 (r191216) @@ -83,7 +83,7 @@ struct open_disk { int od_cyl; /* BIOS geometry */ int od_hds; int od_sec; - int od_boff; /* block offset from beginning of BIOS disk */ + daddr_t od_boff; /* block offset from beginning of BIOS disk */ int od_flags; #define BD_MODEINT13 0x0000 #define BD_MODEEDD1 0x0001