svn commit: r191214 - in stable/7/sys: . boot/i386/libi386
contrib/pf dev/ath/ath_hal dev/cxgb
John Baldwin
jhb at FreeBSD.org
Fri Apr 17 10:07:13 PDT 2009
Author: jhb
Date: Fri Apr 17 17:07:12 2009
New Revision: 191214
URL: http://svn.freebsd.org/changeset/base/191214
Log:
MFC: Use a disk address instead of an int to hold the starting offset of an
open partition.
Approved by: re (kib)
Modified:
stable/7/sys/ (props changed)
stable/7/sys/boot/i386/libi386/biosdisk.c
stable/7/sys/contrib/pf/ (props changed)
stable/7/sys/dev/ath/ath_hal/ (props changed)
stable/7/sys/dev/cxgb/ (props changed)
Modified: stable/7/sys/boot/i386/libi386/biosdisk.c
==============================================================================
--- stable/7/sys/boot/i386/libi386/biosdisk.c Fri Apr 17 17:05:31 2009 (r191213)
+++ stable/7/sys/boot/i386/libi386/biosdisk.c Fri Apr 17 17:07:12 2009 (r191214)
@@ -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-stable-7
mailing list