Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2018 21:39:42 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r330808 - head/stand/i386/libi386
Message-ID:  <201803122139.w2CLdgPV038249@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Mon Mar 12 21:39:42 2018
New Revision: 330808
URL: https://svnweb.freebsd.org/changeset/base/330808

Log:
  Make struct libi386_devdesc match the struct devdesc better
  
  Move data to top and call it d_opendata.

Modified:
  head/stand/i386/libi386/libi386.h

Modified: head/stand/i386/libi386/libi386.h
==============================================================================
--- head/stand/i386/libi386/libi386.h	Mon Mar 12 21:39:38 2018	(r330807)
+++ head/stand/i386/libi386/libi386.h	Mon Mar 12 21:39:42 2018	(r330808)
@@ -36,22 +36,17 @@ struct i386_devdesc {
     struct devsw	*d_dev;
     int			d_type;
     int			d_unit;
+    void		*d_opendata;
     union 
     {
 	struct 
 	{
-	    void	*data;
 	    int		slice;
 	    int		partition;
 	    off_t	offset;
 	} biosdisk;
 	struct
 	{
-	    void	*data;
-	} bioscd;
-	struct
-	{
-	    void	*data;
 	    uint64_t	pool_guid;
 	    uint64_t	root_guid;
 	} zfs;



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