Hi,

Some cleanups for octeon-ethernet, mainly deleting lots of duplicated
copy-paste code.

Tested with EdgeRouter Lite (RGMII) and EdgeRouter Pro (SGMII), the basic
networking functionality works as before.

A.

Aaro Koskinen (20):
  staging: octeon-ethernet: consolidate ndo_open functions
  staging: octeon-ethernet: consolidate ndo_stop functions
  staging: octeon-ethernet: move ndo_stop to common init
  staging: octeon-ethernet: delete sgmii and xaui specific uninit
    functions
  staging: octeon-ethernet: add queue information to carrier note
  staging: octeon-ethernet: consolidate carrier notifications
  staging: octeon-ethernet: sgmii/xaui: make link poll generic
  staging: octeon-ethernet: rgmii: refactor gmx block interrupt handling
  staging: octeon-ethernet: rgmii: use function to configure hw preamble
  staging: octeon-ethernet: spi: move spx interrupt dumps into a
    function
  staging: octeon-ethernet: spi: move stx interrupt dumps into a
    function
  staging: octeon-ethernet: spi: refactor spx block interrupt handling
  staging: octeon-ethernet: delete references to CONFIG_CAVIUM_RESERVE32
  staging: octeon-ethernet: eliminate USE_10MBPS_PREAMBLE_WORKAROUND
    define
  staging: octeon-ethernet: eliminate USE_HW_TCPUDP_CHECKSUM define
  staging: octeon-ethernet: eliminate USE_SKBUFFS_IN_HW define
  staging: octeon-ethernet: eliminate USE_RED define
  staging: octeon-ethernet: eliminate DONT_WRITEBACK
  staging: octeon-ethernet: eliminate OCTEON_ETHERNET_VERSION
  staging: octeon-ethernet: update boilerplate comments

 drivers/staging/octeon/ethernet-defines.h |  62 +-----
 drivers/staging/octeon/ethernet-mdio.c    |  48 ++---
 drivers/staging/octeon/ethernet-mdio.h    |  24 +--
 drivers/staging/octeon/ethernet-mem.c     |  30 +--
 drivers/staging/octeon/ethernet-mem.h     |  23 +--
 drivers/staging/octeon/ethernet-rgmii.c   | 306 +++++++++---------------------
 drivers/staging/octeon/ethernet-rx.c      |  38 +---
 drivers/staging/octeon/ethernet-rx.h      |  24 +--
 drivers/staging/octeon/ethernet-sgmii.c   | 112 +----------
 drivers/staging/octeon/ethernet-spi.c     | 237 +++++++++--------------
 drivers/staging/octeon/ethernet-tx.c      |  28 +--
 drivers/staging/octeon/ethernet-tx.h      |  23 +--
 drivers/staging/octeon/ethernet-util.h    |  23 +--
 drivers/staging/octeon/ethernet-xaui.c    | 114 +----------
 drivers/staging/octeon/ethernet.c         | 115 +++++++----
 drivers/staging/octeon/octeon-ethernet.h  |  35 +---
 16 files changed, 336 insertions(+), 906 deletions(-)

-- 
2.3.3

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to