summaryrefslogtreecommitdiffstats
path: root/target/device/AMD/DBAu1500/kernel-patches
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-03-25 19:09:09 +0000
committerEric Andersen <andersen@codepoet.org>2006-03-25 19:09:09 +0000
commitba46d4d7caf5ec6c89fbbde4bb19a86a272c4611 (patch)
treead16141328c9251d4ce5461e63bb831c9806a140 /target/device/AMD/DBAu1500/kernel-patches
parent7aa8096f080eb0bf8db862741e57a21285ab4c61 (diff)
downloadbuildroot-novena-ba46d4d7caf5ec6c89fbbde4bb19a86a272c4611.tar.gz
buildroot-novena-ba46d4d7caf5ec6c89fbbde4bb19a86a272c4611.zip
update to linux 2.4.16 and current uClibc.
Diffstat (limited to 'target/device/AMD/DBAu1500/kernel-patches')
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/002-2.4.29-hf4.diff.bz2bin20508 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/003_kbuild_fixes.diff.bz2bin1091 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/004-correct-toolchain.patch48
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/004_386_emu.diff.bz2bin5288 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/005_modularize_vesafb.diff.bz2bin710 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/006_init_unshare.diff.bz2bin292 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/006_init_unshare.patch11
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/007-scsi_add_remove_single.bz2bin3981 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/008-ieee1394-fix.bz2bin390 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/008-ieee1394-fix.patch11
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/009-always-inline.bz2bin468 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/009-sysfs-n.patch27
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/010-optimize-for-size.bz2bin1192 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/012-x86-check_gcc.bz2bin329 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/015_cramfs_initrd.diff.bz2bin406 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/017-printk.bz2bin336 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/018-slab-loop-init.bz2bin268 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/028-cdrom_oexcl.patch13
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/029-cdrom_blocksize.patch109
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/041-changeloop.patch.bz2bin2783 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/042-loopfixes.patch.bz2bin640 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/044-streaming_io.bz2bin1736 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/062-silence-blk-queue.bz2bin374 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/063-silence.kbd.patch.bz2bin494 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/064-shutup-md.bz2bin501 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/064-shutup-md.patch11
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/067-squashfs2.patch.bz2bin12783 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/076-nmap-freak.bz2bin1576 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/077-orinoco-0.13e.bz2bin7387 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/078-hostap.bz2bin113714 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/079-jiffies64.bz2bin4782 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/089-no-touch-makedep.bz2bin858 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/098_scsi-warnings.patch18
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/100_VERSION.bz2bin227 -> 0 bytes
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/100_VERSION.patch12
35 files changed, 247 insertions, 13 deletions
diff --git a/target/device/AMD/DBAu1500/kernel-patches/002-2.4.29-hf4.diff.bz2 b/target/device/AMD/DBAu1500/kernel-patches/002-2.4.29-hf4.diff.bz2
deleted file mode 100644
index 6ca7c8d18..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/002-2.4.29-hf4.diff.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/003_kbuild_fixes.diff.bz2 b/target/device/AMD/DBAu1500/kernel-patches/003_kbuild_fixes.diff.bz2
deleted file mode 100644
index 4494739ab..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/003_kbuild_fixes.diff.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/004-correct-toolchain.patch b/target/device/AMD/DBAu1500/kernel-patches/004-correct-toolchain.patch
index 53e509d3a..13c6610dc 100644
--- a/target/device/AMD/DBAu1500/kernel-patches/004-correct-toolchain.patch
+++ b/target/device/AMD/DBAu1500/kernel-patches/004-correct-toolchain.patch
@@ -1,24 +1,46 @@
---- linux-2.4.29/arch/mips/Makefile.orig 2005-03-08 23:24:05.000000000 -0700
-+++ linux-2.4.29/arch/mips/Makefile 2005-03-08 23:27:37.000000000 -0700
-@@ -17,16 +17,16 @@
+--- linux/arch/mips/Makefile.orig 2006-01-02 20:21:10.000000000 -0700
++++ linux/arch/mips/Makefile 2006-03-19 17:25:29.000000000 -0700
+@@ -22,15 +22,15 @@
# Select the object file format to substitute into the linker script.
#
ifdef CONFIG_CPU_LITTLE_ENDIAN
--tool-prefix = mipsel-linux-
-+#tool-prefix = mipsel-linux-
- ld-emul = elf32ltsmip
+-32bit-tool-prefix = mipsel-linux-
+-64bit-tool-prefix = mips64el-linux-
++#32bit-tool-prefix = mipsel-linux-
++#64bit-tool-prefix = mips64el-linux-
+ 32bit-bfd = elf32-tradlittlemips
+ 64bit-bfd = elf64-tradlittlemips
+ 32bit-emul = elf32ltsmip
+ 64bit-emul = elf64ltsmip
else
--tool-prefix = mips-linux-
-+#tool-prefix = mips-linux-
- ld-emul = elf32btsmip
+-32bit-tool-prefix = mips-linux-
+-64bit-tool-prefix = mips64-linux-
++#32bit-tool-prefix = mips-linux-
++#64bit-tool-prefix = mips64-linux-
+ 32bit-bfd = elf32-tradbigmips
+ 64bit-bfd = elf64-tradbigmips
+ 32bit-emul = elf32btsmip
+@@ -39,18 +39,18 @@
+
+ ifdef CONFIG_32BIT
+ gcc-abi = 32
+-tool-prefix = $(32bit-tool-prefix)
++#tool-prefix = $(32bit-tool-prefix)
+ UTS_MACHINE := mips
+ endif
+ ifdef CONFIG_64BIT
+ gcc-abi = 64
+-tool-prefix = $(64bit-tool-prefix)
++#tool-prefix = $(64bit-tool-prefix)
+ UTS_MACHINE := mips64
endif
-ifdef CONFIG_CROSSCOMPILE
--CROSS_COMPILE = $(tool-prefix)
+-CROSS_COMPILE := $(tool-prefix)
-endif
+#ifdef CONFIG_CROSSCOMPILE
-+#CROSS_COMPILE = $(tool-prefix)
++#CROSS_COMPILE := $(tool-prefix)
+#endif
- MAKEBOOT = $(MAKE) -C arch/$(ARCH)/boot
-
+ CHECKFLAGS-y += -D__linux__ -D__mips__ \
+ -D_ABIO32=1 \
diff --git a/target/device/AMD/DBAu1500/kernel-patches/004_386_emu.diff.bz2 b/target/device/AMD/DBAu1500/kernel-patches/004_386_emu.diff.bz2
deleted file mode 100644
index 8e912e279..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/004_386_emu.diff.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/005_modularize_vesafb.diff.bz2 b/target/device/AMD/DBAu1500/kernel-patches/005_modularize_vesafb.diff.bz2
deleted file mode 100644
index 8f187e37c..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/005_modularize_vesafb.diff.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/006_init_unshare.diff.bz2 b/target/device/AMD/DBAu1500/kernel-patches/006_init_unshare.diff.bz2
deleted file mode 100644
index d1dfc7169..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/006_init_unshare.diff.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/006_init_unshare.patch b/target/device/AMD/DBAu1500/kernel-patches/006_init_unshare.patch
new file mode 100644
index 000000000..8b756f8ad
--- /dev/null
+++ b/target/device/AMD/DBAu1500/kernel-patches/006_init_unshare.patch
@@ -0,0 +1,11 @@
+--- orig/kernel/fork.c 2006-03-21 01:41:50.000000000 -0700
++++ linux-2.6.16/kernel/fork.c 2006-03-21 01:41:50.000000000 -0700
+@@ -773,7 +773,7 @@
+
+ /* This can race but the race causes us to copy when we don't
+ need to and drop the copy */
+- if(atomic_read(&files->count) == 1)
++ if(atomic_read(&files->count) == 1 || current->pid == 1)
+ {
+ atomic_inc(&files->count);
+ return 0;
diff --git a/target/device/AMD/DBAu1500/kernel-patches/007-scsi_add_remove_single.bz2 b/target/device/AMD/DBAu1500/kernel-patches/007-scsi_add_remove_single.bz2
deleted file mode 100644
index 5d4510b4b..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/007-scsi_add_remove_single.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/008-ieee1394-fix.bz2 b/target/device/AMD/DBAu1500/kernel-patches/008-ieee1394-fix.bz2
deleted file mode 100644
index d88f25134..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/008-ieee1394-fix.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/008-ieee1394-fix.patch b/target/device/AMD/DBAu1500/kernel-patches/008-ieee1394-fix.patch
new file mode 100644
index 000000000..e87c99078
--- /dev/null
+++ b/target/device/AMD/DBAu1500/kernel-patches/008-ieee1394-fix.patch
@@ -0,0 +1,11 @@
+--- orig/drivers/ieee1394/nodemgr.c 2006-03-21 01:41:51.000000000 -0700
++++ linux-2.6.16/drivers/ieee1394/nodemgr.c 2006-03-21 01:41:51.000000000 -0700
+@@ -1487,7 +1487,7 @@
+ /* If there is no bus manager then we should set the root node's
+ * force_root bit to promote bus stability per the 1394
+ * spec. (8.4.2.6) */
+- if (host->busmgr_id == 0xffff && host->node_count > 1)
++ if (host->busmgr_id == 0x3f && host->node_count > 1)
+ {
+ u16 root_node = host->node_count - 1;
+
diff --git a/target/device/AMD/DBAu1500/kernel-patches/009-always-inline.bz2 b/target/device/AMD/DBAu1500/kernel-patches/009-always-inline.bz2
deleted file mode 100644
index 0838fedd6..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/009-always-inline.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/009-sysfs-n.patch b/target/device/AMD/DBAu1500/kernel-patches/009-sysfs-n.patch
new file mode 100644
index 000000000..61359fc6b
--- /dev/null
+++ b/target/device/AMD/DBAu1500/kernel-patches/009-sysfs-n.patch
@@ -0,0 +1,27 @@
+--- linux-2.6.16-rc6-mm1.orig/lib/kobject_uevent.c 2006-03-14 22:57:23.000000000 +0900
++++ linux-2.6.16-rc6-mm1/lib/kobject_uevent.c 2006-03-15 08:39:33.000000000 +0900
+@@ -25,6 +25,11 @@
+ #define BUFFER_SIZE 2048 /* buffer for the variables */
+ #define NUM_ENVP 32 /* number of env pointers */
+
++#ifdef CONFIG_HOTPLUG
++u64 uevent_seqnum;
++char uevent_helper[UEVENT_HELPER_PATH_LEN] = "/sbin/hotplug";
++#endif
++
+ #if defined(CONFIG_HOTPLUG) && defined(CONFIG_NET)
+ static DEFINE_SPINLOCK(sequence_lock);
+ static struct sock *uevent_sock;
+--- linux-2.6.16-rc6-mm1.orig/kernel/ksysfs.c 2006-03-14 22:57:31.000000000 +0900
++++ linux-2.6.16-rc6-mm1/kernel/ksysfs.c 2006-03-15 08:41:11.000000000 +0900
+@@ -15,9 +15,6 @@
+ #include <linux/module.h>
+ #include <linux/init.h>
+
+-u64 uevent_seqnum;
+-char uevent_helper[UEVENT_HELPER_PATH_LEN] = "/sbin/hotplug";
+-
+ #define KERNEL_ATTR_RO(_name) \
+ static struct subsys_attribute _name##_attr = __ATTR_RO(_name)
+
+
diff --git a/target/device/AMD/DBAu1500/kernel-patches/010-optimize-for-size.bz2 b/target/device/AMD/DBAu1500/kernel-patches/010-optimize-for-size.bz2
deleted file mode 100644
index ae5cbbe71..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/010-optimize-for-size.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/012-x86-check_gcc.bz2 b/target/device/AMD/DBAu1500/kernel-patches/012-x86-check_gcc.bz2
deleted file mode 100644
index f645dc1aa..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/012-x86-check_gcc.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/015_cramfs_initrd.diff.bz2 b/target/device/AMD/DBAu1500/kernel-patches/015_cramfs_initrd.diff.bz2
deleted file mode 100644
index 1cbbbd5d7..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/015_cramfs_initrd.diff.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/017-printk.bz2 b/target/device/AMD/DBAu1500/kernel-patches/017-printk.bz2
deleted file mode 100644
index da9997616..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/017-printk.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/018-slab-loop-init.bz2 b/target/device/AMD/DBAu1500/kernel-patches/018-slab-loop-init.bz2
deleted file mode 100644
index dfba2bae5..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/018-slab-loop-init.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/028-cdrom_oexcl.patch b/target/device/AMD/DBAu1500/kernel-patches/028-cdrom_oexcl.patch
new file mode 100644
index 000000000..577cdb0b4
--- /dev/null
+++ b/target/device/AMD/DBAu1500/kernel-patches/028-cdrom_oexcl.patch
@@ -0,0 +1,13 @@
+--- orig/drivers/cdrom/cdrom.c 2004-12-07 22:55:38.000000000 -0700
++++ linux-2.6.10-rc3/drivers/cdrom/cdrom.c 2004-12-07 22:55:38.000000000 -0700
+@@ -997,6 +997,10 @@
+
+ cdinfo(CD_OPEN, "entering cdrom_open\n");
+
++ /* If the device is opened O_EXCL but there are other openers, return busy */
++ if ( (fp->f_flags & O_EXCL) && (cdi->use_count>0) )
++ return -EBUSY;
++
+ /* if this was a O_NONBLOCK open and we should honor the flags,
+ * do a quick open without drive/disc integrity checks. */
+ cdi->use_count++;
diff --git a/target/device/AMD/DBAu1500/kernel-patches/029-cdrom_blocksize.patch b/target/device/AMD/DBAu1500/kernel-patches/029-cdrom_blocksize.patch
new file mode 100644
index 000000000..90c2961ba
--- /dev/null
+++ b/target/device/AMD/DBAu1500/kernel-patches/029-cdrom_blocksize.patch
@@ -0,0 +1,109 @@
+--- orig/include/linux/cdrom.h 2005-10-28 10:14:52.000000000 -0600
++++ linux-2.6.14/include/linux/cdrom.h 2005-10-28 10:14:52.000000000 -0600
+@@ -946,7 +946,8 @@
+ char name[20]; /* name of the device type */
+ /* per-device flags */
+ __u8 sanyo_slot : 2; /* Sanyo 3 CD changer support */
+- __u8 reserved : 6; /* not used yet */
++ __u8 use_read10 : 1; /* Use READ10 instead of READCD */
++ __u8 reserved : 5; /* not used yet */
+ int cdda_method; /* see flags */
+ __u8 last_sense;
+ __u8 media_written; /* dirty flag, DVD+RW bookkeeping */
+--- orig/drivers/cdrom/cdrom.c 2005-10-28 10:14:52.000000000 -0600
++++ linux-2.6.14/drivers/cdrom/cdrom.c 2005-10-28 10:14:52.000000000 -0600
+@@ -1982,6 +1982,8 @@
+ return 0;
+ }
+
++static int cdrom_switch_blocksize(struct cdrom_device_info *cdi, int size);
++
+ /*
+ * Specific READ_10 interface
+ */
+@@ -1990,6 +1992,7 @@
+ int blocksize, int nblocks)
+ {
+ struct cdrom_device_ops *cdo = cdi->ops;
++ int ret = 0;
+
+ memset(&cgc->cmd, 0, sizeof(cgc->cmd));
+ cgc->cmd[0] = GPCMD_READ_10;
+@@ -2001,7 +2004,22 @@
+ cgc->cmd[7] = (nblocks >> 8) & 0xff;
+ cgc->cmd[8] = nblocks & 0xff;
+ cgc->buflen = blocksize * nblocks;
+- return cdo->generic_packet(cdi, cgc);
++
++ if (blocksize != CD_FRAMESIZE) {
++ ret = cdrom_switch_blocksize(cdi, blocksize);
++ ret |= cdo->generic_packet(cdi, cgc);
++ ret |= cdrom_switch_blocksize(cdi, CD_FRAMESIZE);
++ } else ret = cdo->generic_packet(cdi, cgc);
++
++ /*
++ * Switch cdrom_read_block back to default behaviour
++ * if we get an error.
++ * FIXME: Maybe this should not be done on all errors.
++ */
++ if (ret != 0)
++ cdi->use_read10 = 0;
++
++ return ret;
+ }
+
+ /* very generic interface for reading the various types of blocks */
+@@ -2010,8 +2028,15 @@
+ int lba, int nblocks, int format, int blksize)
+ {
+ struct cdrom_device_ops *cdo = cdi->ops;
++ int ret;
++
++ if (cdi->use_read10)
++ return cdrom_read_cd(cdi, cgc, lba, blksize, nblocks);
+
+ memset(&cgc->cmd, 0, sizeof(cgc->cmd));
++ /*
++ * SCSI-II devices are not required to support READ_CD.
++ */
+ cgc->cmd[0] = GPCMD_READ_CD;
+ /* expected sector size - cdda,mode1,etc. */
+ cgc->cmd[1] = format << 2;
+@@ -2034,7 +2059,15 @@
+ default : cgc->cmd[9] = 0x10;
+ }
+
+- return cdo->generic_packet(cdi, cgc);
++ ret = cdo->generic_packet(cdi, cgc);
++ if (ret && cgc->sense && cgc->sense->sense_key==0x05 && cgc->sense->asc==0x20 && cgc->sense->ascq==0x00) {
++ ret = cdrom_read_cd(cdi, cgc, lba, blksize, nblocks);
++ if (ret == 0) {
++ cdi->use_read10 = 1;
++ printk(KERN_INFO "cdrom.c: drive does not like READ_CD for blksize=%d, switching to READ_10.\n", blksize);
++ }
++ }
++ return ret;
+ }
+
+ static int cdrom_read_cdda_old(struct cdrom_device_info *cdi, __u8 __user *ubuf,
+@@ -2671,20 +2704,6 @@
+ cgc.sense = &sense;
+ cgc.data_direction = CGC_DATA_READ;
+ ret = cdrom_read_block(cdi, &cgc, lba, 1, format, blocksize);
+- if (ret && sense.sense_key==0x05 && sense.asc==0x20 && sense.ascq==0x00) {
+- /*
+- * SCSI-II devices are not required to support
+- * READ_CD, so let's try switching block size
+- */
+- /* FIXME: switch back again... */
+- if ((ret = cdrom_switch_blocksize(cdi, blocksize))) {
+- kfree(cgc.buffer);
+- return ret;
+- }
+- cgc.sense = NULL;
+- ret = cdrom_read_cd(cdi, &cgc, lba, blocksize, 1);
+- ret |= cdrom_switch_blocksize(cdi, blocksize);
+- }
+ if (!ret && copy_to_user((char __user *)arg, cgc.buffer, blocksize))
+ ret = -EFAULT;
+ kfree(cgc.buffer);
diff --git a/target/device/AMD/DBAu1500/kernel-patches/041-changeloop.patch.bz2 b/target/device/AMD/DBAu1500/kernel-patches/041-changeloop.patch.bz2
deleted file mode 100644
index 9e64eca6b..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/041-changeloop.patch.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/042-loopfixes.patch.bz2 b/target/device/AMD/DBAu1500/kernel-patches/042-loopfixes.patch.bz2
deleted file mode 100644
index 456ee6145..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/042-loopfixes.patch.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/044-streaming_io.bz2 b/target/device/AMD/DBAu1500/kernel-patches/044-streaming_io.bz2
deleted file mode 100644
index 314128c0d..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/044-streaming_io.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/062-silence-blk-queue.bz2 b/target/device/AMD/DBAu1500/kernel-patches/062-silence-blk-queue.bz2
deleted file mode 100644
index b305f783b..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/062-silence-blk-queue.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/063-silence.kbd.patch.bz2 b/target/device/AMD/DBAu1500/kernel-patches/063-silence.kbd.patch.bz2
deleted file mode 100644
index 6dd7fbeda..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/063-silence.kbd.patch.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/064-shutup-md.bz2 b/target/device/AMD/DBAu1500/kernel-patches/064-shutup-md.bz2
deleted file mode 100644
index 944b12ace..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/064-shutup-md.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/064-shutup-md.patch b/target/device/AMD/DBAu1500/kernel-patches/064-shutup-md.patch
new file mode 100644
index 000000000..018c4bc1b
--- /dev/null
+++ b/target/device/AMD/DBAu1500/kernel-patches/064-shutup-md.patch
@@ -0,0 +1,11 @@
+--- orig/drivers/md/md.c 2006-03-21 01:43:49.000000000 -0700
++++ linux-2.6.16/drivers/md/md.c 2006-03-21 01:43:49.000000000 -0700
+@@ -4860,7 +4860,7 @@
+
+ if ((code == SYS_DOWN) || (code == SYS_HALT) || (code == SYS_POWER_OFF)) {
+
+- printk(KERN_INFO "md: stopping all md devices.\n");
++ //printk(KERN_INFO "md: stopping all md devices.\n");
+
+ ITERATE_MDDEV(mddev,tmp)
+ if (mddev_trylock(mddev)==0)
diff --git a/target/device/AMD/DBAu1500/kernel-patches/067-squashfs2.patch.bz2 b/target/device/AMD/DBAu1500/kernel-patches/067-squashfs2.patch.bz2
deleted file mode 100644
index 24f82e715..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/067-squashfs2.patch.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/076-nmap-freak.bz2 b/target/device/AMD/DBAu1500/kernel-patches/076-nmap-freak.bz2
deleted file mode 100644
index 580b5a820..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/076-nmap-freak.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/077-orinoco-0.13e.bz2 b/target/device/AMD/DBAu1500/kernel-patches/077-orinoco-0.13e.bz2
deleted file mode 100644
index 7f2bfb3dc..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/077-orinoco-0.13e.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/078-hostap.bz2 b/target/device/AMD/DBAu1500/kernel-patches/078-hostap.bz2
deleted file mode 100644
index 5d157b07a..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/078-hostap.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/079-jiffies64.bz2 b/target/device/AMD/DBAu1500/kernel-patches/079-jiffies64.bz2
deleted file mode 100644
index f3cea9e1e..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/079-jiffies64.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/089-no-touch-makedep.bz2 b/target/device/AMD/DBAu1500/kernel-patches/089-no-touch-makedep.bz2
deleted file mode 100644
index 2e413ccaf..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/089-no-touch-makedep.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/098_scsi-warnings.patch b/target/device/AMD/DBAu1500/kernel-patches/098_scsi-warnings.patch
new file mode 100644
index 000000000..6a88d2e74
--- /dev/null
+++ b/target/device/AMD/DBAu1500/kernel-patches/098_scsi-warnings.patch
@@ -0,0 +1,18 @@
+--- orig/drivers/scsi/scsi_ioctl.c 2005-12-03 02:10:27.000000000 -0700
++++ linux-2.6.14/drivers/scsi/scsi_ioctl.c 2005-12-03 02:10:27.000000000 -0700
+@@ -374,6 +374,7 @@
+ if (!scsi_block_when_processing_errors(sdev))
+ return -ENODEV;
+
++#if 0
+ /* Check for deprecated ioctls ... all the ioctls which don't
+ * follow the new unique numbering scheme are deprecated */
+ switch (cmd) {
+@@ -389,6 +390,7 @@
+ default:
+ break;
+ }
++#endif
+
+ switch (cmd) {
+ case SCSI_IOCTL_GET_IDLUN:
diff --git a/target/device/AMD/DBAu1500/kernel-patches/100_VERSION.bz2 b/target/device/AMD/DBAu1500/kernel-patches/100_VERSION.bz2
deleted file mode 100644
index 053f2c9b5..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/100_VERSION.bz2
+++ /dev/null
Binary files differ
diff --git a/target/device/AMD/DBAu1500/kernel-patches/100_VERSION.patch b/target/device/AMD/DBAu1500/kernel-patches/100_VERSION.patch
new file mode 100644
index 000000000..5490c2b73
--- /dev/null
+++ b/target/device/AMD/DBAu1500/kernel-patches/100_VERSION.patch
@@ -0,0 +1,12 @@
+--- orig/Makefile 2005-12-03 09:22:07 +0000
++++ linux-2.6.14/Makefile 2005-12-03 09:22:07 +0000
+@@ -1,7 +1,7 @@
+ VERSION = 2
+ PATCHLEVEL = 6
+-SUBLEVEL = 16
+-EXTRAVERSION =
++SUBLEVEL = 16
++EXTRAVERSION = -erik
+ NAME=Sliding Snow Leopard
+
+ # *DOCUMENTATION*