brcm47xx: refresh 2.6.33 kernel patches
authorAlexandros C. Couloumbis <alex@ozo.com>
Fri, 30 Apr 2010 11:05:40 +0000 (11:05 +0000)
committerAlexandros C. Couloumbis <alex@ozo.com>
Fri, 30 Apr 2010 11:05:40 +0000 (11:05 +0000)
SVN-Revision: 21265

target/linux/brcm47xx/patches-2.6.33/275-usb2-bcm5354-init.patch
target/linux/brcm47xx/patches-2.6.33/310-no_highpage.patch
target/linux/brcm47xx/patches-2.6.33/700-ssb-gigabit-ethernet-driver.patch
target/linux/brcm47xx/patches-2.6.33/813-use_netdev_alloc_skb.patch
target/linux/brcm47xx/patches-2.6.33/940-bcm47xx-yenta.patch
target/linux/brcm47xx/patches-2.6.33/950-sbb-sysfs-files.patch

index 3d8327ebfd06612a5196e6896bde8417c6108115..6f193bc09f37c5f0351a3d22b6f2ff7037e72c10 100644 (file)
@@ -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;
index cde3cbf7275d62d2528fb04fb6e02c4eea24b1a2..33319ca3a5fee8f1417ee9e8585f1119fafa24f5 100644 (file)
@@ -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);
  }
  
index 04185d729e870c6f4916b3fe2e0f59b81cc9db39..5eb87d9ba23a935770f7579cf83935136b0a43de 100644 (file)
@@ -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;
  }
  
        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;
        }
  
        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;
  
        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;
  
index c431e4096733315d34573974c1212454a99ea032..a9b2db586a2a74c12fabd4a77a0d07fa58f2d87b 100644 (file)
@@ -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);
index b92e085235770c17c234e7868c0d9672074a0ef9..c4f552b9dd4cdd2e9613bdeeeeebc8d2e5eb1623 100644 (file)
@@ -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));
  
index ddb1f1b3835e9050318047afac7a791fdbe1559a..5faf61de6af246614c14d31f4fb76196743cf758 100644 (file)
@@ -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,