git: 8337ab69ba8e - main - stand: For all disk drivers, connect dv_parsedev to disk_parsedev

From: Warner Losh <imp_at_FreeBSD.org>
Date: Wed, 30 Nov 2022 22:31:15 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=8337ab69ba8e065e5cfde8f09859ec1d0d47e892

commit 8337ab69ba8e065e5cfde8f09859ec1d0d47e892
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-11-30 22:08:51 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-11-30 22:30:32 +0000

    stand: For all disk drivers, connect dv_parsedev to disk_parsedev
    
    Sponsored by:           Netflix
    Differential Revision:  https://reviews.freebsd.org/D37339
---
 stand/common/md.c                       | 1 +
 stand/common/vdisk.c                    | 1 +
 stand/efi/libefi/efipart.c              | 1 +
 stand/i386/libi386/biosdisk.c           | 1 +
 stand/libofw/ofw_disk.c                 | 1 +
 stand/libsa/geli/gelidev.c              | 1 +
 stand/uboot/uboot_disk.c                | 1 +
 stand/usb/storage/umass_loader.c        | 1 +
 stand/userboot/userboot/userboot_disk.c | 1 +
 9 files changed, 9 insertions(+)

diff --git a/stand/common/md.c b/stand/common/md.c
index 9f95d3cdfd2d..a3243beb17dd 100644
--- a/stand/common/md.c
+++ b/stand/common/md.c
@@ -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
diff --git a/stand/common/vdisk.c b/stand/common/vdisk.c
index c4220787b1ac..5c08a524b4d3 100644
--- a/stand/common/vdisk.c
+++ b/stand/common/vdisk.c
@@ -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;
diff --git a/stand/efi/libefi/efipart.c b/stand/efi/libefi/efipart.c
index 88587192a1b7..9a4d2b22ed20 100644
--- a/stand/efi/libefi/efipart.c
+++ b/stand/efi/libefi/efipart.c
@@ -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);
diff --git a/stand/i386/libi386/biosdisk.c b/stand/i386/libi386/biosdisk.c
index bc819d8e312e..87c8c47844b0 100644
--- a/stand/i386/libi386/biosdisk.c
+++ b/stand/i386/libi386/biosdisk.c
@@ -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 *
diff --git a/stand/libofw/ofw_disk.c b/stand/libofw/ofw_disk.c
index 5585b463c737..524bc7b77d5c 100644
--- a/stand/libofw/ofw_disk.c
+++ b/stand/libofw/ofw_disk.c
@@ -61,6 +61,7 @@ struct devsw ofwdisk = {
 	.dv_print = ofwd_print,
 	.dv_cleanup = nullsys,
 	.dv_fmtdev = disk_fmtdev,
+	.dv_parsedev = disk_parsedev,
 };
 
 /*
diff --git a/stand/libsa/geli/gelidev.c b/stand/libsa/geli/gelidev.c
index 23ded496c23d..3e256c290739 100644
--- a/stand/libsa/geli/gelidev.c
+++ b/stand/libsa/geli/gelidev.c
@@ -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,
 };
 
 /*
diff --git a/stand/uboot/uboot_disk.c b/stand/uboot/uboot_disk.c
index 2a41d1181992..63a7a68e8c1b 100644
--- a/stand/uboot/uboot_disk.c
+++ b/stand/uboot/uboot_disk.c
@@ -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
diff --git a/stand/usb/storage/umass_loader.c b/stand/usb/storage/umass_loader.c
index cc1f6b68e275..647d8a58b534 100644
--- a/stand/usb/storage/umass_loader.c
+++ b/stand/usb/storage/umass_loader.c
@@ -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
diff --git a/stand/userboot/userboot/userboot_disk.c b/stand/userboot/userboot/userboot_disk.c
index d5b0f36e5e50..7af31a158ed2 100644
--- a/stand/userboot/userboot/userboot_disk.c
+++ b/stand/userboot/userboot/userboot_disk.c
@@ -73,6 +73,7 @@ struct devsw userboot_disk = {
 	.dv_print = userdisk_print,
 	.dv_cleanup = userdisk_cleanup,
 	.dv_fmtdev = disk_fmtdev,
+	.dv_parsedev = disk_parsedev,
 };
 
 /*