aboutsummaryrefslogtreecommitdiff
path: root/stand/powerpc
diff options
context:
space:
mode:
authorLeandro Lupori <luporl@FreeBSD.org>2020-04-07 19:46:00 +0000
committerLeandro Lupori <luporl@FreeBSD.org>2020-04-07 19:46:00 +0000
commit0660bb6fa573c61dc7de2b5a6ee202e8b3f007aa (patch)
tree07dbddeca7ce432bcce005eddc436b491c99a25b /stand/powerpc
parent33ae1ff7230bc4244fe56918f6400933bace7ce9 (diff)
downloadsrc-0660bb6fa573c61dc7de2b5a6ee202e8b3f007aa.tar.gz
src-0660bb6fa573c61dc7de2b5a6ee202e8b3f007aa.zip
Add support to MSDOS FS in PPC loader
Although PPC OFW loader already had a LOADER_MSDOS_SUPPORT option, a few lines were missing in conf.c, in order to support FAT filesystems. This is useful when running FreeBSD under QEMU, to be able to easily change the kernel and modules when running on hosts without UFS read/write support. Reviewed by: jhibbits Sponsored by: Eldorado Research Institute (eldorado.org.br) Differential Revision: https://reviews.freebsd.org/D24328
Notes
Notes: svn path=/head/; revision=359716
Diffstat (limited to 'stand/powerpc')
-rw-r--r--stand/powerpc/ofw/conf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/stand/powerpc/ofw/conf.c b/stand/powerpc/ofw/conf.c
index f26dd2c56c27..a7ac892e71fc 100644
--- a/stand/powerpc/ofw/conf.c
+++ b/stand/powerpc/ofw/conf.c
@@ -69,6 +69,9 @@ struct fs_ops *file_system[] = {
#if defined(LOADER_EXT2FS_SUPPORT)
&ext2fs_fsops,
#endif
+#if defined(LOADER_MSDOS_SUPPORT)
+ &dosfs_fsops,
+#endif
#if defined(LOADER_NFS_SUPPORT)
&nfs_fsops,
#endif