1. 10 12月, 2014 1 次提交
  2. 26 11月, 2014 1 次提交
    • H
      cxgb4/cxgb4vf/csiostor: Add T4/T5 PCI ID Table · 3fedeab1
      Hariprasad Shenai 提交于
      Add a new file t4_pci_id_tbl.h that contains T4/T5 PCI ID Table so that for all
      drivers that uses T4/T5 PCI functions changes can be done in one place.
      
      checkpatch.pl script reports following error, which if tried to fix ends up in
      compilation error.
      
      	ERROR: Macros with complex values should be enclosed in parentheses
      	+#define CH_PCI_DEVICE_ID_TABLE_DEFINE_END \
      	+		{ 0, } \
      	+	}
      
      	WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
      	new file mode 100644
      
      	ERROR: Macros with complex values should be enclosed in parentheses
      	+#define CH_PCI_ID_TABLE_FENTRY(devid) \
      	+	CH_PCI_ID_TABLE_ENTRY((devid) | \
      	+			      ((CH_PCI_DEVICE_ID_FUNCTION) << 8)), \
      	+	CH_PCI_ID_TABLE_ENTRY((devid) | \
      	+			      ((CH_PCI_DEVICE_ID_FUNCTION2) << 8))
      
      	ERROR: Macros with complex values should be enclosed in parentheses
      	+#define CH_PCI_DEVICE_ID_TABLE_DEFINE_END { 0, } }
      
      	ERROR: Macros with complex values should be enclosed in parentheses
      	+#define CH_PCI_DEVICE_ID_TABLE_DEFINE_END { 0, } }
      Signed-off-by: NHariprasad Shenai <hariprasad@chelsio.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3fedeab1
  3. 23 11月, 2014 2 次提交
  4. 30 10月, 2014 1 次提交
  5. 10 10月, 2014 1 次提交
  6. 29 9月, 2014 2 次提交
  7. 11 9月, 2014 1 次提交
  8. 13 8月, 2014 1 次提交
  9. 06 8月, 2014 1 次提交
  10. 02 7月, 2014 1 次提交
  11. 14 5月, 2014 1 次提交
  12. 29 3月, 2014 1 次提交
  13. 19 2月, 2014 2 次提交
  14. 04 12月, 2013 1 次提交
  15. 22 10月, 2013 1 次提交
  16. 18 10月, 2013 1 次提交
  17. 30 4月, 2013 1 次提交
    • V
      cxgb4vf: Support CPL_SGE_EGR_UPDATEs encapsulated in a CPL_FW4_MSG · 94dace10
      Vipul Pandya 提交于
      Newer firmware can post CPL_SGE_EGR_UPDATE message encapsulated in a
      CPL_FW4_MSG as follows
      
      flit0 rss_header (if DropRSS == 0 in IQ context)
      flit1 CPL_FW4_MSG cpl
      flit2 rss_header w/opcode CPL_SGE_EGR_UPDATE
      flit3 CPL_SGE_EGR_UPDATE cpl
      
      So FW4_MSG CPLs with a newly created type of FW_TYPE_RSSCPL have the
      CPL_SGE_EGR_UPDATE CPL message in flit 2 of the FW4_MSG. Firmware can still
      post regular CPL_SGE_EGR_UPDATE messages, so the drivers need to handle
      both.
      
      This patch also writes a new parameter to firmware requesting encapsulated
      EGR_UPDATE. This allows firmware with this support to not break older drivers.
      Signed-off-by: NVipul Pandya <vipul@chelsio.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      94dace10
  18. 20 4月, 2013 1 次提交
  19. 14 3月, 2013 1 次提交
  20. 08 1月, 2013 1 次提交
  21. 08 12月, 2012 1 次提交
  22. 04 12月, 2012 1 次提交
  23. 07 6月, 2012 1 次提交
    • J
      ethernet: Remove casts to same type · 64699336
      Joe Perches 提交于
      Adding casts of objects to the same type is unnecessary
      and confusing for a human reader.
      
      For example, this cast:
      
              int y;
              int *p = (int *)&y;
      
      I used the coccinelle script below to find and remove these
      unnecessary casts.  I manually removed the conversions this
      script produces of casts with __force, __iomem and __user.
      
      @@
      type T;
      T *p;
      @@
      
      -       (T *)p
      +       p
      
      A function in atl1e_main.c was passed a const pointer
      when it actually modified elements of the structure.
      
      Change the argument to a non-const pointer.
      
      A function in stmmac needed a __force to avoid a sparse
      warning.  Added it.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      64699336
  24. 07 3月, 2012 1 次提交
  25. 24 2月, 2012 1 次提交
  26. 01 2月, 2012 1 次提交
  27. 06 1月, 2012 1 次提交
  28. 04 1月, 2012 1 次提交
  29. 17 11月, 2011 1 次提交
  30. 14 11月, 2011 1 次提交
  31. 18 8月, 2011 1 次提交
  32. 11 8月, 2011 1 次提交
  33. 22 7月, 2011 1 次提交
  34. 13 7月, 2011 1 次提交
  35. 24 6月, 2011 1 次提交
  36. 30 4月, 2011 1 次提交
    • D
      ethtool: cosmetic: Use ethtool ethtool_cmd_speed API · 70739497
      David Decotigny 提交于
      This updates the network drivers so that they don't access the
      ethtool_cmd::speed field directly, but use ethtool_cmd_speed()
      instead.
      
      For most of the drivers, these changes are purely cosmetic and don't
      fix any problem, such as for those 1GbE/10GbE drivers that indirectly
      call their own ethtool get_settings()/mii_ethtool_gset(). The changes
      are meant to enforce code consistency and provide robustness with
      future larger throughputs, at the expense of a few CPU cycles for each
      ethtool operation.
      
      All drivers compiled with make allyesconfig ion x86_64 have been
      updated.
      
      Tested: make allyesconfig on x86_64 + e1000e/bnx2x work
      Signed-off-by: NDavid Decotigny <decot@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      70739497
  37. 18 4月, 2011 1 次提交