Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Sep 2012 11:30:45 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r240272 - head/sys/boot/uboot/lib
Message-ID:  <201209091130.q89BUjYX064459@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Sun Sep  9 11:30:45 2012
New Revision: 240272
URL: http://svn.freebsd.org/changeset/base/240272

Log:
  Make struct uboot_devdesc compatible with struct disk_devdesc.

Modified:
  head/sys/boot/uboot/lib/libuboot.h

Modified: head/sys/boot/uboot/lib/libuboot.h
==============================================================================
--- head/sys/boot/uboot/lib/libuboot.h	Sun Sep  9 09:46:48 2012	(r240271)
+++ head/sys/boot/uboot/lib/libuboot.h	Sun Sep  9 11:30:45 2012	(r240272)
@@ -35,18 +35,15 @@ struct uboot_devdesc
 	union {
 		struct {
 			void	*data;
-			int	pnum;
-			int	ptype;
+			int	slice;
+			int	partition;
+			off_t	offset;
 		} disk;
 	} d_kind;
 };
 
 #define d_disk d_kind.disk
 
-#define PTYPE_BSDLABEL	1
-#define PTYPE_GPT	2
-#define PTYPE_MBR	3
-
 /*
  * Default network packet alignment in memory
  */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209091130.q89BUjYX064459>