1. 29 Jun, 2011 7 commits
    • Jon Mason's avatar
      myri10ge: rework parity error check and cleanup · c689b81b
      Jon Mason authored
      Clean up watchdog reset code:
       - move code that checks for stuck slice to a common routine
       - unless there is a confirmed h/w fault, verify that a stuck
         slice is still stuck in the watchdog worker; if the slice is no
         longer stuck, abort the reset.
       - this removes an egregious 2000ms pause in the watchdog worker that
         was a diagnostic aid (to look for spurious resets) the snuck into
         production code.
      
      v3 includes corrections from Joe Perches
      Signed-off-by: default avatarJon Mason <mason@myri.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c689b81b
    • Jon Mason's avatar
      myri10ge: Mask PCI Surprise Link Down Events · 7539a613
      Jon Mason authored
      A SRAM parity error can cause a surprise link down.  Since We can
      recover from SRAM parity errors, mask PCI surprise down events.
      Signed-off-by: default avatarJon Mason <mason@myri.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7539a613
    • Jon Mason's avatar
      myri10ge: ensure tx queues remain stopped · 3b20b2dc
      Jon Mason authored
      Ensure that our tx queues remain stopped when we stop them in
      myri10ge_close().  Not doing so can potentially lead to traffic being
      transmitted when the interface is removed, which can lead to NULL
      pointer dereferences.
      Signed-off-by: default avatarJon Mason <mason@myri.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3b20b2dc
    • Barry Grussling's avatar
      DSA: Enable cascading in multi-chip 6131 configuration · 81399ec6
      Barry Grussling authored
      This patch enables the 6131 family of chips to forward DSA
      packets to other switch chips.  This is needed if multiple
      DSA chips are used in a device.  Without this patch the
      chip will drop any DSA packets not destined for it.
      
      This patch only enables the forwarding of DSA packets if
      multiple chips are used in the switch configuration.
      Signed-off-by: default avatarBarry Grussling <barry@grussling.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      81399ec6
    • Joe Perches's avatar
      caif: Fix recieve/receive typo · 864834f9
      Joe Perches authored
      Just spelling fixes.
      
      Actually, a twofer with vaiables/variables as well.
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      864834f9
    • Stephen Rothwell's avatar
      net: include dma-mapping.h in ll_temac_main.c for dma_map_single etc · 84cac398
      Stephen Rothwell authored
      fixes thses build errors:
      
      drivers/net/ll_temac_main.c: In function 'temac_dma_bd_release':
      drivers/net/ll_temac_main.c:209:4: error: implicit declaration of function 'dma_unmap_single'
      drivers/net/ll_temac_main.c:215:3: error: implicit declaration of function 'dma_free_coherent'
      drivers/net/ll_temac_main.c: In function 'temac_dma_bd_init':
      drivers/net/ll_temac_main.c:243:2: error: implicit declaration of function 'dma_alloc_coherent'
      drivers/net/ll_temac_main.c:243:14: warning: assignment makes pointer from integer without a cast
      drivers/net/ll_temac_main.c:251:14: warning: assignment makes pointer from integer without a cast
      drivers/net/ll_temac_main.c:280:3: error: implicit declaration of function 'dma_map_single'
      drivers/net/ll_temac_main.c: In function 'temac_start_xmit_done':
      drivers/net/ll_temac_main.c:628:22: warning: cast to pointer from integer of different size
      
      Caused by commit commit b7f080cf ("net: remove mm.h inclusion from
      netdevice.h").
      Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      84cac398
    • Stephen Rothwell's avatar
      net: include io.h in sja1000_of_platform.c for iounmap etc · 8d0f7cea
      Stephen Rothwell authored
      fixes these build errors:
      
      drivers/net/can/sja1000/sja1000_of_platform.c: In function 'sja1000_ofp_read_reg':
      drivers/net/can/sja1000/sja1000_of_platform.c:61:2: error: implicit declaration of function 'in_8'
      drivers/net/can/sja1000/sja1000_of_platform.c: In function 'sja1000_ofp_write_reg':
      drivers/net/can/sja1000/sja1000_of_platform.c:67:2: error: implicit declaration of function 'out_8'
      drivers/net/can/sja1000/sja1000_of_platform.c: In function 'sja1000_ofp_remove':
      drivers/net/can/sja1000/sja1000_of_platform.c:81:2: error: implicit declaration of function 'iounmap'
      drivers/net/can/sja1000/sja1000_of_platform.c: In function 'sja1000_ofp_probe':
      drivers/net/can/sja1000/sja1000_of_platform.c:113:2: error: implicit declaration of function 'ioremap_nocache'
      drivers/net/can/sja1000/sja1000_of_platform.c:113:7: warning: assignment makes pointer from integer without a cast
      
      Caused by commit b7f080cf ("net: remove mm.h inclusion from
      netdevice.h").
      Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8d0f7cea
  2. 28 Jun, 2011 17 commits
  3. 27 Jun, 2011 13 commits
  4. 25 Jun, 2011 3 commits