userboot is missing vdisk_dev
Add vdisk device support in userboot configuration. MFC after: 1 week
This commit is contained in:
parent
a8380d272a
commit
e368fb6eb6
@ -42,6 +42,8 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include "libzfs.h"
|
#include "libzfs.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern struct devsw vdisk_dev;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We could use linker sets for some or all of these, but
|
* We could use linker sets for some or all of these, but
|
||||||
* then we would have to control what ended up linked into
|
* then we would have to control what ended up linked into
|
||||||
@ -55,6 +57,7 @@ __FBSDID("$FreeBSD$");
|
|||||||
struct devsw *devsw[] = {
|
struct devsw *devsw[] = {
|
||||||
&host_dev,
|
&host_dev,
|
||||||
&userboot_disk,
|
&userboot_disk,
|
||||||
|
&vdisk_dev,
|
||||||
#if defined(USERBOOT_ZFS_SUPPORT)
|
#if defined(USERBOOT_ZFS_SUPPORT)
|
||||||
&zfs_dev,
|
&zfs_dev,
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user