aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.4/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-11-24 00:56:51 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-11-24 00:56:51 +0000
commit3b9654520c414ee0064ded6bc5b127280f136b28 (patch)
tree9cd8f70d8f031f448f96ffbf04046eb2a869cb41 /target/linux/generic-2.4/patches
parentcf921b2f2874acc2f5427ecff6775a1e13d760cd (diff)
downloadupstream-3b9654520c414ee0064ded6bc5b127280f136b28.tar.gz
upstream-3b9654520c414ee0064ded6bc5b127280f136b28.tar.bz2
upstream-3b9654520c414ee0064ded6bc5b127280f136b28.zip
upgrade to linux 2.4.33.4
SVN-Revision: 5634
Diffstat (limited to 'target/linux/generic-2.4/patches')
-rw-r--r--target/linux/generic-2.4/patches/006-gcc4_fixes.patch12
-rw-r--r--target/linux/generic-2.4/patches/007-more_gcc4_fixes.patch22
-rw-r--r--target/linux/generic-2.4/patches/115-amd_flash_timeout.patch39
-rw-r--r--target/linux/generic-2.4/patches/228-more_usb_fixes.patch9
-rw-r--r--target/linux/generic-2.4/patches/229-pppoe_mtu_fix.patch12
5 files changed, 0 insertions, 94 deletions
diff --git a/target/linux/generic-2.4/patches/006-gcc4_fixes.patch b/target/linux/generic-2.4/patches/006-gcc4_fixes.patch
index 4034d1b48b..beb0c52f8a 100644
--- a/target/linux/generic-2.4/patches/006-gcc4_fixes.patch
+++ b/target/linux/generic-2.4/patches/006-gcc4_fixes.patch
@@ -184,18 +184,6 @@ diff -rupN linux-2.4.32/drivers/sound/sound_firmware.c linux-2.4.32.gcc4-fixes-v
static int do_mod_firmware_load(const char *fn, char **fp)
{
int fd;
-diff -rupN linux-2.4.32/drivers/usb/host/ehci-q.c linux-2.4.32.gcc4-fixes-v12/drivers/usb/host/ehci-q.c
---- linux-2.4.32/drivers/usb/host/ehci-q.c 2005-01-19 18:00:53.000000000 +0100
-+++ linux-2.4.32.gcc4-fixes-v12/drivers/usb/host/ehci-q.c 2005-11-17 13:32:13.000000000 +0100
-@@ -199,8 +199,6 @@ ehci_urb_done (struct ehci_hcd *ehci, st
- #ifdef INTR_AUTOMAGIC
- struct urb *resubmit = 0;
- struct usb_device *dev = 0;
--
-- static int ehci_urb_enqueue (struct usb_hcd *, struct urb *, int);
- #endif
-
- if (likely (urb->hcpriv != 0)) {
diff -rupN linux-2.4.32/drivers/usb/inode.c linux-2.4.32.gcc4-fixes-v12/drivers/usb/inode.c
--- linux-2.4.32/drivers/usb/inode.c 2004-02-18 15:16:23.000000000 +0100
+++ linux-2.4.32.gcc4-fixes-v12/drivers/usb/inode.c 2005-11-17 13:32:13.000000000 +0100
diff --git a/target/linux/generic-2.4/patches/007-more_gcc4_fixes.patch b/target/linux/generic-2.4/patches/007-more_gcc4_fixes.patch
index b234c7028c..79acf443d8 100644
--- a/target/linux/generic-2.4/patches/007-more_gcc4_fixes.patch
+++ b/target/linux/generic-2.4/patches/007-more_gcc4_fixes.patch
@@ -753,28 +753,6 @@ diff -rupN linux-2.4.32/drivers/net/arlan.h linux-2.4.32.more-gcc4-fixes-v1/driv
extern int arlan_entry_debug;
extern int arlan_exit_debug;
extern int testMemory;
-diff -rupN linux-2.4.32/drivers/net/bonding/bond_alb.c linux-2.4.32.more-gcc4-fixes-v1/drivers/net/bonding/bond_alb.c
---- linux-2.4.32/drivers/net/bonding/bond_alb.c 2004-04-14 20:22:20.000000000 +0200
-+++ linux-2.4.32.more-gcc4-fixes-v1/drivers/net/bonding/bond_alb.c 2005-11-17 13:31:16.000000000 +0100
-@@ -1275,7 +1275,7 @@ void bond_alb_deinitialize(struct bondin
- int bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev)
- {
- struct bonding *bond = bond_dev->priv;
-- struct ethhdr *eth_data = (struct ethhdr *)skb->mac.raw = skb->data;
-+ struct ethhdr *eth_data;
- struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond));
- struct slave *tx_slave = NULL;
- static u32 ip_bcast = 0xffffffff;
-@@ -1285,6 +1285,9 @@ int bond_alb_xmit(struct sk_buff *skb, s
- u8 *hash_start = NULL;
- int res = 1;
-
-+ skb->mac.raw = (unsigned char *)skb->data;
-+ eth_data = (struct ethhdr *)skb->mac.raw;
-+
- /* make sure that the curr_active_slave and the slaves list do
- * not change during tx
- */
diff -rupN linux-2.4.32/drivers/net/de4x5.c linux-2.4.32.more-gcc4-fixes-v1/drivers/net/de4x5.c
--- linux-2.4.32/drivers/net/de4x5.c 2004-02-18 15:16:23.000000000 +0100
+++ linux-2.4.32.more-gcc4-fixes-v1/drivers/net/de4x5.c 2005-11-17 13:31:16.000000000 +0100
diff --git a/target/linux/generic-2.4/patches/115-amd_flash_timeout.patch b/target/linux/generic-2.4/patches/115-amd_flash_timeout.patch
deleted file mode 100644
index 188aa1c88a..0000000000
--- a/target/linux/generic-2.4/patches/115-amd_flash_timeout.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff -u linux-2.4.30/drivers/mtd/chips/cfi_cmdset_0002.c.orig linux-2.4.30/drivers/mtd/chips/cfi_cmdset_0002.c
---- linux-2.4.30/drivers/mtd/chips/cfi_cmdset_0002.c.orig 2004-11-17 12:54:21.000000000 +0100
-+++ linux-2.4.30/drivers/mtd/chips/cfi_cmdset_0002.c 2006-10-21 17:55:25.000000000 +0200
-@@ -510,7 +510,7 @@
- or tells us why it failed. */
- dq6 = CMD(1<<6);
- dq5 = CMD(1<<5);
-- timeo = jiffies + (HZ/1000); /* setting timeout to 1ms for now */
-+ timeo = jiffies + (HZ/1000) + 1; /* setting timeout to 1ms for now */
-
- oldstatus = cfi_read(map, adr);
- status = cfi_read(map, adr);
-@@ -547,7 +547,7 @@
- printk(KERN_WARNING "Internal flash device timeout occurred or write operation was performed while flash was programming.\n" );
- }
- } else {
-- printk(KERN_WARNING "Waiting for write to complete timed out in do_write_oneword.");
-+ printk(KERN_WARNING "Waiting for write to complete timed out in do_write_oneword.\n");
-
- chip->state = FL_READY;
- wake_up(&chip->wq);
-@@ -825,7 +825,7 @@
- chip->state = FL_READY;
- wake_up(&chip->wq);
- cfi_spin_unlock(chip->mutex);
-- printk("waiting for erase to complete timed out.");
-+ printk("waiting for erase to complete timed out.\n");
- DISABLE_VPP(map);
- return -EIO;
- }
-@@ -963,7 +963,7 @@
- }
- else
- {
-- printk( "Waiting for erase to complete timed out in do_erase_oneblock.");
-+ printk( "Waiting for erase to complete timed out in do_erase_oneblock.\n");
-
- chip->state = FL_READY;
- wake_up(&chip->wq);
diff --git a/target/linux/generic-2.4/patches/228-more_usb_fixes.patch b/target/linux/generic-2.4/patches/228-more_usb_fixes.patch
index 40b24cac0f..f53a5247ca 100644
--- a/target/linux/generic-2.4/patches/228-more_usb_fixes.patch
+++ b/target/linux/generic-2.4/patches/228-more_usb_fixes.patch
@@ -93,15 +93,6 @@ diff -ur linux.old/drivers/usb/host/ehci-q.c linux.dev/drivers/usb/host/ehci-q.c
diff -ur linux.old/drivers/usb/host/usb-uhci.c linux.dev/drivers/usb/host/usb-uhci.c
--- linux.old/drivers/usb/host/usb-uhci.c 2004-11-17 12:54:21.000000000 +0100
+++ linux.dev/drivers/usb/host/usb-uhci.c 2006-07-30 12:10:16.000000000 +0200
-@@ -2491,7 +2491,7 @@
- ((urb_priv_t*)urb->hcpriv)->flags=0;
- }
-
-- if ((urb->status != -ECONNABORTED) && (urb->status != ECONNRESET) &&
-+ if ((urb->status != -ECONNABORTED) && (urb->status != -ECONNRESET) &&
- (urb->status != -ENOENT)) {
-
- urb->status = -EINPROGRESS;
@@ -3034,6 +3034,21 @@
pci_set_master(dev);
diff --git a/target/linux/generic-2.4/patches/229-pppoe_mtu_fix.patch b/target/linux/generic-2.4/patches/229-pppoe_mtu_fix.patch
deleted file mode 100644
index c2e4f064ca..0000000000
--- a/target/linux/generic-2.4/patches/229-pppoe_mtu_fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- linux-2.4.30/drivers/net/pppoe.c.old 2006-10-10 13:49:12.000000000 +0200
-+++ linux-2.4.30/drivers/net/pppoe.c 2006-10-10 13:50:02.000000000 +0200
-@@ -639,6 +639,9 @@
- po->chan.hdrlen = (sizeof(struct pppoe_hdr) +
- dev->hard_header_len);
-
-+ if (po->chan.mtu > dev->mtu - sizeof(struct pppoe_hdr))
-+ po->chan.mtu = dev->mtu - sizeof(struct pppoe_hdr);
-+
- po->chan.private = sk;
- po->chan.ops = &pppoe_chan_ops;
-