git: 96b1e04a747f - main - loader: Add md support

From: Warner Losh <imp_at_FreeBSD.org>
Date: Fri, 11 Sep 2026 05:04:21 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=96b1e04a747fef17cb660f62ca7cf6d0e365549c

commit 96b1e04a747fef17cb660f62ca7cf6d0e365549c
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2026-09-11 04:13:24 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2026-09-11 04:15:27 +0000

    loader: Add md support
    
    Allow md devices like efi allows them.
    
    Sponsored by:           Netflix
    Differential Revision:  https://reviews.freebsd.org/D59420
---
 stand/i386/loader/conf.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/stand/i386/loader/conf.c b/stand/i386/loader/conf.c
index 3360c2722035..ea039e83d27a 100644
--- a/stand/i386/loader/conf.c
+++ b/stand/i386/loader/conf.c
@@ -53,6 +53,9 @@ struct devsw *devsw[] = {
     &pxedisk,
 #endif
     &vdisk_dev,
+#if defined(LOADER_MD_SUPPORT)
+    &md_dev,
+#endif
 #if defined(LOADER_ZFS_SUPPORT)
     &zfs_dev,
 #endif