svn commit: r330808 - head/stand/i386/libi386

Warner Losh imp at FreeBSD.org
Mon Mar 12 21:39:45 UTC 2018


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;


More information about the svn-src-all mailing list