@ -1,16 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../l7-filter/pkg_linux26mm_post.conf |
|||
# Copyright (C) 2007 - 2008 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 --- |
|||
|
|||
. $base/package/*/l7-filter/patch_o_matic.in |
@ -1,16 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../lazyfs/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 " " "lazyfs" |
|||
|
@ -1,104 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../linux26mm/12-conf-hacks.patch |
|||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|||
# Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# 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 --- |
|||
|
|||
Set all unset options to module. Needed by the T2 / ROCK Linux kernel |
|||
configuration. |
|||
|
|||
Initally written by Clifford Wold <clifford@clifford.at> and adapted |
|||
for various new 2.5/2.6 kernels by Rene Rebe <rene@exactcode.de>. |
|||
|
|||
--- ./scripts/kconfig/Makefile.orig 2006-03-19 19:38:46.080184500 +0100
|
|||
+++ ./scripts/kconfig/Makefile 2006-03-19 20:01:55.859040250 +0100
|
|||
@@ -2,7 +2,7 @@
|
|||
# Kernel configuration targets |
|||
# These targets are used from top-level makefile |
|||
|
|||
-PHONY += oldconfig xconfig gconfig menuconfig config silentoldconfig update-po-config
|
|||
+PHONY += oldconfig xconfig gconfig menuconfig config silentoldconfig no2modconfig update-po-config
|
|||
|
|||
xconfig: $(obj)/qconf |
|||
$< arch/$(ARCH)/Kconfig |
|||
@@ -56,6 +56,9 @@
|
|||
allmodconfig: $(obj)/conf |
|||
$< -m arch/$(ARCH)/Kconfig |
|||
|
|||
+no2modconfig: scripts/kconfig/conf
|
|||
+ $< -M arch/$(ARCH)/Kconfig
|
|||
+
|
|||
defconfig: $(obj)/conf |
|||
ifeq ($(KBUILD_DEFCONFIG),) |
|||
$< -d arch/$(ARCH)/Kconfig |
|||
@@ -77,6 +80,7 @@
|
|||
@echo ' randconfig - New config with random answer to all options' |
|||
@echo ' defconfig - New config with default answer to all options' |
|||
@echo ' allmodconfig - New config selecting modules when possible' |
|||
+ @echo ' no2modconfig - New config selecting modules for disabled options'
|
|||
@echo ' allyesconfig - New config where all options are accepted with yes' |
|||
@echo ' allnoconfig - New config where all options are answered with no' |
|||
|
|||
--- linux-2.6.0-test4/scripts/kconfig/conf.c 2003-08-23 01:59:45.000000000 +0200
|
|||
+++ linux-2.6.0-test4-rock/scripts/kconfig/conf.c 2003-08-23 16:48:07.000000000 +0200
|
|||
@@ -20,6 +20,7 @@
|
|||
ask_all, |
|||
ask_new, |
|||
ask_silent, |
|||
+ ask_no2mod,
|
|||
set_default, |
|||
set_yes, |
|||
set_mod, |
|||
@@ -82,6 +83,15 @@
|
|||
} |
|||
|
|||
switch (input_mode) { |
|||
+ case ask_no2mod:
|
|||
+ if (type == S_TRISTATE &&
|
|||
+ sym_get_tristate_value(sym) == no) {
|
|||
+ fprintf(stderr, "Setting %s to 'm'.\n", sym->name);
|
|||
+ line[0] = 'm';
|
|||
+ line[1] = '\n';
|
|||
+ line[2] = 0;
|
|||
+ break;
|
|||
+ }
|
|||
case set_no: |
|||
case set_mod: |
|||
case set_yes: |
|||
@@ -354,6 +364,7 @@
|
|||
break; |
|||
} |
|||
check_stdin(); |
|||
+ case ask_no2mod:
|
|||
case ask_all: |
|||
fflush(stdout); |
|||
fgets(line, 128, stdin); |
|||
@@ -523,6 +534,9 @@
|
|||
case 'm': |
|||
input_mode = set_mod; |
|||
break; |
|||
+ case 'M':
|
|||
+ input_mode = ask_no2mod;
|
|||
+ break;
|
|||
case 'y': |
|||
input_mode = set_yes; |
|||
break; |
|||
@@ -565,6 +579,7 @@
|
|||
} |
|||
case ask_all: |
|||
case ask_new: |
|||
+ case ask_no2mod:
|
|||
conf_read(NULL); |
|||
break; |
|||
case set_no: |
@ -1,54 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../linux26mm/2.6.10-sparc64.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 --- |
|||
|
|||
The new copy_user stuff return value does yield warnings and thus we can not |
|||
compile the sparc dirs with -Werror ... |
|||
|
|||
- Rene Rebe <rene@exactcode.de> |
|||
|
|||
--- linux-2.6.10/arch/sparc64/kernel/Makefile.vanilla 2005-02-01 20:35:16.000000000 +0100
|
|||
+++ linux-2.6.10/arch/sparc64/kernel/Makefile 2005-02-01 20:35:30.000000000 +0100
|
|||
@@ -3,7 +3,7 @@
|
|||
# |
|||
|
|||
EXTRA_AFLAGS := -ansi |
|||
-EXTRA_CFLAGS := -Werror
|
|||
+EXTRA_CFLAGS :=
|
|||
|
|||
extra-y := head.o init_task.o vmlinux.lds |
|||
|
|||
--- linux-2.6.10/arch/sparc64/lib/Makefile.vanilla 2005-02-01 20:35:53.000000000 +0100
|
|||
+++ linux-2.6.10/arch/sparc64/lib/Makefile 2005-02-01 20:35:58.000000000 +0100
|
|||
@@ -3,7 +3,7 @@
|
|||
# |
|||
|
|||
EXTRA_AFLAGS := -ansi |
|||
-EXTRA_CFLAGS := -Werror
|
|||
+EXTRA_CFLAGS :=
|
|||
|
|||
lib-y := PeeCeeI.o copy_page.o clear_page.o strlen.o strncmp.o \ |
|||
memscan.o strncpy_from_user.o strlen_user.o memcmp.o checksum.o \ |
|||
--- linux-2.6.10/arch/sparc64/mm/Makefile.vanilla 2005-02-01 20:35:39.000000000 +0100
|
|||
+++ linux-2.6.10/arch/sparc64/mm/Makefile 2005-02-01 20:35:47.000000000 +0100
|
|||
@@ -3,7 +3,7 @@
|
|||
# |
|||
|
|||
EXTRA_AFLAGS := -ansi |
|||
-EXTRA_CFLAGS := -Werror
|
|||
+EXTRA_CFLAGS :=
|
|||
|
|||
obj-y := ultra.o tlb.o fault.o init.o generic.o extable.o |
|||
|
@ -1,35 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../linux26mm/20-kernel-cc.patch |
|||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|||
# Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# 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 --- |
|||
|
|||
|
|||
This Patch is specific to ROCK Linux and not available as stand-alone patch. |
|||
|
|||
- Clifford Wolf <god@clifford.at> |
|||
|
|||
--- linux/Makefile
|
|||
+++ linux/Makefile
|
|||
@@ -27,7 +27,9 @@
|
|||
|
|||
AS = $(CROSS_COMPILE)as |
|||
LD = $(CROSS_COMPILE)ld |
|||
-CC = $(CROSS_COMPILE)gcc
|
|||
+KCC = $(CROSS_COMPILE)kcc
|
|||
+GCC = $(CROSS_COMPILE)gcc
|
|||
+CC = $(if $(shell sh -c 'type -p $(KCC)'),$(KCC),$(GCC))
|
|||
CPP = $(CC) -E |
|||
AR = $(CROSS_COMPILE)ar |
|||
NM = $(CROSS_COMPILE)nm |
@ -1,38 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../linux26mm/95-adb-mapping.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 --- |
|||
|
|||
Well, after fixing user-space apps here and there it became too annoying |
|||
and counter productive, since nowadays user-space expect full "i386 style", |
|||
linux mapping anyways. So let's correct the alt and altgr mapping in the |
|||
kernel in the first place. |
|||
|
|||
- Rene Rebe <rene@exactcode.de> |
|||
|
|||
--- ./drivers/macintosh/adbhid.c.orig 2004-10-18 23:55:36.000000000 +0200
|
|||
+++ ./drivers/macintosh/adbhid.c 2004-10-19 18:58:36.972070126 +0200
|
|||
@@ -130,10 +130,10 @@
|
|||
/* 0x34 */ KEY_KPENTER, /* 96 */ |
|||
/* 0x35 */ KEY_ESC, /* 1 */ |
|||
/* 0x36 */ KEY_LEFTCTRL, /* 29 */ |
|||
- /* 0x37 */ KEY_LEFTMETA, /* 125 */
|
|||
+ /* 0x37 */ KEY_LEFTALT, /* 125 */
|
|||
/* 0x38 */ KEY_LEFTSHIFT, /* 42 */ |
|||
/* 0x39 */ KEY_CAPSLOCK, /* 58 */ |
|||
- /* 0x3a */ KEY_LEFTALT, /* 56 */
|
|||
+ /* 0x3a */ KEY_RIGHTALT, /* 56 */
|
|||
/* 0x3b */ KEY_LEFT, /* 105 */ |
|||
/* 0x3c */ KEY_RIGHT, /* 106 */ |
|||
/* 0x3d */ KEY_DOWN, /* 108 */ |
@ -1,412 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../linux26mm/adaptec-usbxchange.patch.disabled |
|||
# 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 --- |
|||
|
|||
|
|||
Support for the Adaptec USB*Xchange family of USB<->SCSI cables. |
|||
|
|||
- Rene Rebe <rene@exactcode.de> |
|||
|
|||
--- linux-2.6.15-mm4/drivers/usb/storage/Kconfig 2006-01-30 12:16:10.838447250 +0100 |
|||
+++ linux-2.6.15-usb2x/drivers/usb/storage/Kconfig 2006-01-30 12:09:28.857325000 +0100 |
|||
@@ -134,6 +134,13 @@ |
|||
this input in any keybinding software. (e.g. gnome's keyboard short- |
|||
cuts) |
|||
|
|||
+config USB_USBXCHANGE |
|||
+ tristate "Adaptec USBXchange and USB2Xchange firmware loader" |
|||
+ depends on USB_STORAGE |
|||
+ help |
|||
+ Say Y here to include additional code to load the firmware into the |
|||
+ Adaptec USBXchange and USB2Xchange USB --> SCSI converter dongle. |
|||
+ |
|||
config USB_LIBUSUAL |
|||
bool "The shared table of common (or usual) storage devices" |
|||
depends on USB |
|||
--- linux-2.6.15-mm4/drivers/usb/storage/Makefile 2006-01-30 12:16:10.838447250 +0100 |
|||
+++ linux-2.6.15-usb2x/drivers/usb/storage/Makefile 2006-01-30 12:08:29.781633000 +0100 |
|||
@@ -24,6 +24,8 @@ |
|||
usb-storage-objs := scsiglue.o protocol.o transport.o usb.o \ |
|||
initializers.o $(usb-storage-obj-y) |
|||
|
|||
+obj-$(CONFIG_USB_USBXCHANGE) += usbxchange_fw.o |
|||
+ |
|||
ifneq ($(CONFIG_USB_LIBUSUAL),) |
|||
obj-$(CONFIG_USB) += libusual.o |
|||
endif |
|||
--- linux-2.6.15-mm4/drivers/usb/storage/initializers.c 2006-01-30 12:16:10.826446500 +0100 |
|||
+++ linux-2.6.15-usb2x/drivers/usb/storage/initializers.c 2006-01-30 12:08:09.340355500 +0100 |
|||
@@ -164,3 +164,27 @@ |
|||
return USB_STOR_TRANSPORT_FAILED; |
|||
} |
|||
|
|||
+/* Firmware Initialisation for the Adaptec USB2Xchange, needed for |
|||
+ * to recognize devices properly. René Rebe <rene@exactcode.de> */ |
|||
+int usb2xchange_init(struct us_data *us) |
|||
+{ |
|||
+ int result; |
|||
+ |
|||
+ US_DEBUGP ("usb2xchange_init: initialising after reenumeration.\n"); |
|||
+ |
|||
+ result = usb_control_msg(us->pusb_dev, us->send_ctrl_pipe, |
|||
+ 0x5a, 0x40, 0x01, |
|||
+ 0, 0, // buffer, |
|||
+ 0, // length, |
|||
+ 300); |
|||
+ US_DEBUGP ("usb2xchange_init: reset #1 (%d)\n", result); |
|||
+ |
|||
+ result = usb_control_msg(us->pusb_dev, us->send_ctrl_pipe, |
|||
+ 0x5a, 0x40, 0x02, |
|||
+ 0, 0, // buffer, |
|||
+ 0, // length, |
|||
+ 300); |
|||
+ US_DEBUGP ("usb2xchange_init: reset #2 (%d)\n", result); |
|||
+ |
|||
+ return result; |
|||
+} |
|||
--- linux-2.6.15-mm4/drivers/usb/storage/initializers.h 2006-01-30 12:16:10.826446500 +0100 |
|||
+++ linux-2.6.15-usb2x/drivers/usb/storage/initializers.h 2006-01-30 12:04:35.110967000 +0100 |
|||
@@ -49,3 +49,6 @@ |
|||
* flash reader */ |
|||
int usb_stor_ucr61s2b_init(struct us_data *us); |
|||
int rio_karma_init(struct us_data *us); |
|||
+ |
|||
+/* Firmware Initialization for the Adaptec USB2Xchange */ |
|||
+int usb2xchange_init(struct us_data *us); |
|||
--- linux-2.6.15-mm4/drivers/usb/storage/unusual_devs.h 2006-01-30 12:16:10.870449250 +0100 |
|||
+++ linux-2.6.15-usb2x/drivers/usb/storage/unusual_devs.h 2006-01-27 21:49:46.570867000 +0100 |
|||
@@ -1180,6 +1180,21 @@ |
|||
US_FL_SINGLE_LUN), |
|||
#endif |
|||
|
|||
+/* Adaptec USBXchange and USB2Xchange, after firmware download. |
|||
+ * Requires Ez-USB Style firmware loader. René Rebe <rene@exactcode.de> */ |
|||
+ |
|||
+UNUSUAL_DEV( 0x03f3, 0x2001, 0x0000, 0xffff, |
|||
+ "Adaptec", |
|||
+ "USBXchange", |
|||
+ US_SC_SCSI, US_PR_BULK, NULL, |
|||
+ 0 ), |
|||
+ |
|||
+UNUSUAL_DEV( 0x03f3, 0x2003, 0x0000, 0xffff, |
|||
+ "Adaptec", |
|||
+ "USB2Xchange", |
|||
+ US_SC_SCSI, US_PR_BULK, usb2xchange_init, |
|||
+ US_FL_SCM_MULT_TARG ), |
|||
+ |
|||
/* Control/Bulk transport for all SubClass values */ |
|||
USUAL_DEV(US_SC_RBC, US_PR_CB, USB_US_TYPE_STOR), |
|||
USUAL_DEV(US_SC_8020, US_PR_CB, USB_US_TYPE_STOR), |
|||
--- linux-2.6.15-mm4/drivers/usb/storage/usbxchange_fw.c 1970-01-01 01:00:00.000000000 +0100 |
|||
+++ linux-2.6.15-usb2x/drivers/usb/storage/usbxchange_fw.c 2006-01-28 09:45:14.308438000 +0100 |
|||
@@ -0,0 +1,215 @@ |
|||
+/* |
|||
+ * Firmware loader for Adaptec USBXchange / USB2Xchange. |
|||
+ * |
|||
+ * Uploads device firmware into the Adaptec USBXchange and USB2Xchange |
|||
+ * USB --> SCSI dongle. |
|||
+ * |
|||
+ * Current development and maintenance by: |
|||
+ * (c) 2005 René Rebe <rene@exactcode.de> |
|||
+ * |
|||
+ * Initial work by: |
|||
+ * (c) 2004 Beier & Dauskardt IT <sda@bdit.de> |
|||
+ * |
|||
+ * Based on emi26.c: |
|||
+ * (c) 2002 Tapio Laxström <tapio.laxstrom@iptime.fi> |
|||
+ * |
|||
+ * To use this driver, you need to get the devices firmware from some |
|||
+ * windows driver: |
|||
+ * usbxchg_win_v120.exe - for USBXchange |
|||
+ * usb2xchg_win_drv_v200.exe - for USB2Xchange |
|||
+ * |
|||
+ * Hotplug firmware loader compatible files can be found at: |
|||
+ * http://dl.exactcode.de/adaptec-usbxchange/ |
|||
+ * |
|||
+ * Note: |
|||
+ * The USB2Xchange seems to have some internal buffer < 64K. |
|||
+ * Sending 64K requests crashes the device. Possibly it needs a |
|||
+ * "max_sectors: 8" setting. |
|||
+ * |
|||
+ * 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. |
|||
+ * |
|||
+ * 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. |
|||
+ */ |
|||
+ |
|||
+#include <linux/kernel.h> |
|||
+#include <linux/errno.h> |
|||
+#include <linux/slab.h> |
|||
+#include <linux/module.h> |
|||
+#include <linux/init.h> |
|||
+#include <linux/usb.h> |
|||
+#include <linux/firmware.h> |
|||
+ |
|||
+#include "usbxchange_fw.h" |
|||
+ |
|||
+static int usbxchange_writememory(struct usb_device *dev, int address, |
|||
+ unsigned char *data, int length, |
|||
+ __u8 bRequest); |
|||
+static int usbxchange_set_reset(struct usb_device *dev, int cpureg, |
|||
+ unsigned char reset_bit); |
|||
+static int usbxchange_load_firmware(struct usb_device *dev); |
|||
+ |
|||
+static int usbxchange_probe(struct usb_interface *iface, |
|||
+ const struct usb_device_id *id); |
|||
+static void usbxchange_disconnect(struct usb_interface *iface); |
|||
+static int __init usbxchange_init(void); |
|||
+static void __exit usbxchange_exit(void); |
|||
+ |
|||
+#define usbxchange_VENDOR_ID 0x03f3 |
|||
+#define usbxchange_PRODUCT_ID 0x2000 |
|||
+#define usb2xchange_PRODUCT_ID 0x2002 |
|||
+ |
|||
+static struct usb_device_id usbxchange_usb_ids[] = { |
|||
+ {USB_DEVICE(usbxchange_VENDOR_ID, usbxchange_PRODUCT_ID)}, |
|||
+ {USB_DEVICE(usbxchange_VENDOR_ID, usb2xchange_PRODUCT_ID)}, |
|||
+ {} /* terminating entry */ |
|||
+}; |
|||
+ |
|||
+MODULE_DEVICE_TABLE(usb, usbxchange_usb_ids); |
|||
+ |
|||
+/* thanks to drivers/usb/serial/keyspan_pda.c code */ |
|||
+static int usbxchange_writememory(struct usb_device *dev, int address, |
|||
+ unsigned char *data, int length, __u8 request) |
|||
+{ |
|||
+ int result; |
|||
+ unsigned char *buffer = kmalloc(length, GFP_KERNEL); |
|||
+ |
|||
+ if (!buffer) { |
|||
+ printk(KERN_ERR "usbxchange: kmalloc(%d) failed.\n", length); |
|||
+ return -ENOMEM; |
|||
+ } |
|||
+ memcpy(buffer, data, length); |
|||
+ result = usb_control_msg(dev, usb_sndctrlpipe(dev, 0), request, 0x40, |
|||
+ address, 0, buffer, length, 300); |
|||
+ kfree(buffer); |
|||
+ return result; |
|||
+} |
|||
+ |
|||
+/* thanks to drivers/usb/serial/keyspan_pda.c code */ |
|||
+static int usbxchange_set_reset(struct usb_device *dev, int cpureg, |
|||
+ unsigned char reset_bit) |
|||
+{ |
|||
+ int response; |
|||
+ printk(KERN_INFO "%s - %d\n", __FUNCTION__, reset_bit); |
|||
+ response = |
|||
+ usbxchange_writememory(dev, cpureg, &reset_bit, 1, |
|||
+ ANCHOR_LOAD_INTERNAL); |
|||
+ if (response < 0) { |
|||
+ printk(KERN_ERR "usbxchange: set_reset (%d) failed\n", |
|||
+ reset_bit); |
|||
+ } |
|||
+ return response; |
|||
+} |
|||
+ |
|||
+static int usbxchange_load_firmware(struct usb_device *dev) |
|||
+{ |
|||
+ INTEL_HEX_RECORD *record; |
|||
+ int err, cpureg; |
|||
+ |
|||
+ const struct firmware *firmware; |
|||
+ |
|||
+ switch (le16_to_cpu(dev->descriptor.idProduct)) { |
|||
+ case usbxchange_PRODUCT_ID: |
|||
+ err = request_firmware(&firmware, "usbxchange.fw", &dev->dev); |
|||
+ cpureg = CPUCS_REG; |
|||
+ break; |
|||
+ case usb2xchange_PRODUCT_ID: |
|||
+ err = request_firmware(&firmware, "usb2xchange.fw", &dev->dev); |
|||
+ cpureg = CPUCS_REG_FX2; |
|||
+ break; |
|||
+ default: |
|||
+ printk(KERN_ERR "%s - device not recognized %x\n", __FUNCTION__, |
|||
+ le16_to_cpu(dev->descriptor.idProduct)); |
|||
+ return 1; |
|||
+ } |
|||
+ |
|||
+ if (err != 0) { |
|||
+ printk(KERN_ERR "Hotplug firmware request failed.\n"); |
|||
+ return err; |
|||
+ } |
|||
+ |
|||
+ /* Stop CPU */ |
|||
+ err = usbxchange_set_reset(dev, cpureg, 1); |
|||
+ err = usbxchange_set_reset(dev, cpureg, 1); |
|||
+ if (err < 0) { |
|||
+ printk(KERN_ERR "%s - error stopping dongle CPU: error = %d\n", |
|||
+ __FUNCTION__, err); |
|||
+ return err; |
|||
+ } |
|||
+ |
|||
+ /* Upload firmware */ |
|||
+ for (record = (INTEL_HEX_RECORD *)firmware->data; |
|||
+ record->type == 0; record++) { |
|||
+ |
|||
+ err = usbxchange_writememory(dev, le32_to_cpu(record->address), |
|||
+ record->data, |
|||
+ le32_to_cpu(record->length), |
|||
+ ANCHOR_LOAD_INTERNAL); |
|||
+ if (err < 0) { |
|||
+ printk(KERN_ERR |
|||
+ "%s - error loading firmware: error = %d\n", |
|||
+ __FUNCTION__, err); |
|||
+ return err; |
|||
+ } |
|||
+ } |
|||
+ |
|||
+ /* De-assert reset (let the CPU run) */ |
|||
+ err = usbxchange_set_reset(dev, cpureg, 1); |
|||
+ err = usbxchange_set_reset(dev, cpureg, 0); |
|||
+ if (err < 0) { |
|||
+ printk(KERN_ERR "%s - error resetting dongle CPU: error = %d\n", |
|||
+ __FUNCTION__, err); |
|||
+ return err; |
|||
+ } |
|||
+ |
|||
+ return 0; |
|||
+} |
|||
+ |
|||
+static int usbxchange_probe(struct usb_interface *iface, |
|||
+ const struct usb_device_id *id) |
|||
+{ |
|||
+ struct usb_device *dev = interface_to_usbdev(iface); |
|||
+ |
|||
+ printk(KERN_INFO "%s start\n", __FUNCTION__); |
|||
+ |
|||
+ usbxchange_load_firmware(dev); |
|||
+ |
|||
+ /* forcing an unload would save some kB of kernel memory ... */ |
|||
+ return 0; |
|||
+} |
|||
+ |
|||
+static void usbxchange_disconnect(struct usb_interface *iface) |
|||
+{ |
|||
+} |
|||
+ |
|||
+static struct usb_driver usbxchange_driver = { |
|||
+ .name = "usbxchange_fw", |
|||
+ .probe = usbxchange_probe, |
|||
+ .disconnect = usbxchange_disconnect, |
|||
+ .id_table = usbxchange_usb_ids, |
|||
+}; |
|||
+ |
|||
+static int __init usbxchange_init(void) |
|||
+{ |
|||
+ usb_register(&usbxchange_driver); |
|||
+ return 0; |
|||
+} |
|||
+ |
|||
+static void __exit usbxchange_exit(void) |
|||
+{ |
|||
+ usb_deregister(&usbxchange_driver); |
|||
+} |
|||
+ |
|||
+module_init(usbxchange_init); |
|||
+module_exit(usbxchange_exit); |
|||
+ |
|||
+MODULE_AUTHOR("René Rebe <rene@exactcode.de>, Sancho Dauskardt <sda@bdit.de>"); |
|||
+MODULE_DESCRIPTION("Adaptec USBXchange firmware loader."); |
|||
+MODULE_LICENSE("GPL"); |
|||
+ |
|||
+/* vi:ai:syntax=c:sw=8:ts=8:tw=80 |
|||
+ */ |
|||
--- linux-2.6.15-mm4/drivers/usb/storage/usbxchange_fw.h 1970-01-01 01:00:00.000000000 +0100 |
|||
+++ linux-2.6.15-usb2x/drivers/usb/storage/usbxchange_fw.h 2006-01-27 17:18:18.246377000 +0100 |
|||
@@ -0,0 +1,45 @@ |
|||
+/* |
|||
+ * Firmware loader for Adaptec USBXchange / USB2Xchange. |
|||
+ * |
|||
+ * Uploads device firmware into the Adaptec USBXchange and USB2Xchange |
|||
+ * USB --> SCSI dongle. |
|||
+ * |
|||
+ * Current development and maintenance by: |
|||
+ * (c) 2005 René Rebe <rene@exactcode.de> |
|||
+ * |
|||
+ * Initial work by: |
|||
+ * (c) 2004 Beier & Dauskardt IT <sda@bdit.de> |
|||
+ * |
|||
+ * Based on emi26.c: |
|||
+ * (c) 2002 Tapio Laxström <tapio.laxstrom@iptime.fi> |
|||
+ * |
|||
+ * 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. |
|||
+ * |
|||
+ * 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. |
|||
+ */ |
|||
+ |
|||
+#ifndef _USB_USBXCHANGE_FW_H_INCLUDED |
|||
+#define _USB_USBXCHANGE_FW_H_INCLUDED |
|||
+ |
|||
+#define MAX_INTEL_HEX_RECORD_LENGTH 16 |
|||
+typedef struct _INTEL_HEX_RECORD { |
|||
+ __u32 length; |
|||
+ __u32 address; |
|||
+ __u32 type; |
|||
+ __u8 data[MAX_INTEL_HEX_RECORD_LENGTH]; |
|||
+} INTEL_HEX_RECORD, *PINTEL_HEX_RECORD; |
|||
+ |
|||
+/* Vendor specific request code for Anchor Upload/Download |
|||
+ (This one is implemented in the core). */ |
|||
+#define ANCHOR_LOAD_INTERNAL 0xA0 |
|||
+ |
|||
+/* EZ-USB Control and Status Register. Bit 0 controls 8051 reset */ |
|||
+#define CPUCS_REG 0x7F92 /* original / FX */ |
|||
+#define CPUCS_REG_FX2 0xE600 /* FX2 */ |
|||
+ |
|||
+#endif |
|||
--- linux-2.6.15/drivers/usb/storage/transport.c 2006-01-03 04:21:10.000000000 +0100 |
|||
+++ ./drivers/usb/storage/transport.c 2006-01-30 19:41:26.727402000 +0100 |
|||
@@ -984,6 +984,11 @@ |
|||
bcb->Lun = srb->device->lun; |
|||
if (us->flags & US_FL_SCM_MULT_TARG) |
|||
bcb->Lun |= srb->device->id << 4; |
|||
+ /* Adaptec USB2Xchange */ |
|||
+ if (us->pusb_dev->descriptor.idVendor == 0x03f3 && |
|||
+ us->pusb_dev->descriptor.idProduct == 0x2003) |
|||
+ bcb->Lun = srb->device->id; |
|||
+ |
|||
bcb->Length = srb->cmd_len; |
|||
|
|||
/* copy the command payload */ |
|||
@@ -1069,6 +1074,20 @@ |
|||
US_DEBUGP("Bulk Status S 0x%x T 0x%x R %u Stat 0x%x\n", |
|||
le32_to_cpu(bcs->Signature), bcs->Tag, |
|||
residue, bcs->Status); |
|||
+ if (bcs->Status > US_BULK_STAT_FAIL) { |
|||
+ /* Adaptec USB2XCHANGE ? */ |
|||
+ if (us->pusb_dev->descriptor.idVendor == 0x03f3 && |
|||
+ us->pusb_dev->descriptor.idProduct == 0x2003) { |
|||
+ |
|||
+ /* This device will send |
|||
+ * bcs->Status == 0x8a for unused LUN's |
|||
+ * bcs->Status == 0x02 for SRB's that require SENSE. |
|||
+ */ |
|||
+ bcs->Status = US_BULK_STAT_OK; |
|||
+ fake_sense = 1; |
|||
+ US_DEBUGP("Patched Bulk status to %d.\n", bcs->Status); |
|||
+ } |
|||
+ } |
|||
if (bcs->Tag != us->tag || bcs->Status > US_BULK_STAT_PHASE) { |
|||
US_DEBUGP("Bulk logical error\n"); |
|||
return USB_STOR_TRANSPORT_ERROR; |
@ -1,28 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../linux26mm/arch-ppc-horizon-name-clash.patch |
|||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|||
# Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# 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 --- |
|||
|
|||
--- ./drivers/atm/horizon.c.orig 2003-09-04 20:22:19.000000000 +0200
|
|||
+++ ./drivers/atm/horizon.c 2003-09-04 20:24:36.000000000 +0200
|
|||
@@ -481,7 +481,7 @@
|
|||
return; |
|||
} |
|||
|
|||
-static inline void dump_regs (hrz_dev * dev) {
|
|||
+static inline void dump_horizon_regs (hrz_dev * dev) {
|
|||
#ifdef DEBUG_HORIZON |
|||
PRINTD (DBG_REGS, "CONTROL 0: %#x", rd_regl (dev, CONTROL_0_REG)); |
|||
PRINTD (DBG_REGS, "RX CONFIG: %#x", rd_regw (dev, RX_CONFIG_OFF)); |
@ -1,24 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../linux26mm/disable-broken.lst |
|||
# Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# 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 --- |
|||
|
|||
CONFIG_PNPBIOS 2003-08-26 2.6.0-test4 # compiles but freezes |
|||
|
|||
CONFIG_BLK_DEV_IDESCSI 2003-12-24 2.6.0 # it is currently broken and obsolete anyway |
|||
CONFIG_FB_RADEON_OLD 2004-10-25 2.6.9 # it is obsolete and oopses on auto-detected load due to in-kernel new FB_RADEON driver ... |
|||
CONFIG_BLK_DEV_UB 2005-01-21 2.6.9/10 # the driver just sucks |
|||
CONFIG_DEVFS 2005-06-19 2.6.x # obsolete in T2 2.2 |
|||
CONFIG_SOUND_PRIME 2006-01-06 obsolete |
|||
QLOGIC_FC 2006-01-20 obsolete |
|||
CONFIG_EEPRO100 2006-02-01 obsolete |
|||
CONFIG_USB_SISUSBVGA 2006-05-15 broken right now |
@ -1,44 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../linux26mm/hotfix_amso1100.patch |
|||
# Copyright (C) 2006 The OpenSDE 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 --- |
|||
|
|||
CC [M] drivers/infiniband/hw/amso1100/c2_ae.o |
|||
drivers/infiniband/hw/amso1100/c2_ae.c: In function 'c2_ae_event': |
|||
drivers/infiniband/hw/amso1100/c2_ae.c:199: warning: implicit declaration of function 'to_event_str' |
|||
drivers/infiniband/hw/amso1100/c2_ae.c:203: warning: implicit declaration of function 'to_qp_state_str' |
|||
drivers/infiniband/hw/amso1100/c2_ae.c:203: warning: format '%s' expects type 'char *', but argument 3 has type 'int' |
|||
drivers/infiniband/hw/amso1100/c2_ae.c:203: warning: format '%s' expects type 'char *', but argument 7 has type 'int' |
|||
|
|||
WARNING: "to_qp_state_str" [drivers/infiniband/hw/amso1100/iw_c2.ko] undefined! |
|||
WARNING: "to_event_str" [drivers/infiniband/hw/amso1100/iw_c2.ko] undefined! |
|||
|
|||
--- ./drivers/infiniband/hw/amso1100/c2_ae.c.orig 2006-10-09 06:47:05.000000000 -0400
|
|||
+++ ./drivers/infiniband/hw/amso1100/c2_ae.c 2006-10-09 07:16:03.000000000 -0400
|
|||
@@ -66,7 +66,6 @@
|
|||
} |
|||
} |
|||
|
|||
-#ifdef DEBUG
|
|||
static const char* to_event_str(int event) |
|||
{ |
|||
static const char* event_str[] = { |
|||
@@ -144,7 +143,6 @@
|
|||
return "<invalid QP state>"; |
|||
}; |
|||
} |
|||
-#endif
|
|||
|
|||
void c2_ae_event(struct c2_dev *c2dev, u32 mq_index) |
|||
{ |
@ -1,36 +0,0 @@ |
|||
|
|||
[TIMESTAMP] 1118278880 Wed Jun 8 21:01:20 2005 |
|||
[CONFIG-ID] 2.1.0-rc1-x86-pentium4-generic |
|||
[BUILDTIME] 119313 (5) |
|||
[SIZE] 42.83 MB, 1569 files |
|||
|
|||
[DEP] 00-dirtree |
|||
[DEP] alsa-lib |
|||
[DEP] bash |
|||
[DEP] binutils |
|||
[DEP] bzip2 |
|||
[DEP] coreutils |
|||
[DEP] diffutils |
|||
[DEP] e2fsprogs |
|||
[DEP] findutils |
|||
[DEP] gawk |
|||
[DEP] gcc |
|||
[DEP] glibc |
|||
[DEP] grep |
|||
[DEP] gzip |
|||
[DEP] libdnet |
|||
[DEP] libusb |
|||
[DEP] linux-header |
|||
[DEP] m4 |
|||
[DEP] make |
|||
[DEP] mktemp |
|||
[DEP] module-init-tools |
|||
[DEP] modutils |
|||
[DEP] net-tools |
|||
[DEP] patch |
|||
[DEP] perl |
|||
[DEP] sed |
|||
[DEP] sysfiles |
|||
[DEP] tar |
|||
[DEP] util-linux |
|||
[DEP] xorg |
@ -1,23 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../linux26mm/linux26mm.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 --- |
|||
|
|||
#FIXME make option in Linux kernel settings menu |
|||
# to apply swsusp2 |
|||
# FIXME supporte software-suspend-2 |
|||
. $base/package/*/linux24/linux24.conf |
|||
|
|||
#echo_error "Seting alternative patch suffix due to noise in the mm patch!" |
|||
#echo_error "Recheck on next -mm release ..." |
|||
#var_append patchopt ' ' "-z .pref" |
|||
|
@ -1,39 +0,0 @@ |
|||
|
|||
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] |
|||
[COPY] Filename: package/.../linux26mm/linux26mm.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] mm tree of the Linux Kernel 2.6 |
|||
|
|||
[T] the -mm tree (patchset) contains not yet sufficiently tested patches that |
|||
[T] might later be accepted into the official 2.6 |
|||
|
|||
[U] http://www.kernel.org/ |
|||
|
|||
[A] Linus Torvalds <torvalds@transmeta.com> |
|||
[A] Andrew Morton <akpm@osdl.org> |
|||
[M] Alejandro Mery <amery@opensde.org> |
|||
|
|||
[C] base/kernel |
|||
[F] KERNEL |
|||
|
|||
[E] group kernel-bin |
|||
|
|||
[L] GPL |
|||
[S] Stable |
|||
[V] 2.6.18-mm3 |
|||
[P] O -?---5---9 102.060 |
|||
|
|||
[D] 1833570624 linux-2.6.18.tar.bz2 http://ftp.kernel.org/pub/linux/kernel/v2.6/ |
|||
[D] 264215164 patch-2.6.18-mm3.bz2 !http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18/2.6.18-mm3/2.6.18-mm3.bz2 |
@ -1,28 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../linux26mm/macbook-usb-hid.patch.disabled |
|||
# 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 --- |
|||
|
|||
--- ./drivers/usb/input/hid-core.c.orig 2006-06-01 15:52:13.000000000 +0200 |
|||
+++ ./drivers/usb/input/hid-core.c 2006-06-01 15:54:09.000000000 +0200 |
|||
@@ -1602,6 +1602,9 @@ |
|||
{ USB_VENDOR_ID_APPLE, 0x0214, HID_QUIRK_POWERBOOK_HAS_FN }, |
|||
{ USB_VENDOR_ID_APPLE, 0x0215, HID_QUIRK_POWERBOOK_HAS_FN }, |
|||
{ USB_VENDOR_ID_APPLE, 0x0216, HID_QUIRK_POWERBOOK_HAS_FN }, |
|||
+ { USB_VENDOR_ID_APPLE, 0x0217, HID_QUIRK_POWERBOOK_HAS_FN }, |
|||
+ { USB_VENDOR_ID_APPLE, 0x0218, HID_QUIRK_POWERBOOK_HAS_FN }, |
|||
+ { USB_VENDOR_ID_APPLE, 0x0219, HID_QUIRK_POWERBOOK_HAS_FN }, |
|||
{ USB_VENDOR_ID_APPLE, 0x030A, HID_QUIRK_POWERBOOK_HAS_FN }, |
|||
{ USB_VENDOR_ID_APPLE, 0x030B, HID_QUIRK_POWERBOOK_HAS_FN }, |
|||
|
@ -1,31 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../linux26mm/sk98lin-export-id-table.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 --- |
|||
|
|||
Well, no idea why this is missing ... |
|||
|
|||
- Rene Rebe <rene@exactcode.de> |
|||
|
|||
--- linux-2.6.11/drivers/net/sk98lin/skge.c.vanilla 2005-05-25 18:36:44.000000000 +0200
|
|||
+++ linux-2.6.11/drivers/net/sk98lin/skge.c 2005-05-25 18:38:33.000000000 +0200
|
|||
@@ -5152,6 +5152,8 @@
|
|||
{ 0, } |
|||
}; |
|||
|
|||
+MODULE_DEVICE_TABLE(pci, skge_pci_tbl);
|
|||
+
|
|||
static struct pci_driver skge_driver = { |
|||
.name = "skge", |
|||
.id_table = skge_pci_tbl, |
@ -1,26 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../linux26mm/tiacx.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 --- |
|||
|
|||
--- linux-2.6.15/drivers/net/wireless/tiacx/Kconfig.vanilla 2006-02-04 16:30:05.310874250 +0100
|
|||
+++ linux-2.6.15/drivers/net/wireless/tiacx/Kconfig 2006-02-04 16:30:32.876597000 +0100
|
|||
@@ -18,6 +18,7 @@
|
|||
config ACX_PCI |
|||
bool "TI acx100/acx111 802.11b/g PCI" |
|||
depends on ACX && PCI |
|||
+ default y
|
|||
---help--- |
|||
Include PCI and CardBus support in acx. |
|||
|
@ -1,82 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../linux26mm/unbreak-advansys-scsi.patch.disabled |
|||
# 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 --- |
|||
|
|||
Aside from tons of compiler warning, I have not found out via google, why the |
|||
AdvanSys driver is marked broken. |
|||
|
|||
It compiles and if it will not work with the ABP940-U I have lying around I'll |
|||
have to fix it up ... |
|||
|
|||
- Rene Rebe <rene@exactcode.de> |
|||
|
|||
--- linux-2.6.16/drivers/scsi/Kconfig.orig 2006-05-03 19:50:59.113854500 +0200 |
|||
+++ linux-2.6.16/drivers/scsi/Kconfig 2006-05-03 19:54:52.256425000 +0200 |
|||
@@ -458,7 +458,7 @@ |
|||
tristate "AdvanSys SCSI support" |
|||
depends on SCSI |
|||
depends on ISA || EISA || PCI |
|||
- depends on BROKEN || X86_32 |
|||
+ depends on X86_32 |
|||
help |
|||
This is a driver for all SCSI host adapters manufactured by |
|||
AdvanSys. It is documented in the kernel source in |
|||
--- linux-2.6.11/drivers/scsi/advansys.c 2005-03-02 08:37:52.000000000 +0100 |
|||
+++ linux-2.6.11-fixed/drivers/scsi/advansys.c 2005-05-23 11:09:06.000000000 +0200 |
|||
@@ -2056,11 +2056,11 @@ |
|||
/* |
|||
* Define Adv Library required memory access macros. |
|||
*/ |
|||
-#define ADV_MEM_READB(addr) readb(addr) |
|||
-#define ADV_MEM_READW(addr) readw(addr) |
|||
-#define ADV_MEM_WRITEB(addr, byte) writeb(byte, addr) |
|||
-#define ADV_MEM_WRITEW(addr, word) writew(word, addr) |
|||
-#define ADV_MEM_WRITEDW(addr, dword) writel(dword, addr) |
|||
+#define ADV_MEM_READB(addr) readb((void*)addr) |
|||
+#define ADV_MEM_READW(addr) readw((void*)addr) |
|||
+#define ADV_MEM_WRITEB(addr, byte) writeb(byte, (void*)addr) |
|||
+#define ADV_MEM_WRITEW(addr, word) writew(word, (void*)addr) |
|||
+#define ADV_MEM_WRITEDW(addr, dword) writel(dword, (void*)addr) |
|||
|
|||
#define ADV_CARRIER_COUNT (ASC_DEF_MAX_HOST_QNG + 15) |
|||
|
|||
@@ -4295,6 +4295,27 @@ |
|||
} |
|||
#endif /* CONFIG_PROC_FS */ |
|||
|
|||
+/* this is just preleminary, so we can auto detect the PCI cards - the driver |
|||
+ should be converted to the new module API ... -ReneR */ |
|||
+ |
|||
+static struct pci_device_id advansys_id_table[] __devinitdata = { |
|||
+ { ASC_PCI_VENDORID, ASC_PCI_DEVICE_ID_1100, |
|||
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL }, |
|||
+ { ASC_PCI_VENDORID, ASC_PCI_DEVICE_ID_1200, |
|||
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL }, |
|||
+ { ASC_PCI_VENDORID, ASC_PCI_DEVICE_ID_1300, |
|||
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL }, |
|||
+ { ASC_PCI_VENDORID, ASC_PCI_DEVICE_ID_2300, |
|||
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL }, |
|||
+ { ASC_PCI_VENDORID, ASC_PCI_DEVICE_ID_2500, |
|||
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL }, |
|||
+ { ASC_PCI_VENDORID, ASC_PCI_DEVICE_ID_2700, |
|||
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL }, |
|||
+ { 0, } |
|||
+}; |
|||
+ |
|||
+MODULE_DEVICE_TABLE(pci, advansys_id_table); |
|||
+ |
|||
/* |
|||
* advansys_detect() |
|||
* |
@ -1,15 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../uml_utilities/pkg_linux26mm_pre.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 --- |
|||
|
|||
. $base/package/*/uml_utilities/pkg_linux_pre.conf |
@ -1,16 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../vmware/pkg_linux26mm_post.conf |
|||
# Copyright (C) 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 " " "vmware" |
|||
|
@ -1,16 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../lirc/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 " " "lirc" |
|||
|
@ -1,16 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../ndiswrapper/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 " " "ndiswrapper" |
|||
|
@ -1,16 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../mol/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 --- |
|||
|
|||
. $base/package/*/mol/pkg_linux24_post.conf |
|||
|
@ -1,16 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../snd-aoa/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 " " "snd-aoa" |
|||
|
@ -1,16 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../comedi-driver/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 --- |
|||
|
|||
. $base/package/*/comedi-driver/pkg_linux24_post.conf |
|||
|
@ -1,16 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../grsecurity/pkg_linux26mm_post.conf |
|||
# Copyright (C) 2008 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 --- |
|||
|
|||
. $base/package/*/grsecurity/pkg_linux_post.conf |
@ -1,28 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../loop-aes/pkg_linux26mm_post.conf |
|||
# Copyright (C) 2008 The OpenSDE Project |
|||
# Copyright (C) 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 " " "loop-aes" |
|||
|
|||
. $base/package/*/loop-aes/patch_o_matic.in |
|||
|
|||
laes_pp() |
|||
{ |
|||
echo "loop-aes postpatch, applying $aespf" |
|||
rm -fv drivers/block/loop.c include/linux/loop.h |
|||
cat $aespf | patch $patchopt |
|||
} |
|||
hook_add postpatch 5 "laes_pp" |
|||
|
|||
var_append lx_confscripts ' ' "$base/package/*/loop-aes/kernel.conf.sh" |
@ -1,16 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../rsbac/pkg_linux26mm_post.conf |
|||
# Copyright (C) 2008 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 --- |
|||
|
|||
. $base/package/*/rsbac/pkg_linux_post.conf |
@ -1,16 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../vserver22/pkg_linux26mm_pre.conf |
|||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|||
# Copyright (C) 1998 - 2003 ROCK Linux 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 --- |
|||
|
|||
. $base/package/*/vserver22/pkg_linux_pre.conf |
@ -1,16 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../rivatv/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 " " "rivatv" |
|||
|