aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@FreeBSD.org>2022-06-09 06:56:19 +0000
committerToomas Soome <tsoome@FreeBSD.org>2022-06-19 18:29:49 +0000
commite368fb6eb6eb3041fa9f4c608377ddf90d33f11e (patch)
tree1e6003c3824d1504c8d4184d6df64818272b2bf1
parenta8380d272ae791e5de1bc56c761d15ba9b00899f (diff)
downloadsrc-e368fb6eb6eb3041fa9f4c608377ddf90d33f11e.tar.gz
src-e368fb6eb6eb3041fa9f4c608377ddf90d33f11e.zip
userboot is missing vdisk_dev
Add vdisk device support in userboot configuration. MFC after: 1 week
-rw-r--r--stand/userboot/userboot/conf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/stand/userboot/userboot/conf.c b/stand/userboot/userboot/conf.c
index 3762be5332ec..066c2aa87492 100644
--- a/stand/userboot/userboot/conf.c
+++ b/stand/userboot/userboot/conf.c
@@ -42,6 +42,8 @@ __FBSDID("$FreeBSD$");
#include "libzfs.h"
#endif
+extern struct devsw vdisk_dev;
+
/*
* We could use linker sets for some or all of these, but
* then we would have to control what ended up linked into
@@ -55,6 +57,7 @@ __FBSDID("$FreeBSD$");
struct devsw *devsw[] = {
&host_dev,
&userboot_disk,
+ &vdisk_dev,
#if defined(USERBOOT_ZFS_SUPPORT)
&zfs_dev,
#endif