public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH 00/50] net: net subsystem ops cleanup
Date: Fri, 2 Nov 2012 18:24:16 +0100	[thread overview]
Message-ID: <201211021824.16934.marex@denx.de> (raw)
In-Reply-To: <1351876722-5183-1-git-send-email-tmshlvck@gmail.com>

Dear Tomas Hlavacek,

> 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 ...

> 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(-)

  parent reply	other threads:[~2012-11-02 17:24 UTC|newest]

Thread overview: 127+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-02 17:17 [U-Boot] [RFC PATCH 00/50] net: net subsystem ops cleanup Tomas Hlavacek
2012-11-02 17:17 ` [U-Boot] [RFC PATCH 01/50] net: Pull out ops from struct eth_device Tomas Hlavacek
2012-11-02 17:17 ` [U-Boot] [RFC PATCH 02/50] net: 4xx_enet: Pull out init of struct eth_ops Tomas Hlavacek
2012-11-02 17:17 ` [U-Boot] [RFC PATCH 03/50] net: altera_tse: " Tomas Hlavacek
2012-11-02 17:17 ` [U-Boot] [RFC PATCH 04/50] net: dm9000x: " Tomas Hlavacek
2012-11-02 17:17 ` [U-Boot] [RFC PATCH 05/50] net: armada100_fec: " Tomas Hlavacek
2012-11-02 17:17 ` [U-Boot] [RFC PATCH 06/50] net: at91_emac: " Tomas Hlavacek
2012-11-02 17:17 ` [U-Boot] [RFC PATCH 07/50] net: ax88180: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 08/50] net: bfin_mac: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 09/50] net: calxedaxgmac: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 10/50] net: cpsw: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 11/50] net: cs8900: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 12/50] net: davinci_emac: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 13/50] net: dc2114x: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 14/50] net: designware: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 15/50] net: dnet: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 16/50] net: e1000: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 17/50] net: eepro100: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 18/50] net: enc28j60: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 19/50] net: ep93xx_eth: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 20/50] net: ethoc: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 21/50] net: fec_mxc: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 22/50] net: ftgmac100: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 23/50] net: greth.c: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 24/50] net: fsl_mcdmafec: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 25/50] net: inca-ip_sw: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 26/50] net: ks8695eth: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 27/50] net: lan91c96: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 28/50] net: macb: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 29/50] net: mcffec: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 30/50] net: mpc5xxx_fec: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 31/50] net: mvgbe: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 32/50] net: mpc512x_fec: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 33/50] net: natsemi: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 34/50] net: ne2000: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 35/50] net: npe: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 36/50] net: ns8382x: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 37/50] net: pcnet: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 38/50] net: plb2800_eth: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 39/50] net: rtl8139: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 40/50] net: rtl8169: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 41/50] net: smc91111: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 42/50] net: smc911x: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 43/50] net: tsec: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 44/50] net: tsi108_eth: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 45/50] net: uli526x: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 46/50] net: xilinx_axi_emac: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 47/50] net: xilinx_emaclite: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 48/50] net: zynq_gem: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 49/50] net: xilinx_ll_temac: " Tomas Hlavacek
2012-11-02 17:18 ` [U-Boot] [RFC PATCH 50/50] net: sh_eth: " Tomas Hlavacek
2012-11-02 17:24 ` Marek Vasut [this message]
2012-11-03 15:09 ` [U-Boot] [RFC PATCH 00/50] net: net subsystem ops cleanup Wolfgang Denk
2012-11-03 23:23   ` Tomas Hlavacek
2012-11-14  0:06     ` Joe Hershberger
2012-11-20  2:06       ` Tomas Hlavacek
2012-11-21 13:22 ` [U-Boot] [PATCH v2 00/67] " Tomas Hlavacek
2012-11-21 13:22   ` [U-Boot] [PATCH v2 01/67] net: dm: Pull out ops from struct eth_device Tomas Hlavacek
2012-11-21 13:22   ` [U-Boot] [PATCH v2 02/67] net: 4xx_enet: Pull out init of struct eth_ops Tomas Hlavacek
2012-11-21 13:22   ` [U-Boot] [PATCH v2 03/67] net: altera_tse: " Tomas Hlavacek
2012-11-21 13:22   ` [U-Boot] [PATCH v2 04/67] net: dm9000x: " Tomas Hlavacek
2012-11-21 13:22   ` [U-Boot] [PATCH v2 05/67] net: armada100_fec: " Tomas Hlavacek
2012-11-21 13:22   ` [U-Boot] [PATCH v2 06/67] net: at91_emac: " Tomas Hlavacek
2012-11-21 13:22   ` [U-Boot] [PATCH v2 07/67] net: ax88180: " Tomas Hlavacek
2012-11-21 13:22   ` [U-Boot] [PATCH v2 08/67] net: bfin_mac: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 09/67] net: calxedaxgmac: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 10/67] net: cs8900: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 11/67] net: davinci_emac: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 12/67] net: dc2114x: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 13/67] net: designware: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 14/67] net: dnet: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 15/67] net: e1000: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 16/67] net: eepro100: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 17/67] net: enc28j60: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 18/67] net: ep93xx_eth: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 19/67] net: ethoc: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 20/67] net: fec_mxc: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 21/67] net: ftgmac100: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 22/67] net: greth.c: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 23/67] net: fsl_mcdmafec: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 24/67] net: inca-ip_sw: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 25/67] net: ks8695eth: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 26/67] net: lan91c96: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 27/67] net: macb: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 28/67] net: mcffec: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 29/67] net: mpc5xxx_fec: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 30/67] net: mvgbe: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 31/67] net: mpc512x_fec: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 32/67] net: natsemi: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 33/67] net: ne2000: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 34/67] net: npe: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 35/67] net: ns8382x: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 36/67] net: pcnet: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 37/67] net: plb2800_eth: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 38/67] net: rtl8139: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 39/67] net: rtl8169: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 40/67] net: smc91111: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 41/67] net: smc911x: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 42/67] net: tsec: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 43/67] net: tsi108_eth: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 44/67] net: uli526x: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 45/67] net: xilinx_axi_emac: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 46/67] net: xilinx_emaclite: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 47/67] net: zynq_gem: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 48/67] net: xilinx_ll_temac: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 49/67] net: sh_eth: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 50/67] net: au1x00_eth: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 51/67] net: mpc8220_fec: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 52/67] net: mpc8260_fec: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 53/67] net: mpc8260_scc: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 54/67] net: mpc85xx_fec: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 55/67] net: mpc8xx_scc: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 56/67] net: db64360/mv_eth: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 57/67] net: mpc8xx_fec: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 58/67] net: db64460/mv_eth: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 59/67] net: cpci750/mv_eth: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 60/67] net: evb64260: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 61/67] net: p3mx/mv_eth: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 62/67] net: cpsw: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 63/67] net: fm_eth: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 64/67] net: ftmac100: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 65/67] net: qe: uec: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 66/67] net: usb: asix: " Tomas Hlavacek
2012-11-21 13:23   ` [U-Boot] [PATCH v2 67/67] net: usb: smsc95xx: " Tomas Hlavacek
2012-11-21 14:01   ` [U-Boot] [PATCH v2 00/67] net: net subsystem ops cleanup Wolfgang Denk
2012-11-21 18:45   ` Langer Thomas
2012-11-22  0:40     ` Tomas Hlavacek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201211021824.16934.marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox