From 2e2413619734abddf87a4233c5830e39e71dc7b7 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 6 Dec 2010 09:11:02 +0100 Subject: [PATCH] bcm_sta: add patch to rename device from eth* to wlan* Signed-off-by: Stephan Raue --- ..._sta-5.60.246.6-02_rename_device-0.1.patch | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 packages/linux-drivers/bcm_sta/patches/bcm_sta-5.60.246.6-02_rename_device-0.1.patch diff --git a/packages/linux-drivers/bcm_sta/patches/bcm_sta-5.60.246.6-02_rename_device-0.1.patch b/packages/linux-drivers/bcm_sta/patches/bcm_sta-5.60.246.6-02_rename_device-0.1.patch new file mode 100644 index 0000000000..f638abccc2 --- /dev/null +++ b/packages/linux-drivers/bcm_sta/patches/bcm_sta-5.60.246.6-02_rename_device-0.1.patch @@ -0,0 +1,24 @@ +diff -Naur bcm_sta-5.60.246.6/x86-32/src/wl/sys/wl_linux.c bcm_sta-5.60.246.6.patch/x86-32/src/wl/sys/wl_linux.c +--- bcm_sta-5.60.246.6/x86-32/src/wl/sys/wl_linux.c 2010-10-22 04:18:57.000000000 +0200 ++++ bcm_sta-5.60.246.6.patch/x86-32/src/wl/sys/wl_linux.c 2010-12-02 05:17:28.037326623 +0100 +@@ -187,7 +187,7 @@ + static int nompc = 0; + module_param(nompc, int, 0); + +-static char name[IFNAMSIZ] = "eth%d"; ++static char name[IFNAMSIZ] = "wlan%d"; + module_param_string(name, name, IFNAMSIZ, 0); + + #ifndef SRCBASE +diff -Naur bcm_sta-5.60.246.6/x86-64/src/wl/sys/wl_linux.c bcm_sta-5.60.246.6.patch/x86-64/src/wl/sys/wl_linux.c +--- bcm_sta-5.60.246.6/x86-64/src/wl/sys/wl_linux.c 2010-10-22 04:23:55.000000000 +0200 ++++ bcm_sta-5.60.246.6.patch/x86-64/src/wl/sys/wl_linux.c 2010-12-02 05:17:42.554495917 +0100 +@@ -187,7 +187,7 @@ + static int nompc = 0; + module_param(nompc, int, 0); + +-static char name[IFNAMSIZ] = "eth%d"; ++static char name[IFNAMSIZ] = "wlan%d"; + module_param_string(name, name, IFNAMSIZ, 0); + + #ifndef SRCBASE