diff options
Diffstat (limited to 'usr/src/boot/efi/loader/conf.c')
| -rw-r--r-- | usr/src/boot/efi/loader/conf.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usr/src/boot/efi/loader/conf.c b/usr/src/boot/efi/loader/conf.c index d29cbca573..e493d7cb03 100644 --- a/usr/src/boot/efi/loader/conf.c +++ b/usr/src/boot/efi/loader/conf.c @@ -24,6 +24,10 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +/* + * Copyright (c) 2019, Joyent, Inc. + */ + #include <sys/cdefs.h> #include <stand.h> @@ -38,7 +42,9 @@ struct devsw *devsw[] = { &efipart_fddev, &efipart_cddev, &efipart_hddev, +#ifndef LOADER_DISABLE_SNP &efinet_dev, +#endif &vdisk_dev, &zfs_dev, NULL @@ -60,7 +66,9 @@ struct fs_ops *file_system[] = { }; struct netif_driver *netif_drivers[] = { +#ifndef LOADER_DISABLE_SNP &efinetif, +#endif NULL }; |
