From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Mon, 21 Mar 2005 19:46:56 +0000 (+0000)
Subject: add cifs, disable smbfs
X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/39b22d0136634f2e0e085fcef4f99432d7e0914c

add cifs, disable smbfs


git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@413 3c298f89-4303-0410-b956-a3cf2f4a3e73
---

diff --git a/package/linux/Config.in b/package/linux/Config.in
index 3a77a42f5..1275b216c 100644
--- a/package/linux/Config.in
+++ b/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/package/linux/Makefile b/package/linux/Makefile
index 5c74d39eb..73f82148f 100644
--- a/package/linux/Makefile
+++ b/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/package/linux/control/kmod-cifs.control b/package/linux/control/kmod-cifs.control
new file mode 100644
index 000000000..a70063df6
--- /dev/null
+++ b/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 <nbd@vd-s.ath.cx>
+Source: buildroot internal
+Description: Kernel modules for CIFS support
diff --git a/package/linux/control/kmod-smbfs.control b/package/linux/control/kmod-smbfs.control
deleted file mode 100644
index cf8b46e8e..000000000
--- a/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 <nbd@vd-s.ath.cx>
-Source: buildroot internal
-Description: Kernel modules for SMB support
diff --git a/package/linux/kernel-patches/305-cifs-1.20c.bz2 b/package/linux/kernel-patches/305-cifs-1.20c.bz2
new file mode 100644
index 000000000..41d835a22
Binary files /dev/null and b/package/linux/kernel-patches/305-cifs-1.20c.bz2 differ
diff --git a/package/linux/linux.config b/package/linux/linux.config
index 31900bb6e..34cc65efe 100644
--- a/package/linux/linux.config
+++ b/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/package/linux/linux.mk b/package/linux/linux.mk
index 322adadc3..02cc3bb8a 100644
--- a/package/linux/linux.mk
+++ b/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