1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

Make struct libi386_devdesc match the struct devdesc better

Move data to top and call it d_opendata.
This commit is contained in:
Warner Losh 2018-03-12 21:39:42 +00:00
parent 49898aa2ff
commit f264386b32
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=330808

View File

@ -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;