rtl8192se: remove driver, now build-in in kernel

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-06-21 13:32:54 +02:00
parent d03965b006
commit 7b67442e22
8 changed files with 2 additions and 155 deletions

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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 <linux/timer.h>
#include <linux/sched.h>
+#include <linux/semaphore.h>
#include <linux/delay.h>
#include <linux/wireless.h>

View File

@ -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)

View File

@ -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"

View File

@ -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"