From 7b67442e2232a661258ca1bd2f3321e0af6dd4b1 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 21 Jun 2011 13:32:54 +0200 Subject: [PATCH] rtl8192se: remove driver, now build-in in kernel Signed-off-by: Stephan Raue --- packages/linux-drivers/rtl8192se/build | 26 -------------- packages/linux-drivers/rtl8192se/install | 36 ------------------- packages/linux-drivers/rtl8192se/meta | 36 ------------------- packages/linux-drivers/rtl8192se/need_unpack | 32 ----------------- ...19.1207.2010-add_missing_include-0.1.patch | 11 ------ ...e-0019.1207.2010-remove_nasty_printk.patch | 12 ------- projects/Generic/options | 2 +- projects/ION/options | 2 +- 8 files changed, 2 insertions(+), 155 deletions(-) delete mode 100755 packages/linux-drivers/rtl8192se/build delete mode 100755 packages/linux-drivers/rtl8192se/install delete mode 100644 packages/linux-drivers/rtl8192se/meta delete mode 100755 packages/linux-drivers/rtl8192se/need_unpack delete mode 100644 packages/linux-drivers/rtl8192se/patches/rtl8192se-0019.1207.2010-add_missing_include-0.1.patch delete mode 100644 packages/linux-drivers/rtl8192se/patches/rtl8192se-0019.1207.2010-remove_nasty_printk.patch diff --git a/packages/linux-drivers/rtl8192se/build b/packages/linux-drivers/rtl8192se/build deleted file mode 100755 index 2ce4a58235..0000000000 --- a/packages/linux-drivers/rtl8192se/build +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - -cd $PKG_BUILD/HAL/rtl8192 - make V=1 CC=$CC KSRC=$(kernel_path) modules diff --git a/packages/linux-drivers/rtl8192se/install b/packages/linux-drivers/rtl8192se/install deleted file mode 100755 index 15771e8984..0000000000 --- a/packages/linux-drivers/rtl8192se/install +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - -VER=`ls $BUILD/linux*/modules/lib/modules` - -mkdir -p $INSTALL/lib/modules/$VER/rtl8192se - cp $PKG_BUILD/HAL/rtl8192/r8192se_pci.ko $INSTALL/lib/modules/$VER/rtl8192se - -mkdir -p $INSTALL/lib/firmware/RTL8192SE - cp $PKG_BUILD/firmware/RTL8192SE/* $INSTALL/lib/firmware/RTL8192SE - -$ROOT/$TOOLCHAIN/sbin/depmod -b $INSTALL $VER > /dev/null -for i in `ls $INSTALL/lib/modules/*/modules.* | grep -v modules.dep | grep -v modules.alias | grep -v modules.symbols`; do - rm -f $i -done diff --git a/packages/linux-drivers/rtl8192se/meta b/packages/linux-drivers/rtl8192se/meta deleted file mode 100644 index 8c70ae98bf..0000000000 --- a/packages/linux-drivers/rtl8192se/meta +++ /dev/null @@ -1,36 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -PKG_NAME="rtl8192se" -PKG_VERSION="0019.1207.2010" -PKG_REV="1" -PKG_ARCH="any" -PKG_LICENSE="nonfree" -PKG_SITE="http://www.realtek.com/" -PKG_URL="$OPENELEC_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2" -PKG_DEPENDS="" -PKG_BUILD_DEPENDS="toolchain linux busybox-hosttools" -PKG_PRIORITY="optional" -PKG_SECTION="driver" -PKG_SHORTDESC="rtl8192se: Realtek RTL8191SE, RTL8192SE WLAN driver" -PKG_LONGDESC="Realtek RTL8191SE, RTL8192SE WLAN driver" -PKG_IS_ADDON="no" - -PKG_AUTORECONF="no" diff --git a/packages/linux-drivers/rtl8192se/need_unpack b/packages/linux-drivers/rtl8192se/need_unpack deleted file mode 100755 index 5d6df529ff..0000000000 --- a/packages/linux-drivers/rtl8192se/need_unpack +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, 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/rtl8192se/patches/rtl8192se-0019.1207.2010-add_missing_include-0.1.patch b/packages/linux-drivers/rtl8192se/patches/rtl8192se-0019.1207.2010-add_missing_include-0.1.patch deleted file mode 100644 index 18797fecfd..0000000000 --- a/packages/linux-drivers/rtl8192se/patches/rtl8192se-0019.1207.2010-add_missing_include-0.1.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur rtl8192se-0017.0705.2010/rtllib/rtllib.h rtl8192se-0017.0705.2010.patch/rtllib/rtllib.h ---- rtl8192se-0017.0705.2010/rtllib/rtllib.h 2010-05-07 04:31:32.000000000 +0200 -+++ rtl8192se-0017.0705.2010.patch/rtllib/rtllib.h 2010-10-10 21:24:50.861572432 +0200 -@@ -35,6 +35,7 @@ - #endif - #include - #include -+#include - - #include - #include diff --git a/packages/linux-drivers/rtl8192se/patches/rtl8192se-0019.1207.2010-remove_nasty_printk.patch b/packages/linux-drivers/rtl8192se/patches/rtl8192se-0019.1207.2010-remove_nasty_printk.patch deleted file mode 100644 index 7a5f0ee622..0000000000 --- a/packages/linux-drivers/rtl8192se/patches/rtl8192se-0019.1207.2010-remove_nasty_printk.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur rtl8192se-0019.1207.2010/HAL/rtl8192/rtl_dm.c rtl8192se-0019.1207.2010.patch/HAL/rtl8192/rtl_dm.c ---- rtl8192se-0019.1207.2010/HAL/rtl8192/rtl_dm.c 2010-12-07 04:53:18.000000000 +0100 -+++ rtl8192se-0019.1207.2010.patch/HAL/rtl8192/rtl_dm.c 2011-01-22 23:08:06.636503156 +0100 -@@ -3834,7 +3834,7 @@ - if(priv->pwrdown) - { - u1Tmp = read_nic_byte(dev, 0x06); -- printk("pwrdown, 0x6(BIT6)=%02x\n", u1Tmp); -+// printk("pwrdown, 0x6(BIT6)=%02x\n", u1Tmp); - retval = (u1Tmp & BIT6) ? eRfOn: eRfOff; - - if(u1Tmp == 0xff) diff --git a/projects/Generic/options b/projects/Generic/options index 93e92eb5ef..c961983dc0 100644 --- a/projects/Generic/options +++ b/projects/Generic/options @@ -121,7 +121,7 @@ # bcm_sta: Broadcom STA WLAN Driver # Space separated list is supported, # e.g. ADDITIONAL_DRIVERS="bcm_sta" - ADDITIONAL_DRIVERS="asix-ax887xx bcm_sta rtl8192se" + ADDITIONAL_DRIVERS="asix-ax887xx bcm_sta" # build with network support (yes / no) NETWORK="yes" diff --git a/projects/ION/options b/projects/ION/options index 79b15ba4b6..236973f6ed 100644 --- a/projects/ION/options +++ b/projects/ION/options @@ -121,7 +121,7 @@ # bcm_sta: Broadcom STA WLAN Driver # Space separated list is supported, # e.g. ADDITIONAL_DRIVERS="bcm_sta" - ADDITIONAL_DRIVERS="asix-ax887xx bcm_sta rtl8192se" + ADDITIONAL_DRIVERS="asix-ax887xx bcm_sta" # build with network support (yes / no) NETWORK="yes"