diff options
author | raj <raj@FreeBSD.org> | 2008-02-11 12:30:32 +0000 |
---|---|---|
committer | raj <raj@FreeBSD.org> | 2008-02-11 12:30:32 +0000 |
commit | 32549763d8cee2bafcee43cf998f822289ce9669 (patch) | |
tree | 28526e8c7b706039e54f73fee32d491607fc6aec | |
parent | d99c83ecb1358c9a593e562b7ce9e1a840583e5f (diff) | |
download | FreeBSD-src-32549763d8cee2bafcee43cf998f822289ce9669.zip FreeBSD-src-32549763d8cee2bafcee43cf998f822289ce9669.tar.gz |
Clean up PowerPC loader(8) build config.
Turn off TFTP support by default: when both TFTP and NFS are enabled in the
loader, strange interactions occur in the pure netbooting scenario (i.e.
loader is TFTP-ed, kernel+world mounted over NFS), leading to very slow access
to the NFS-exported files.
Reviewed by: grehan
Approved by: cognet (mentor)
-rw-r--r-- | sys/boot/powerpc/ofw/Makefile | 2 | ||||
-rw-r--r-- | sys/boot/powerpc/ofw/conf.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/powerpc/ofw/Makefile b/sys/boot/powerpc/ofw/Makefile index 5d973e4..49015ca 100644 --- a/sys/boot/powerpc/ofw/Makefile +++ b/sys/boot/powerpc/ofw/Makefile @@ -16,7 +16,7 @@ LOADER_CD9660_SUPPORT?= yes LOADER_EXT2FS_SUPPORT?= no LOADER_NET_SUPPORT?= yes LOADER_NFS_SUPPORT?= yes -LOADER_TFTP_SUPPORT?= yes +LOADER_TFTP_SUPPORT?= no LOADER_GZIP_SUPPORT?= yes LOADER_BZIP2_SUPPORT?= no diff --git a/sys/boot/powerpc/ofw/conf.c b/sys/boot/powerpc/ofw/conf.c index 8bfc72d..4ab3e23 100644 --- a/sys/boot/powerpc/ofw/conf.c +++ b/sys/boot/powerpc/ofw/conf.c @@ -66,7 +66,7 @@ struct fs_ops *file_system[] = { #if defined(LOADER_EXT2FS_SUPPORT) &ext2fs_fsops, #endif -#if defined(LOADER_NET_SUPPORT) +#if defined(LOADER_NFS_SUPPORT) &nfs_fsops, #endif #if defined(LOADER_TFTP_SUPPORT) |