@ -1,59 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../rt2570/dist.patch |
|||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|||
# |
|||
# More information can be found in the files COPYING and README. |
|||
# |
|||
# This patch file is dual-licensed. It is available under the license the |
|||
# patched project is licensed under, as long as it is an OpenSource license |
|||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|||
# of the GNU General Public License as published by the Free Software |
|||
# Foundation; either version 2 of the License, or (at your option) any later |
|||
# version. |
|||
# --- SDE-COPYRIGHT-NOTE-END --- |
|||
--- rt2570/Module/Makefile.orig 2005-08-19 01:18:00.000000000 +0200
|
|||
+++ rt2570/Module/Makefile 2005-08-19 06:43:57.000000000 +0200
|
|||
@@ -111,41 +111,15 @@
|
|||
@rm -fr .tmp_versions |
|||
|
|||
modules_install: |
|||
-ifeq ($(PATCHLEVEL),4)
|
|||
if ! [ -f $(MODULE_OBJECT) ]; then \ |
|||
module; \ |
|||
fi |
|||
@echo "install '$(MODULE_OBJECT)' to $(MODULE_ROOT)" |
|||
install -m 755 -o 0 -g 0 -d $(MODULE_ROOT) |
|||
install -m 644 -o 0 -g 0 $(MODULE_OBJECT) $(MODULE_ROOT) |
|||
- /sbin/depmod -a
|
|||
-else
|
|||
- echo "2.6 module install"
|
|||
- make $(KBUILD_PARAMS) modules_install
|
|||
- /sbin/depmod -a
|
|||
-endif
|
|||
-
|
|||
|
|||
install: modules_install |
|||
- @if ! grep -q 'rausb0' $(MODULE_CONF) ; then \
|
|||
- echo "append 'alias rausb0 rt2570' to $(MODULE_CONF)"; \
|
|||
- echo "alias rausb0 rt2570" >> $(MODULE_CONF) ; \
|
|||
- fi
|
|||
|
|||
-install-fedora:
|
|||
- if ! [ -f $(MODULE_OBJECT) ]; then \
|
|||
- module; \
|
|||
- fi
|
|||
- @echo "install '$(MODULE_OBJECT)' to $(MODULE_ROOT)"
|
|||
- install -m 755 -o 0 -g 0 -d $(MODULE_ROOT)
|
|||
- install -m 644 -o 0 -g 0 $(MODULE_OBJECT) $(MODULE_ROOT)
|
|||
- /sbin/depmod -a
|
|||
-
|
|||
- @if ! grep -q 'wlan0' /etc/modprobe.conf ; then \
|
|||
- echo "append 'alias wlan0 rt2570' to /etc/modprobe.conf"; \
|
|||
- echo "alias wlan0 rt2570" >> /etc/modprobe.conf ; \
|
|||
- echo "options rt2570 ifname=wlan%d" >> /etc/modprobe.conf ; \
|
|||
- fi
|
|||
ifeq ($(PATCHLEVEL), 4) |
|||
include $(KERNEL_SOURCES)/Rules.make |
|||
endif |
@ -1,28 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../rt2570/eth-naming.patch |
|||
# Copyright (C) 2006 The T2 SDE Project |
|||
# |
|||
# More information can be found in the files COPYING and README. |
|||
# |
|||
# This patch file is dual-licensed. It is available under the license the |
|||
# patched project is licensed under, as long as it is an OpenSource license |
|||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|||
# of the GNU General Public License as published by the Free Software |
|||
# Foundation; either version 2 of the License, or (at your option) any later |
|||
# version. |
|||
# --- SDE-COPYRIGHT-NOTE-END --- |
|||
|
|||
diff -Nur rt2570-orig/Module/rtusb_main.c rt2570/Module/rtusb_main.c
|
|||
--- rt2570-orig/Module/rtusb_main.c 2006-07-01 15:52:18.000000000 +0000
|
|||
+++ rt2570/Module/rtusb_main.c 2006-07-01 15:52:49.000000000 +0000
|
|||
@@ -1521,7 +1521,7 @@
|
|||
return NULL; |
|||
} |
|||
|
|||
- sprintf(pAdapter->net->name, "rausb%d", i);
|
|||
+ sprintf(pAdapter->net->name, "eth%d", i);
|
|||
DBGPRINT(RT_DEBUG_ERROR, "usbdevice->name %s\n",pAdapter->net->name); |
|||
} |
|||
|
@ -1,14 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../rt2570/pkg_linux26_post.conf |
|||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|||
# |
|||
# More information can be found in the files COPYING and README. |
|||
# |
|||
# 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; version 2 of the License. A copy of the |
|||
# GNU General Public License can be found in the file COPYING. |
|||
# --- SDE-COPYRIGHT-NOTE-END --- |
|||
var_append lx_3rd_party_modules " " "rt2570" |
@ -1,14 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../rt2570/pkg_linux26mm_post.conf |
|||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|||
# |
|||
# More information can be found in the files COPYING and README. |
|||
# |
|||
# 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; version 2 of the License. A copy of the |
|||
# GNU General Public License can be found in the file COPYING. |
|||
# --- SDE-COPYRIGHT-NOTE-END --- |
|||
var_append lx_3rd_party_modules " " "rt2570" |
@ -1,20 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../rt2570/postlinux.conf |
|||
# Copyright (C) 2006 The OpenSDE Project |
|||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|||
# |
|||
# More information can be found in the files COPYING and README. |
|||
# |
|||
# 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; version 2 of the License. A copy of the |
|||
# GNU General Public License can be found in the file COPYING. |
|||
# --- SDE-COPYRIGHT-NOTE-END --- |
|||
|
|||
var_append makeopt " " "KERNDIR=$moduledir/build" |
|||
var_append makeopt " " "MODDIR=$moduledir/net" |
|||
makeinstopt="$makeopt modules_install" |
|||
|
|||
hook_add preconf 5 "cd Module" |
@ -1,17 +0,0 @@ |
|||
|
|||
[TIMESTAMP] 1133827938 Tue Dec 6 01:12:18 2005 |
|||
[BUILDTIME] 5 (5) |
|||
[SIZE] 0.04 MB, 12 files |
|||
|
|||
[DEP] 00-dirtree |
|||
[DEP] bash |
|||
[DEP] bzip2 |
|||
[DEP] coreutils |
|||
[DEP] diffutils |
|||
[DEP] gcc |
|||
[DEP] glibc |
|||
[DEP] grep |
|||
[DEP] patch |
|||
[DEP] sed |
|||
[DEP] sysfiles |
|||
[DEP] tar |
@ -1,14 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../rt2570/rt2570.conf |
|||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|||
# |
|||
# More information can be found in the files COPYING and README. |
|||
# |
|||
# 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; version 2 of the License. A copy of the |
|||
# GNU General Public License can be found in the file COPYING. |
|||
# --- SDE-COPYRIGHT-NOTE-END --- |
|||
custmain="true" |
@ -1,33 +0,0 @@ |
|||
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] |
|||
[COPY] Filename: package/.../rt2570/rt2570.desc |
|||
[COPY] Copyright (C) 2006 The OpenSDE Project |
|||
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project |
|||
[COPY] |
|||
[COPY] More information can be found in the files COPYING and README. |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; version 2 of the License. A copy of the |
|||
[COPY] GNU General Public License can be found in the file COPYING. |
|||
[COPY] --- SDE-COPYRIGHT-NOTE-END --- |
|||
|
|||
[I] RT2570 wireless network driver |
|||
|
|||
[T] RT2570 wireless network driver |
|||
|
|||
[U] http://rt2x00.serialmonkey.com/ |
|||
|
|||
[A] Mark Wallis <mark@serialmonkey.com> |
|||
[M] Sebastian Czech <t2_@arcor.de> |
|||
|
|||
[C] base/system |
|||
|
|||
[L] GPL |
|||
[S] Beta |
|||
[V] 1.1.0-b2 |
|||
[P] X -----5---9 800.000 |
|||
|
|||
[D] 1377973356 rt2570-1.1.0-b2.tar.gz http://dl.sourceforge.net/sourceforge/rt2400/ |
|||
|
@ -1,22 +0,0 @@ |
|||
#!/bin/sh |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../rt2570/rt2570.postinstall |
|||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|||
# |
|||
# More information can be found in the files COPYING and README. |
|||
# |
|||
# 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; version 2 of the License. A copy of the |
|||
# GNU General Public License can be found in the file COPYING. |
|||
# --- SDE-COPYRIGHT-NOTE-END --- |
|||
|
|||
for modconf in /etc/modprobe.conf /etc/modules.conf; do |
|||
if ! grep -q 'rt2570' $modconf 2>/dev/null ; then |
|||
echo "alias wlan0 rt2570" >> $modconf |
|||
echo "options rt2570 ifname=wlan%d" >> $modconf |
|||
fi |
|||
done |
|||
|