diff options
author | Alexandros C. Couloumbis <alex@ozo.com> | 2010-04-30 11:05:40 +0000 |
---|---|---|
committer | Alexandros C. Couloumbis <alex@ozo.com> | 2010-04-30 11:05:40 +0000 |
commit | 4cdd24169bb791a3e61fec77060dba10462b445f (patch) | |
tree | 68aaaf22909cc3e96a00f36e796287491a27aee0 | |
parent | 60cfd441cc66692a0d8db712bd886307d2fda1ea (diff) | |
download | master-187ad058-4cdd24169bb791a3e61fec77060dba10462b445f.tar.gz master-187ad058-4cdd24169bb791a3e61fec77060dba10462b445f.tar.bz2 master-187ad058-4cdd24169bb791a3e61fec77060dba10462b445f.zip |
brcm47xx: refresh 2.6.33 kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21265 3c298f89-4303-0410-b956-a3cf2f4a3e73
6 files changed, 17 insertions, 18 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.33/275-usb2-bcm5354-init.patch b/target/linux/brcm47xx/patches-2.6.33/275-usb2-bcm5354-init.patch index 3d8327ebfd..6f193bc09f 100644 --- a/target/linux/brcm47xx/patches-2.6.33/275-usb2-bcm5354-init.patch +++ b/target/linux/brcm47xx/patches-2.6.33/275-usb2-bcm5354-init.patch @@ -41,19 +41,18 @@ Signed-off-by: Steve Brown <sbrown@cortland.com> - ssb_write32(dev, 0x400, tmp); - tmp = ssb_read32(dev, 0x400); - printk("USB20H fcr: 0x%0x\n", tmp); -- ++ /* Work around for 5354 failures */ ++ if ((dev->id.revision == 2) && (dev->bus->chip_id == 0x5354)) { ++ /* Change syn01 reg */ ++ tmp = 0x00fe00fe; ++ ssb_write32(dev, 0x894, tmp); + - /* Change Shim control reg */ - tmp = ssb_read32(dev, 0x304); - tmp &= ~0x100; - ssb_write32(dev, 0x304, tmp); - tmp = ssb_read32(dev, 0x304); - printk("USB20H shim: 0x%0x\n", tmp); -+ /* Work around for 5354 failures */ -+ if ((dev->id.revision == 2) && (dev->bus->chip_id == 0x5354)) { -+ /* Change syn01 reg */ -+ tmp = 0x00fe00fe; -+ ssb_write32(dev, 0x894, tmp); -+ + /* Change syn03 reg */ + tmp = ssb_read32(dev, 0x89c); + tmp |= 0x1; diff --git a/target/linux/brcm47xx/patches-2.6.33/310-no_highpage.patch b/target/linux/brcm47xx/patches-2.6.33/310-no_highpage.patch index cde3cbf727..33319ca3a5 100644 --- a/target/linux/brcm47xx/patches-2.6.33/310-no_highpage.patch +++ b/target/linux/brcm47xx/patches-2.6.33/310-no_highpage.patch @@ -8,7 +8,7 @@ #include <asm/io.h> extern void build_clear_page(void); -@@ -78,13 +79,16 @@ static inline void clear_user_page(void +@@ -78,13 +79,16 @@ static inline void clear_user_page(void flush_data_cache_page((unsigned long)addr); } diff --git a/target/linux/brcm47xx/patches-2.6.33/700-ssb-gigabit-ethernet-driver.patch b/target/linux/brcm47xx/patches-2.6.33/700-ssb-gigabit-ethernet-driver.patch index 04185d729e..5eb87d9ba2 100644 --- a/target/linux/brcm47xx/patches-2.6.33/700-ssb-gigabit-ethernet-driver.patch +++ b/target/linux/brcm47xx/patches-2.6.33/700-ssb-gigabit-ethernet-driver.patch @@ -8,7 +8,7 @@ #include <net/checksum.h> #include <net/ip.h> -@@ -466,8 +467,9 @@ static void _tw32_flush(struct tg3 *tp, +@@ -466,8 +467,9 @@ static void _tw32_flush(struct tg3 *tp, static inline void tw32_mailbox_flush(struct tg3 *tp, u32 off, u32 val) { tp->write32_mbox(tp, off, val); @@ -61,7 +61,7 @@ { u32 frame_val; unsigned int loops; -@@ -842,7 +849,7 @@ static int tg3_writephy(struct tg3 *tp, +@@ -842,7 +849,7 @@ static int tg3_writephy(struct tg3 *tp, udelay(80); } @@ -70,7 +70,7 @@ MI_COM_PHY_ADDR_MASK); frame_val |= ((reg << MI_COM_REG_ADDR_SHIFT) & MI_COM_REG_ADDR_MASK); -@@ -875,6 +882,11 @@ static int tg3_writephy(struct tg3 *tp, +@@ -875,6 +882,11 @@ static int tg3_writephy(struct tg3 *tp, return ret; } @@ -147,7 +147,7 @@ tw32(GRC_MODE, tp->grc_mode); if (tp->pci_chip_rev_id == CHIPREV_ID_5705_A0) { -@@ -7089,9 +7127,12 @@ static int tg3_halt_cpu(struct tg3 *tp, +@@ -7089,9 +7127,12 @@ static int tg3_halt_cpu(struct tg3 *tp, return -ENODEV; } @@ -175,7 +175,7 @@ fw_data = (void *)tp->fw->data; /* Firmware blob starts with version numbers, followed by -@@ -7213,6 +7259,11 @@ static int tg3_load_tso_firmware(struct +@@ -7213,6 +7259,11 @@ static int tg3_load_tso_firmware(struct unsigned long cpu_base, cpu_scratch_base, cpu_scratch_size; int err, i; @@ -242,7 +242,7 @@ tw32_f(GRC_EEPROM_ADDR, (EEPROM_ADDR_FSM_RESET | (EEPROM_DEFAULT_CLOCK_PERIOD << -@@ -11936,6 +12003,9 @@ static int tg3_nvram_write_block(struct +@@ -11936,6 +12003,9 @@ static int tg3_nvram_write_block(struct { int ret; diff --git a/target/linux/brcm47xx/patches-2.6.33/813-use_netdev_alloc_skb.patch b/target/linux/brcm47xx/patches-2.6.33/813-use_netdev_alloc_skb.patch index c431e40967..a9b2db586a 100644 --- a/target/linux/brcm47xx/patches-2.6.33/813-use_netdev_alloc_skb.patch +++ b/target/linux/brcm47xx/patches-2.6.33/813-use_netdev_alloc_skb.patch @@ -1,6 +1,6 @@ --- a/drivers/net/b44.c +++ b/drivers/net/b44.c -@@ -815,7 +815,7 @@ static int b44_rx(struct b44 *bp, int bu +@@ -848,7 +848,7 @@ static int b44_rx(struct b44 *bp, int bu struct sk_buff *copy_skb; b44_recycle_rx(bp, cons, bp->rx_prod); diff --git a/target/linux/brcm47xx/patches-2.6.33/940-bcm47xx-yenta.patch b/target/linux/brcm47xx/patches-2.6.33/940-bcm47xx-yenta.patch index b92e085235..c4f552b9dd 100644 --- a/target/linux/brcm47xx/patches-2.6.33/940-bcm47xx-yenta.patch +++ b/target/linux/brcm47xx/patches-2.6.33/940-bcm47xx-yenta.patch @@ -28,7 +28,7 @@ dev_printk(KERN_INFO, &socket->dev->dev, "ISA IRQ mask 0x%04x, PCI irq %d\n", socket->socket.irq_mask, socket->cb_irq); -@@ -1243,6 +1250,15 @@ static int __devinit yenta_probe(struct +@@ -1243,6 +1250,15 @@ static int __devinit yenta_probe(struct dev_printk(KERN_INFO, &dev->dev, "Socket status: %08x\n", cb_readl(socket, CB_SOCKET_STATE)); diff --git a/target/linux/brcm47xx/patches-2.6.33/950-sbb-sysfs-files.patch b/target/linux/brcm47xx/patches-2.6.33/950-sbb-sysfs-files.patch index ddb1f1b383..5faf61de6a 100644 --- a/target/linux/brcm47xx/patches-2.6.33/950-sbb-sysfs-files.patch +++ b/target/linux/brcm47xx/patches-2.6.33/950-sbb-sysfs-files.patch @@ -1,6 +1,6 @@ --- a/drivers/ssb/main.c +++ b/drivers/ssb/main.c -@@ -385,6 +385,34 @@ static int ssb_device_uevent(struct devi +@@ -384,6 +384,34 @@ static int ssb_device_uevent(struct devi ssb_dev->id.revision); } @@ -35,7 +35,7 @@ static struct bus_type ssb_bustype = { .name = "ssb", .match = ssb_bus_match, -@@ -394,6 +422,7 @@ static struct bus_type ssb_bustype = { +@@ -393,6 +421,7 @@ static struct bus_type ssb_bustype = { .suspend = ssb_device_suspend, .resume = ssb_device_resume, .uevent = ssb_device_uevent, |