Date: Fri, 17 Apr 2009 17:13:41 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-releng@freebsd.org Subject: svn commit: r191215 - in releng/7.2/sys: . boot/i386/libi386 contrib/pf dev/ath/ath_hal dev/cxgb Message-ID: <200904171713.n3HHDftt029203@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Fri Apr 17 17:13:41 2009 New Revision: 191215 URL: http://svn.freebsd.org/changeset/base/191215 Log: MFC: Use a disk address instead of an int to hold the starting offset of an open partition. Approved by: re (kib) Modified: releng/7.2/sys/ (props changed) releng/7.2/sys/boot/i386/libi386/biosdisk.c releng/7.2/sys/contrib/pf/ (props changed) releng/7.2/sys/dev/ath/ath_hal/ (props changed) releng/7.2/sys/dev/cxgb/ (props changed) Modified: releng/7.2/sys/boot/i386/libi386/biosdisk.c ============================================================================== --- releng/7.2/sys/boot/i386/libi386/biosdisk.c Fri Apr 17 17:07:12 2009 (r191214) +++ releng/7.2/sys/boot/i386/libi386/biosdisk.c Fri Apr 17 17:13:41 2009 (r191215) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904171713.n3HHDftt029203>