1. 29 6月, 2011 6 次提交
    • J
      myri10ge: Mask PCI Surprise Link Down Events · 7539a613
      Jon Mason 提交于
      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: NJon Mason <mason@myri.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7539a613
    • J
      myri10ge: ensure tx queues remain stopped · 3b20b2dc
      Jon Mason 提交于
      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: NJon Mason <mason@myri.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3b20b2dc
    • B
      DSA: Enable cascading in multi-chip 6131 configuration · 81399ec6
      Barry Grussling 提交于
      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: NBarry Grussling <barry@grussling.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      81399ec6
    • J
      caif: Fix recieve/receive typo · 864834f9
      Joe Perches 提交于
      Just spelling fixes.
      
      Actually, a twofer with vaiables/variables as well.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      864834f9
    • S
      net: include dma-mapping.h in ll_temac_main.c for dma_map_single etc · 84cac398
      Stephen Rothwell 提交于
      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: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      84cac398
    • S
      net: include io.h in sja1000_of_platform.c for iounmap etc · 8d0f7cea
      Stephen Rothwell 提交于
      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: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8d0f7cea
  2. 28 6月, 2011 17 次提交
  3. 27 6月, 2011 13 次提交
  4. 25 6月, 2011 4 次提交