Merge pull request #1118 from SummerGGift/optimize_nfs_kconfig
[nfs]: optimize Kconfig file for nfs
This commit is contained in:
commit
fd234eafdc
|
@ -13,14 +13,17 @@ if RT_USING_DFS
|
||||||
|
|
||||||
config DFS_FILESYSTEMS_MAX
|
config DFS_FILESYSTEMS_MAX
|
||||||
int "The maximal number of mounted file system"
|
int "The maximal number of mounted file system"
|
||||||
|
default 4 if RT_USING_DFS_NFS
|
||||||
default 2
|
default 2
|
||||||
|
|
||||||
config DFS_FILESYSTEM_TYPES_MAX
|
config DFS_FILESYSTEM_TYPES_MAX
|
||||||
int "The maximal number of file system type"
|
int "The maximal number of file system type"
|
||||||
|
default 4 if RT_USING_DFS_NFS
|
||||||
default 2
|
default 2
|
||||||
|
|
||||||
config DFS_FD_MAX
|
config DFS_FD_MAX
|
||||||
int "The maximal number of opened files"
|
int "The maximal number of opened files"
|
||||||
|
default 16 if RT_USING_DFS_NFS
|
||||||
default 4
|
default 4
|
||||||
|
|
||||||
config RT_USING_DFS_ELMFAT
|
config RT_USING_DFS_ELMFAT
|
||||||
|
@ -156,7 +159,7 @@ if RT_USING_DFS
|
||||||
|
|
||||||
config RT_USING_DFS_NFS
|
config RT_USING_DFS_NFS
|
||||||
bool "Using NFS v3 client file system"
|
bool "Using NFS v3 client file system"
|
||||||
depends on RT_USING_LWIP
|
select RT_USING_LWIP
|
||||||
default n
|
default n
|
||||||
|
|
||||||
if RT_USING_DFS_NFS
|
if RT_USING_DFS_NFS
|
||||||
|
|
|
@ -111,6 +111,7 @@ config RT_USING_LWIP
|
||||||
|
|
||||||
config RT_LWIP_UDP_PCB_NUM
|
config RT_LWIP_UDP_PCB_NUM
|
||||||
int "the number of UDP socket"
|
int "the number of UDP socket"
|
||||||
|
default 8 if RT_USING_DFS_NFS
|
||||||
default 4
|
default 4
|
||||||
|
|
||||||
if RT_LWIP_TCP
|
if RT_LWIP_TCP
|
||||||
|
|
Loading…
Reference in New Issue