From a215eaba8bbaa6a444ebea9365b95863c6603d35 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 20 Aug 2012 13:07:23 +0200 Subject: [PATCH] remove driver 'bcm_sta' Signed-off-by: Stephan Raue --- packages/linux-drivers/bcm_sta/build | 30 -------------- packages/linux-drivers/bcm_sta/install | 33 ---------------- packages/linux-drivers/bcm_sta/meta | 39 ------------------- packages/linux-drivers/bcm_sta/need_unpack | 32 --------------- ...a-5.100.82.112-010_remove_sysioc_sem.patch | 22 ----------- ...ta-5.100.82.112-02_rename_device-0.1.patch | 26 ------------- .../bcm_sta-5.100.82.112-05-linux-3.2.patch | 24 ------------ 7 files changed, 206 deletions(-) delete mode 100755 packages/linux-drivers/bcm_sta/build delete mode 100755 packages/linux-drivers/bcm_sta/install delete mode 100644 packages/linux-drivers/bcm_sta/meta delete mode 100755 packages/linux-drivers/bcm_sta/need_unpack delete mode 100644 packages/linux-drivers/bcm_sta/patches/bcm_sta-5.100.82.112-010_remove_sysioc_sem.patch delete mode 100644 packages/linux-drivers/bcm_sta/patches/bcm_sta-5.100.82.112-02_rename_device-0.1.patch delete mode 100644 packages/linux-drivers/bcm_sta/patches/bcm_sta-5.100.82.112-05-linux-3.2.patch diff --git a/packages/linux-drivers/bcm_sta/build b/packages/linux-drivers/bcm_sta/build deleted file mode 100755 index 1caf662499..0000000000 --- a/packages/linux-drivers/bcm_sta/build +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - -cd $PKG_BUILD - -[ "$TARGET_ARCH" = "i386" ] && cd x86-32 -[ "$TARGET_ARCH" = "x86_64" ] && cd x86-64 - -LDFLAGS="" KBUILD_NOPEDANTIC=1 make V=1 CC=$CC -C $(kernel_path) M=`pwd` diff --git a/packages/linux-drivers/bcm_sta/install b/packages/linux-drivers/bcm_sta/install deleted file mode 100755 index c7a21304d2..0000000000 --- a/packages/linux-drivers/bcm_sta/install +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - -VER=`ls $BUILD/linux*/modules/lib/modules` - -mkdir -p $INSTALL/lib/modules/$VER/bcm_sta - if [ "$TARGET_ARCH" = "i386" ]; then - cp $PKG_BUILD/x86-32/wl.ko $INSTALL/lib/modules/$VER/bcm_sta - fi - if [ "$TARGET_ARCH" = "x86_64" ]; then - cp $PKG_BUILD/x86-64/wl.ko $INSTALL/lib/modules/$VER/bcm_sta - fi diff --git a/packages/linux-drivers/bcm_sta/meta b/packages/linux-drivers/bcm_sta/meta deleted file mode 100644 index 763ab141f6..0000000000 --- a/packages/linux-drivers/bcm_sta/meta +++ /dev/null @@ -1,39 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -PKG_NAME="bcm_sta" -PKG_VERSION="5.100.82.112" -PKG_REV="1" -PKG_ARCH="i386 x86_64" -PKG_LICENSE="nonfree" -PKG_SITE="http://www.broadcom.com/" -PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" -PKG_DEPENDS="" -PKG_BUILD_DEPENDS="toolchain linux" -PKG_PRIORITY="optional" -PKG_SECTION="driver" -PKG_SHORTDESC="bcm_sta: Broadcom's BCM4311-, BCM4312-, BCM4313-, BCM4321-, BCM4322-, BCM43224-, and BCM43225-based WLAN driver" -PKG_LONGDESC="These packages contain Broadcom's IEEE 802.11a/b/g/n hybrid Linux® device driver for use with Broadcom's BCM4311-, BCM4312-, BCM4313-, BCM4321-, BCM4322-, BCM43224-, and BCM43225-based hardware. There are different tars for 32-bit and 64-bit x86 CPU architectures. Make sure that you download the appropriate tar because the hybrid binary file must be of the appropriate architecture type. The hybrid binary file is agnostic to the specific version of the Linux kernel because it is designed to perform all interactions with the operating system through operating-system-specific files and an operating system abstraction layer file. All Linux operating-system-specific code is provided in source form, making it possible to retarget to different kernel versions and fix operating system related issues." -PKG_IS_ADDON="no" - -PKG_AUTORECONF="no" - -# Downloadlocation: -# http://www.broadcom.com/support/802.11/linux_sta.php \ No newline at end of file diff --git a/packages/linux-drivers/bcm_sta/need_unpack b/packages/linux-drivers/bcm_sta/need_unpack deleted file mode 100755 index ed70b61127..0000000000 --- a/packages/linux-drivers/bcm_sta/need_unpack +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - -STAMP=$STAMPS/$1/unpack - -test $PKG_DIR/config/linux.$TARGET_ARCH.conf -nt $STAMP -o \ - $PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf -nt $STAMP -o \ - $PKG_DIR/url -nt $STAMP -o \ - $PKG_DIR/meta -nt $STAMP && rm -f $STAMP - -exit 0 diff --git a/packages/linux-drivers/bcm_sta/patches/bcm_sta-5.100.82.112-010_remove_sysioc_sem.patch b/packages/linux-drivers/bcm_sta/patches/bcm_sta-5.100.82.112-010_remove_sysioc_sem.patch deleted file mode 100644 index bcb7c9ca9f..0000000000 --- a/packages/linux-drivers/bcm_sta/patches/bcm_sta-5.100.82.112-010_remove_sysioc_sem.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -Naur bcm_sta-5.60.246.6/x86-32/src/wl/sys/wl_iw.h bcm_sta-5.60.246.6.patch/x86-32/src/wl/sys/wl_iw.h ---- bcm_sta-5.60.246.6/x86-32/src/wl/sys/wl_iw.h 2010-10-22 04:18:57.000000000 +0200 -+++ bcm_sta-5.60.246.6.patch/x86-32/src/wl/sys/wl_iw.h 2010-11-29 08:30:58.911543674 +0100 -@@ -62,7 +62,6 @@ - struct timer_list *timer; - struct net_device *dev; - long sysioc_pid; -- struct semaphore sysioc_sem; - struct completion sysioc_exited; - }; - -diff -Naur bcm_sta-5.60.246.6/x86-64/src/wl/sys/wl_iw.h bcm_sta-5.60.246.6.patch/x86-64/src/wl/sys/wl_iw.h ---- bcm_sta-5.60.246.6/x86-64/src/wl/sys/wl_iw.h 2010-10-22 04:23:55.000000000 +0200 -+++ bcm_sta-5.60.246.6.patch/x86-64/src/wl/sys/wl_iw.h 2010-11-29 08:31:15.542760506 +0100 -@@ -62,7 +62,6 @@ - struct timer_list *timer; - struct net_device *dev; - long sysioc_pid; -- struct semaphore sysioc_sem; - struct completion sysioc_exited; - }; - diff --git a/packages/linux-drivers/bcm_sta/patches/bcm_sta-5.100.82.112-02_rename_device-0.1.patch b/packages/linux-drivers/bcm_sta/patches/bcm_sta-5.100.82.112-02_rename_device-0.1.patch deleted file mode 100644 index 36d3d27288..0000000000 --- a/packages/linux-drivers/bcm_sta/patches/bcm_sta-5.100.82.112-02_rename_device-0.1.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -Naur bcm_sta-5.100.82.38/x86-32/src/wl/sys/wl_linux.c bcm_sta-5.100.82.38.patch/x86-32/src/wl/sys/wl_linux.c ---- bcm_sta-5.100.82.38/x86-32/src/wl/sys/wl_linux.c 2010-12-15 02:58:07.000000000 +0100 -+++ bcm_sta-5.100.82.38.patch/x86-32/src/wl/sys/wl_linux.c 2010-12-27 22:14:38.679428984 +0100 -@@ -251,7 +251,7 @@ - #define quote_str(s) to_str(s) - - #ifndef BRCM_WLAN_IFNAME --#define BRCM_WLAN_IFNAME eth%d -+#define BRCM_WLAN_IFNAME wlan%d - #endif - - static char name[IFNAMSIZ] = quote_str(BRCM_WLAN_IFNAME); -diff -Naur bcm_sta-5.100.82.38/x86-32/src/wl/sys/wl_linux.c.orig bcm_sta-5.100.82.38.patch/x86-32/src/wl/sys/wl_linux.c.orig -diff -Naur bcm_sta-5.100.82.38/x86-64/src/wl/sys/wl_linux.c bcm_sta-5.100.82.38.patch/x86-64/src/wl/sys/wl_linux.c ---- bcm_sta-5.100.82.38/x86-64/src/wl/sys/wl_linux.c 2010-12-15 03:01:09.000000000 +0100 -+++ bcm_sta-5.100.82.38.patch/x86-64/src/wl/sys/wl_linux.c 2010-12-27 22:15:18.273865927 +0100 -@@ -251,7 +251,7 @@ - #define quote_str(s) to_str(s) - - #ifndef BRCM_WLAN_IFNAME --#define BRCM_WLAN_IFNAME eth%d -+#define BRCM_WLAN_IFNAME wlan%d - #endif - - static char name[IFNAMSIZ] = quote_str(BRCM_WLAN_IFNAME); -diff -Naur bcm_sta-5.100.82.38/x86-64/src/wl/sys/wl_linux.c.orig bcm_sta-5.100.82.38.patch/x86-64/src/wl/sys/wl_linux.c.orig diff --git a/packages/linux-drivers/bcm_sta/patches/bcm_sta-5.100.82.112-05-linux-3.2.patch b/packages/linux-drivers/bcm_sta/patches/bcm_sta-5.100.82.112-05-linux-3.2.patch deleted file mode 100644 index bfabfe07d7..0000000000 --- a/packages/linux-drivers/bcm_sta/patches/bcm_sta-5.100.82.112-05-linux-3.2.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Naur bcm_sta-5.100.82.112/x86-32/src/wl/sys/wl_linux.c bcm_sta-5.100.82.112.patch/x86-32/src/wl/sys/wl_linux.c ---- bcm_sta-5.100.82.112/x86-32/src/wl/sys/wl_linux.c 2011-10-22 18:55:54.000000000 +0200 -+++ bcm_sta-5.100.82.112.patch/x86-32/src/wl/sys/wl_linux.c 2011-12-21 16:54:17.752384441 +0100 -@@ -385,7 +385,7 @@ - #endif - .ndo_get_stats = wl_get_stats, - .ndo_set_mac_address = wl_set_mac_address, -- .ndo_set_multicast_list = wl_set_multicast_list, -+ .ndo_set_rx_mode = wl_set_multicast_list, - .ndo_do_ioctl = wl_ioctl - }; - -diff -Naur bcm_sta-5.100.82.112/x86-64/src/wl/sys/wl_linux.c bcm_sta-5.100.82.112.patch/x86-64/src/wl/sys/wl_linux.c ---- bcm_sta-5.100.82.112/x86-64/src/wl/sys/wl_linux.c 2011-10-22 18:56:55.000000000 +0200 -+++ bcm_sta-5.100.82.112.patch/x86-64/src/wl/sys/wl_linux.c 2011-12-21 16:54:32.486670945 +0100 -@@ -385,7 +385,7 @@ - #endif - .ndo_get_stats = wl_get_stats, - .ndo_set_mac_address = wl_set_mac_address, -- .ndo_set_multicast_list = wl_set_multicast_list, -+ .ndo_set_rx_mode = wl_set_multicast_list, - .ndo_do_ioctl = wl_ioctl - }; -