linux_dsm_epyc7002/drivers/net/ethernet/sun
Aaron Young 31762eaa0d ldmvsw: Split sunvnet driver into common code
Split sunvnet.c into sunvnet.c and sunvnet_common.c.

  Details:

  Since the sunvnet and ldmvsw drivers will both use common sunvnet code,
  move the functions (and support functions) anticipated to be common code
  from sunvnet.c to sunvnet_common.c. Similarly, sunvnet.h was renamed to
  sunvnet_common.h. The sunvnet_common.c code will be compiled into the
  kernel and act as a library of functions that are linked by either
  (or both) drivers when loaded.

  Function names for external functions in sunvnet_common.c (to be
  called by both the sunvnet and ldmvsw drivers) were tagged with a "_common"
  suffix to clearly designate them as common functions.

  No functional changes as of yet... just moved code verbatim to the new
  sunvnet_common.c/h files.

  Makefile/Kconfig support added to build sunvnet_common.c file. The code
  is included in the kernel if SUN_LDOMS is defined/selected.

  NOTE - per the SubmittingPatches documentation, since the code was just
  moved from one file another, the code was NOT checkpatch'd in this commit
  to aid in review.

  Signed-off-by: Aaron Young <aaron.young@oracle.com>
  Signed-off-by: Rashmi Narasimhan <rashmi.narasimhan@oracle.com>
  Reviewed-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
  Reviewed-by: Alexandre Chartre <Alexandre.Chartre@oracle.com>

Signed-off-by: David S. Miller <davem@davemloft.net>
2016-03-18 19:33:00 -04:00
..
cassini.c drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
cassini.h ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
Kconfig ldmvsw: Split sunvnet driver into common code 2016-03-18 19:33:00 -04:00
Makefile ldmvsw: Split sunvnet driver into common code 2016-03-18 19:33:00 -04:00
niu.c niu: don't count tx error twice in case of headroom realloc fails 2015-07-26 21:17:54 -07:00
niu.h
sunbmac.c net: ethernet: sun: drop owner assignment from platform_drivers 2014-10-20 16:21:13 +02:00
sunbmac.h
sungem.c sungem, sunhme, sunvnet: Update drivers to use dma_wmb/rmb 2015-04-08 12:15:14 -04:00
sungem.h
sunhme.c sungem, sunhme, sunvnet: Update drivers to use dma_wmb/rmb 2015-04-08 12:15:14 -04:00
sunhme.h sunhme: stop using net_device.{base_addr, irq}. 2012-04-07 11:47:03 +02:00
sunqe.c net: ethernet: sun: drop owner assignment from platform_drivers 2014-10-20 16:21:13 +02:00
sunqe.h
sunvnet_common.c ldmvsw: Split sunvnet driver into common code 2016-03-18 19:33:00 -04:00
sunvnet_common.h ldmvsw: Split sunvnet driver into common code 2016-03-18 19:33:00 -04:00
sunvnet.c ldmvsw: Split sunvnet driver into common code 2016-03-18 19:33:00 -04:00