From: Felix Fietkau Date: Mon, 21 Mar 2005 19:46:56 +0000 (+0000) Subject: add cifs, disable smbfs X-Git-Tag: reboot~33298 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=60935d135baf0bc88684d7d1d347d1e097a1b062;p=openwrt%2Fstaging%2Fjogo.git add cifs, disable smbfs SVN-Revision: 413 --- diff --git a/openwrt/package/linux/Config.in b/openwrt/package/linux/Config.in index 3a77a42f58..1275b216c2 100644 --- a/openwrt/package/linux/Config.in +++ b/openwrt/package/linux/Config.in @@ -36,11 +36,11 @@ config BR2_PACKAGE_KMOD_NFS Kernel modules for NFS support Includes lockd, nfs and sunrpc -config BR2_PACKAGE_KMOD_SMBFS - tristate "SMB support" +config BR2_PACKAGE_KMOD_CIFS + tristate "CIFS support" default m help - Kernel modules for SMB support + Kernel modules for CIFS support config BR2_PACKAGE_KMOD_USB tristate "USB/SCSI support" diff --git a/openwrt/package/linux/Makefile b/openwrt/package/linux/Makefile index 5c74d39eb2..73f82148f7 100644 --- a/openwrt/package/linux/Makefile +++ b/openwrt/package/linux/Makefile @@ -53,9 +53,9 @@ $(eval $(call KMOD_template,IPT6,ip6tables,\ $(eval $(call KMOD_template,IPV6,ipv6,\ $(MODULES_DIR)/kernel/net/ipv6/ipv6.o \ ,CONFIG_IPV6)) -$(eval $(call KMOD_template,SMBFS,smbfs,\ - $(MODULES_DIR)/kernel/fs/smbfs/smbfs.o \ -,CONFIG_SMB_FS)) +$(eval $(call KMOD_template,CIFS,cifs,\ + $(MODULES_DIR)/kernel/fs/cifs/cifs.o \ +,CONFIG_CIFS)) $(eval $(call KMOD_template,NFS,nfs,\ $(MODULES_DIR)/kernel/fs/lockd/*.o \ $(MODULES_DIR)/kernel/fs/nfs/*.o \ diff --git a/openwrt/package/linux/control/kmod-cifs.control b/openwrt/package/linux/control/kmod-cifs.control new file mode 100644 index 0000000000..a70063df62 --- /dev/null +++ b/openwrt/package/linux/control/kmod-cifs.control @@ -0,0 +1,8 @@ +Package: kmod-cifs +Priority: optional +Section: sys +Version: 2.4.29-1 +Architecture: mipsel +Maintainer: Felix Fietkau +Source: buildroot internal +Description: Kernel modules for CIFS support diff --git a/openwrt/package/linux/control/kmod-smbfs.control b/openwrt/package/linux/control/kmod-smbfs.control deleted file mode 100644 index cf8b46e8e7..0000000000 --- a/openwrt/package/linux/control/kmod-smbfs.control +++ /dev/null @@ -1,8 +0,0 @@ -Package: kmod-smbfs -Priority: optional -Section: sys -Version: 2.4.29-1 -Architecture: mipsel -Maintainer: Felix Fietkau -Source: buildroot internal -Description: Kernel modules for SMB support diff --git a/openwrt/package/linux/kernel-patches/305-cifs-1.20c.bz2 b/openwrt/package/linux/kernel-patches/305-cifs-1.20c.bz2 new file mode 100644 index 0000000000..41d835a22d Binary files /dev/null and b/openwrt/package/linux/kernel-patches/305-cifs-1.20c.bz2 differ diff --git a/openwrt/package/linux/linux.config b/openwrt/package/linux/linux.config index 31900bb6e9..34cc65efee 100644 --- a/openwrt/package/linux/linux.config +++ b/openwrt/package/linux/linux.config @@ -891,9 +891,10 @@ CONFIG_NFS_V3=y CONFIG_SUNRPC=m CONFIG_LOCKD=m CONFIG_LOCKD_V4=y -CONFIG_SMB_FS=m -# CONFIG_SMB_NLS_DEFAULT is not set -# CONFIG_SMB_UNIX is not set +CONFIG_CIFS=m +# CONFIG_CIFS_STATS is not set +CONFIG_CIFS_POSIX=y +# CONFIG_SMB_FS is not set # CONFIG_NCP_FS is not set # CONFIG_NCPFS_PACKET_SIGNING is not set # CONFIG_NCPFS_IOCTL_LOCKING is not set @@ -924,7 +925,7 @@ CONFIG_MSDOS_PARTITION=y # CONFIG_ULTRIX_PARTITION is not set # CONFIG_SUN_PARTITION is not set # CONFIG_EFI_PARTITION is not set -CONFIG_SMB_NLS=y +# CONFIG_SMB_NLS is not set CONFIG_NLS=y # diff --git a/openwrt/package/linux/linux.mk b/openwrt/package/linux/linux.mk index 322adadc38..02cc3bb8ae 100644 --- a/openwrt/package/linux/linux.mk +++ b/openwrt/package/linux/linux.mk @@ -112,4 +112,6 @@ linux-dirclean: rm -rf $(LINUX_DIR)-$(LINUX_VERSION) rm -rf $(LINUX_DIR) rm -rf $(BUILD_DIR)/modules + rm -rf $(BUILD_DIR)/wl + rm -rf $(BUILD_DIR)/et