Skip to content

RFC net: net subsystem ops cleanup

Marek Vasut u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest0 of 50 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 50 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [RFC PATCH 00/50] net: net subsystem ops cleanup

Dear Tomas Hlavacek,

Quoted 9 lines

This patchset is a first stage of preparation of the net subsystem for the driver model.

The idea of this patchset is:
1) Remove ops .init, .send, .recv and .halt from the eth_device struct. Add a sparate structure eth_ops which is ready for inclusion to DM core.
2) Replace dynamic init of ops function pointers by static struct.
3) Do minor style cleanup.

CCing Joe ...

Quoted 109 lines

Tomas Hlavacek (50):
net: dm: Pull out ops from struct eth_device
net: 4xx_enet: Pull out init of struct eth_ops
net: altera_tse: Pull out init of struct eth_ops
net: dm9000x: Pull out init of struct eth_ops
net: armada100_fec: Pull out init of struct eth_ops
net: at91_emac: Pull out init of struct eth_ops
net: ax88180: Pull out init of struct eth_ops
net: bfin_mac: Pull out init of struct eth_ops
net: calxedaxgmac: Pull out init of struct eth_ops
net: cpsw: Pull out init of struct eth_ops
net: cs8900: Pull out init of struct eth_ops
net: davinci_emac: Pull out init of struct eth_ops
net: dc2114x: Pull out init of struct eth_ops
net: designware: Pull out init of struct eth_ops
net: dnet: Pull out init of struct eth_ops
net: e1000: Pull out init of struct eth_ops
net: eepro100: Pull out init of struct eth_ops
net: enc28j60: Pull out init of struct eth_ops
net: ep93xx_eth: Pull out init of struct eth_ops
net: ethoc: Pull out init of struct eth_ops
net: fec_mxc: Pull out init of struct eth_ops
net: ftgmac100: Pull out init of struct eth_ops
net: greth.c: Pull out init of struct eth_ops
net: fsl_mcdmafec: Pull out init of struct eth_ops
net: inca-ip_sw: Pull out init of struct eth_ops
net: ks8695eth: Pull out init of struct eth_ops
net: lan91c96: Pull out init of struct eth_ops
net: macb: Pull out init of struct eth_ops
net: mcffec: Pull out init of struct eth_ops
net: mpc5xxx_fec: Pull out init of struct eth_ops
net: mvgbe: Pull out init of struct eth_ops
net: mpc512x_fec: Pull out init of struct eth_ops
net: natsemi: Pull out init of struct eth_ops
net: ne2000: Pull out init of struct eth_ops
net: npe: Pull out init of struct eth_ops
net: ns8382x: Pull out init of struct eth_ops
net: pcnet: Pull out init of struct eth_ops
net: plb2800_eth: Pull out init of struct eth_ops
net: rtl8139: Pull out init of struct eth_ops
net: rtl8169: Pull out init of struct eth_ops
net: smc91111: Pull out init of struct eth_ops
net: smc911x: Pull out init of struct eth_ops
net: tsec: Pull out init of struct eth_ops
net: tsi108_eth: Pull out init of struct eth_ops
net: uli526x: Pull out init of struct eth_ops
net: xilinx_axi_emac: Pull out init of struct eth_ops
net: xilinx_emaclite: Pull out init of struct eth_ops
net: zynq_gem: Pull out init of struct eth_ops
net: xilinx_ll_temac: Pull out init of struct eth_ops
net: sh_eth: Pull out init of struct eth_ops

 board/davinci/da8xxevm/da830evm.c |    2 +-
 drivers/net/4xx_enet.c            |   12 ++++++++----
 drivers/net/altera_tse.c          |   14 +++++++++-----
 drivers/net/armada100_fec.c       |   12 ++++++++----
 drivers/net/at91_emac.c           |   14 +++++++++-----
 drivers/net/ax88180.c             |   13 +++++++++----
 drivers/net/bfin_mac.c            |   14 +++++++++-----
 drivers/net/calxedaxgmac.c        |   14 ++++++++++----
 drivers/net/cpsw.c                |   12 ++++++++----
 drivers/net/cs8900.c              |   12 ++++++++----
 drivers/net/davinci_emac.c        |   14 +++++++++-----
 drivers/net/dc2114x.c             |   14 +++++++++-----
 drivers/net/designware.c          |   14 +++++++++-----
 drivers/net/dm9000x.c             |   12 ++++++++----
 drivers/net/dnet.c                |   14 +++++++++-----
 drivers/net/e1000.c               |   12 ++++++++----
 drivers/net/eepro100.c            |   12 ++++++++----
 drivers/net/enc28j60.c            |   14 +++++++++-----
 drivers/net/ep93xx_eth.c          |   12 ++++++++----
 drivers/net/ethoc.c               |   14 +++++++++-----
 drivers/net/fec_mxc.c             |   15 ++++++++++-----
 drivers/net/fm/eth.c              |    8 ++++----
 drivers/net/fsl_mcdmafec.c        |   12 ++++++++----
 drivers/net/ftgmac100.c           |   12 ++++++++----
 drivers/net/ftmac100.c            |    8 ++++----
 drivers/net/greth.c               |   12 ++++++++----
 drivers/net/inca-ip_sw.c          |   11 +++++++----
 drivers/net/ks8695eth.c           |   12 ++++++++----
 drivers/net/lan91c96.c            |   12 ++++++++----
 drivers/net/macb.c                |   14 +++++++++-----
 drivers/net/mcffec.c              |   12 ++++++++----
 drivers/net/mpc512x_fec.c         |   12 ++++++++----
 drivers/net/mpc5xxx_fec.c         |   11 +++++++----
 drivers/net/mvgbe.c               |   14 +++++++++-----
 drivers/net/natsemi.c             |   12 ++++++++----
 drivers/net/ne2000_base.c         |   12 ++++++++----
 drivers/net/npe/npe.c             |   12 ++++++++----
 drivers/net/ns8382x.c             |   13 +++++++++----
 drivers/net/pcnet.c               |   13 ++++++++-----
 drivers/net/plb2800_eth.c         |   11 +++++++----
 drivers/net/rtl8139.c             |   18 +++++++++++-------
 drivers/net/rtl8169.c             |   13 +++++++++----
 drivers/net/sh_eth.c              |   12 ++++++++----
 drivers/net/smc91111.c            |   14 +++++++++-----
 drivers/net/smc911x.c             |   12 ++++++++----
 drivers/net/tsec.c                |   18 +++++++++++-------
 drivers/net/tsi108_eth.c          |   12 ++++++++----
 drivers/net/uli526x.c             |   12 ++++++++----
 drivers/net/xilinx_axi_emac.c     |   15 ++++++++++-----
 drivers/net/xilinx_emaclite.c     |   12 ++++++++----
 drivers/net/xilinx_ll_temac.c     |   27 ++++++++++++++++++++-------
 drivers/net/zynq_gem.c            |   14 +++++++++-----
 drivers/usb/eth/asix.c            |   10 +++++-----
 drivers/usb/eth/smsc95xx.c        |   10 +++++-----
 include/net.h                     |   17 +++++++++++------
 net/eth.c                         |   16 ++++++++--------
 56 files changed, 467 insertions(+), 254 deletions(-)