mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
asix-ax887xx: remove external driver 'asix-ax887xx', we use the kernel driver for now
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
b5303667e1
commit
e77d473dd6
@ -1,26 +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
|
||||
LDFLAGS="" make V=1 CC=$CC KDIR=$(kernel_path)
|
@ -1,28 +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/asix-ax887xx
|
||||
cp $PKG_BUILD/asix.ko $INSTALL/lib/modules/$VER/asix-ax887xx
|
@ -1,36 +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="asix-ax887xx"
|
||||
PKG_VERSION="4.2.0"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.asix.com.tw"
|
||||
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="asix-ax887xx: ASIX AX88772B/772A/760/772/178 Linux USB LANDriver"
|
||||
PKG_LONGDESC="ASIX AX88772B/772A/760/772/178 Linux USB LANDriver"
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
@ -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
|
@ -1,12 +0,0 @@
|
||||
diff -Naur asix-ax887xx-4.1.0/Makefile asix-ax887xx-4.1.0.patch/Makefile
|
||||
--- asix-ax887xx-4.1.0/Makefile 2011-02-22 01:54:38.000000000 +0100
|
||||
+++ asix-ax887xx-4.1.0.patch/Makefile 2011-06-14 03:58:46.714369862 +0200
|
||||
@@ -2,7 +2,7 @@
|
||||
TARGET = asix
|
||||
OBJS = asix.o
|
||||
MDIR = drivers/net/usb
|
||||
-KDIR = /lib/modules/$(CURRENT)/build
|
||||
+KDIR := /lib/modules/$(CURRENT)/build
|
||||
SUBLEVEL= $(shell uname -r | cut -d '.' -f 3 | cut -d '.' -f 1 | cut -d '-' -f 1 | cut -d '_' -f 1)
|
||||
|
||||
ifneq (,$(filter $(SUBLEVEL),14 15 16 17 18 19 20 21))
|
@ -1,21 +0,0 @@
|
||||
diff -Naur asix-ax887xx-4.2.0/asix.c asix-ax887xx-4.2.0.patch/asix.c
|
||||
--- asix-ax887xx-4.2.0/asix.c 2011-09-19 14:48:58.000000000 +0200
|
||||
+++ asix-ax887xx-4.2.0.patch/asix.c 2011-12-20 03:39:27.929024533 +0100
|
||||
@@ -837,7 +837,7 @@
|
||||
.ndo_do_ioctl = ax8817x_ioctl,
|
||||
.ndo_set_mac_address = ax8817x_set_mac_addr,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
- .ndo_set_multicast_list = ax8817x_set_multicast,
|
||||
+ .ndo_set_rx_mode = ax8817x_set_multicast,
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -1530,7 +1530,7 @@
|
||||
.ndo_get_stats = axusbnet_get_stats,
|
||||
.ndo_set_mac_address = ax8817x_set_mac_addr,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
- .ndo_set_multicast_list = ax88772b_set_multicast,
|
||||
+ .ndo_set_rx_mode = ax88772b_set_multicast,
|
||||
};
|
||||
#endif
|
||||
|
@ -168,9 +168,8 @@
|
||||
|
||||
# additional drivers to install:
|
||||
# AF9035: Afa Technologies Inc. AF9035A USB DVB Device
|
||||
# asix-ax887xx: Asix AX887xx USB LAN Driver
|
||||
# Space separated list is supported,
|
||||
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
|
||||
# e.g. ADDITIONAL_DRIVERS="AF9035"
|
||||
ADDITIONAL_DRIVERS="bcm_sta RTL8192CU"
|
||||
if [ "$PVR" = yes ]; then
|
||||
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS"
|
||||
|
@ -167,9 +167,8 @@
|
||||
|
||||
# additional drivers to install:
|
||||
# AF9035: Afa Technologies Inc. AF9035A USB DVB Device
|
||||
# asix-ax887xx: Asix AX887xx USB LAN Driver
|
||||
# Space separated list is supported,
|
||||
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
|
||||
# e.g. ADDITIONAL_DRIVERS="AF9035"
|
||||
ADDITIONAL_DRIVERS="RTL8192CU"
|
||||
if [ "$PVR" = yes ]; then
|
||||
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS"
|
||||
|
@ -167,9 +167,8 @@
|
||||
|
||||
# additional drivers to install:
|
||||
# AF9035: Afa Technologies Inc. AF9035A USB DVB Device
|
||||
# asix-ax887xx: Asix AX887xx USB LAN Driver
|
||||
# Space separated list is supported,
|
||||
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
|
||||
# e.g. ADDITIONAL_DRIVERS="AF9035"
|
||||
ADDITIONAL_DRIVERS="RTL8192CU"
|
||||
if [ "$PVR" = yes ]; then
|
||||
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS"
|
||||
|
@ -167,9 +167,8 @@
|
||||
|
||||
# additional drivers to install:
|
||||
# AF9035: Afa Technologies Inc. AF9035A USB DVB Device
|
||||
# asix-ax887xx: Asix AX887xx USB LAN Driver
|
||||
# Space separated list is supported,
|
||||
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
|
||||
# e.g. ADDITIONAL_DRIVERS="AF9035"
|
||||
ADDITIONAL_DRIVERS="RTL8192CU"
|
||||
if [ "$PVR" = yes ]; then
|
||||
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS"
|
||||
|
@ -167,9 +167,8 @@
|
||||
|
||||
# additional drivers to install:
|
||||
# AF9035: Afa Technologies Inc. AF9035A USB DVB Device
|
||||
# asix-ax887xx: Asix AX887xx USB LAN Driver
|
||||
# Space separated list is supported,
|
||||
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
|
||||
# e.g. ADDITIONAL_DRIVERS="AF9035"
|
||||
ADDITIONAL_DRIVERS="RTL8192CU"
|
||||
if [ "$PVR" = yes ]; then
|
||||
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS"
|
||||
|
@ -167,9 +167,8 @@
|
||||
|
||||
# additional drivers to install:
|
||||
# AF9035: Afa Technologies Inc. AF9035A USB DVB Device
|
||||
# asix-ax887xx: Asix AX887xx USB LAN Driver
|
||||
# Space separated list is supported,
|
||||
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
|
||||
# e.g. ADDITIONAL_DRIVERS="AF9035"
|
||||
ADDITIONAL_DRIVERS="RTL8192CU"
|
||||
if [ "$PVR" = yes ]; then
|
||||
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS"
|
||||
|
@ -169,10 +169,9 @@
|
||||
|
||||
# additional drivers to install:
|
||||
# AF9035: Afa Technologies Inc. AF9035A USB DVB Device
|
||||
# asix-ax887xx: Asix AX887xx USB LAN Driver
|
||||
# Space separated list is supported,
|
||||
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
|
||||
ADDITIONAL_DRIVERS="asix-ax887xx RTL8192CU"
|
||||
# e.g. ADDITIONAL_DRIVERS="AF9035"
|
||||
ADDITIONAL_DRIVERS="RTL8192CU"
|
||||
if [ "$PVR" = yes ]; then
|
||||
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 A867 aver_h826d RTL2832 hdhomerun-driver vtuner-driver"
|
||||
fi
|
||||
|
@ -167,9 +167,8 @@
|
||||
|
||||
# additional drivers to install:
|
||||
# AF9035: Afa Technologies Inc. AF9035A USB DVB Device
|
||||
# asix-ax887xx: Asix AX887xx USB LAN Driver
|
||||
# Space separated list is supported,
|
||||
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
|
||||
# e.g. ADDITIONAL_DRIVERS="AF9035"
|
||||
ADDITIONAL_DRIVERS="RTL8192CU"
|
||||
if [ "$PVR" = yes ]; then
|
||||
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS"
|
||||
|
@ -162,10 +162,9 @@
|
||||
|
||||
# additional drivers to install:
|
||||
# AF9035: Afa Technologies Inc. AF9035A USB DVB Device
|
||||
# asix-ax887xx: Asix AX887xx USB LAN Driver
|
||||
# vboxguest: Oracle VM VirtualBox Guest Additions / Graphics Card
|
||||
# Space separated list is supported,
|
||||
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035 vboxguest"
|
||||
# e.g. ADDITIONAL_DRIVERS="AF9035 vboxguest"
|
||||
ADDITIONAL_DRIVERS="RTL8192CU vboxguest"
|
||||
if [ "$PVR" = yes ]; then
|
||||
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS"
|
||||
|
Loading…
x
Reference in New Issue
Block a user