svn commit: r191216 - in stable/6/sys: . boot/i386/libi386 contrib/pf dev/cxgb

John Baldwin jhb at FreeBSD.org
Fri Apr 17 17:24:10 UTC 2009


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


More information about the svn-src-all mailing list