svn commit: r191215 - in releng/7.2/sys: . boot/i386/libi386
contrib/pf dev/ath/ath_hal dev/cxgb
John Baldwin
jhb at FreeBSD.org
Fri Apr 17 17:13:42 UTC 2009
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
More information about the svn-src-all
mailing list