stand: For all disk drivers, connect dv_parsedev to disk_parsedev

Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D37339
This commit is contained in:
Warner Losh 2022-11-30 15:08:51 -07:00
parent ca0654bad6
commit 8337ab69ba
9 changed files with 9 additions and 0 deletions

View File

@ -76,6 +76,7 @@ struct devsw md_dev = {
.dv_print = md_print,
.dv_cleanup = nullsys,
.dv_fmtdev = disk_fmtdev,
.dv_parsedev = disk_parsedev,
};
static int

View File

@ -54,6 +54,7 @@ struct devsw vdisk_dev = {
.dv_print = vdisk_print,
.dv_cleanup = nullsys,
.dv_fmtdev = disk_fmtdev,
.dv_parsedev = disk_parsedev,
};
typedef STAILQ_HEAD(vdisk_info_list, vdisk_info) vdisk_info_list_t;

View File

@ -104,6 +104,7 @@ struct devsw efipart_hddev = {
.dv_print = efipart_printhd,
.dv_cleanup = nullsys,
.dv_fmtdev = disk_fmtdev,
.dv_parsedev = disk_parsedev,
};
static pdinfo_list_t fdinfo = STAILQ_HEAD_INITIALIZER(fdinfo);

View File

@ -191,6 +191,7 @@ struct devsw bioshd = {
.dv_print = bd_print,
.dv_cleanup = nullsys,
.dv_fmtdev = disk_fmtdev,
.dv_parsedev = disk_parsedev,
};
static bdinfo_list_t *

View File

@ -61,6 +61,7 @@ struct devsw ofwdisk = {
.dv_print = ofwd_print,
.dv_cleanup = nullsys,
.dv_fmtdev = disk_fmtdev,
.dv_parsedev = disk_parsedev,
};
/*

View File

@ -63,6 +63,7 @@ static struct devsw geli_devsw = {
.dv_print = geli_dev_print,
.dv_cleanup = geli_dev_cleanup,
.dv_fmtdev = disk_fmtdev,
.dv_parsedev = disk_parsedev,
};
/*

View File

@ -91,6 +91,7 @@ struct devsw uboot_storage = {
.dv_print = stor_print,
.dv_cleanup = stor_cleanup,
.dv_fmtdev = disk_fmtdev,
.dv_parsedev = disk_parsedev,
};
static int

View File

@ -62,6 +62,7 @@ struct devsw umass_disk = {
.dv_print = umass_disk_print,
.dv_cleanup = umass_disk_cleanup,
.dv_fmtdev = disk_fmtdev,
.dv_parsedev = disk_parsedev,
};
static int

View File

@ -73,6 +73,7 @@ struct devsw userboot_disk = {
.dv_print = userdisk_print,
.dv_cleanup = userdisk_cleanup,
.dv_fmtdev = disk_fmtdev,
.dv_parsedev = disk_parsedev,
};
/*