1. 30 Apr, 2014 4 commits
    • Byungho An's avatar
      net: sxgbe: sw reset moved to probe function · 0a0347b1
      Byungho An authored
      This patch moves sw reset to probe function because
      sw reset is needed early stage before open function.
      Signed-off-by: default avatarByungho An <bh74.an@samsung.net>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0a0347b1
    • Roland Dreier's avatar
      cxgb4: Decode PCIe Gen3 link speed · d2e752db
      Roland Dreier authored
      Add handling for " 8 GT/s" in print_port_info().
      Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d2e752db
    • Tobias Klauser's avatar
      Altera TSE: Add missing include to silence sparse warnings · 652f99ea
      Tobias Klauser authored
      This fixes the following sparse warnings:
      
      drivers/net/ethernet/altera/altera_msgdma.c:23:5: warning: symbol 'msgdma_initialize' was not declared. Should it be static?
      drivers/net/ethernet/altera/altera_msgdma.c:28:6: warning: symbol 'msgdma_uninitialize' was not declared. Should it be static?
      drivers/net/ethernet/altera/altera_msgdma.c:32:6: warning: symbol 'msgdma_reset' was not declared. Should it be static?
      drivers/net/ethernet/altera/altera_msgdma.c:77:6: warning: symbol 'msgdma_disable_rxirq' was not declared. Should it be static?
      drivers/net/ethernet/altera/altera_msgdma.c:83:6: warning: symbol 'msgdma_enable_rxirq' was not declared. Should it be static?
      drivers/net/ethernet/altera/altera_msgdma.c:89:6: warning: symbol 'msgdma_disable_txirq' was not declared. Should it be static?
      drivers/net/ethernet/altera/altera_msgdma.c:95:6: warning: symbol 'msgdma_enable_txirq' was not declared. Should it be static?
      drivers/net/ethernet/altera/altera_msgdma.c:101:6: warning: symbol 'msgdma_clear_rxirq' was not declared. Should it be static?
      drivers/net/ethernet/altera/altera_msgdma.c:107:6: warning: symbol 'msgdma_clear_txirq' was not declared. Should it be static?
      drivers/net/ethernet/altera/altera_msgdma.c:114:5: warning: symbol 'msgdma_tx_buffer' was not declared. Should it be static?
      drivers/net/ethernet/altera/altera_msgdma.c:129:5: warning: symbol 'msgdma_tx_completions' was not declared. Should it be static?
      drivers/net/ethernet/altera/altera_msgdma.c:154:5: warning: symbol 'msgdma_add_rx_desc' was not declared. Should it be static?
      drivers/net/ethernet/altera/altera_msgdma.c:181:5: warning: symbol 'msgdma_rx_status' was not declared. Should it be static?
      Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
      Acked-by: default avatarVince Bridgers <vbridgers2013@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      652f99ea
    • Tobias Klauser's avatar
      Altera TSE: Fix DMA secriptor length initialization · 1b444881
      Tobias Klauser authored
      sgdma_descrip is a function name as well as the name of a struct. In
      sgdma_initialize(), we should initialize the descriptor length field
      with the actual length of a descriptor not with the size of the
      function. In order to prevent such things from happening in the future,
      rename the function to sgdma_setup_descrip().
      
      Found by sparse which yields the following warning:
      
      drivers/net/ethernet/altera/altera_sgdma.c:74:30: warning: expression using sizeof on a function
      Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1b444881
  2. 28 Apr, 2014 12 commits
  3. 27 Apr, 2014 5 commits
  4. 26 Apr, 2014 11 commits
  5. 24 Apr, 2014 8 commits