mbox series

[v2,00/11] net: convert SysBus init method to a realize method

Message ID 20181001063803.22330-1-clg@kaod.org
Headers show
Series net: convert SysBus init method to a realize method | expand

Message

Cédric Le Goater Oct. 1, 2018, 6:37 a.m. UTC
Hello,

Here is my take to the SysBus init to realize method conversion. I
picked the /net directory and did them all. Also added a couple of
reset methods in separate patches.

make check tested

Thanks,

C.

Changes since v1:

 - dropped changes in lan9118_init() and smc91c111_init()
 - fix alignment in milkymist_minimac2_realize()
 - improved etraxfs reset method
 

Cédric Le Goater (11):
  net: etraxfs_eth: convert SysBus init method to a realize method
  net: etraxfs_eth: add a reset method
  net: lan9118: convert SysBus init method to a realize method
  net: lance: convert SysBus init method to a realize method
  net: milkymist_minimac2: convert SysBus init method to a realize
    method
  net: mipsnet: convert SysBus init method to a realize method
  net: opencores_eth: convert SysBus init method to a realize method
  net: smc91c111: convert SysBus init method to a realize method
  net: stellaris_enet: convert SysBus init method to a realize method
  net: stellaris_enet: add a reset method
  net: xgmac: convert SysBus init method to a realize method

 hw/net/etraxfs_eth.c        | 44 ++++++++++++++++++++++++++-----------
 hw/net/lan9118.c            |  9 +++-----
 hw/net/lance.c              |  8 +++----
 hw/net/milkymist-minimac2.c |  9 +++-----
 hw/net/mipsnet.c            |  9 +++-----
 hw/net/opencores_eth.c      |  8 +++----
 hw/net/smc91c111.c          |  8 +++----
 hw/net/stellaris_enet.c     | 15 ++++++-------
 hw/net/xgmac.c              |  9 +++-----
 9 files changed, 59 insertions(+), 60 deletions(-)

Comments

Philippe Mathieu-Daudé Oct. 10, 2018, 1:30 p.m. UTC | #1
Cc'ing Eduardo since it might make sens to have this series go via his
machine-next tree, rather than Jason's net tree.

On 01/10/2018 08:37, Cédric Le Goater wrote:
> Hello,
> 
> Here is my take to the SysBus init to realize method conversion. I
> picked the /net directory and did them all. Also added a couple of
> reset methods in separate patches.
> 
> make check tested
> 
> Thanks,
> 
> C.
> 
> Changes since v1:
> 
>  - dropped changes in lan9118_init() and smc91c111_init()
>  - fix alignment in milkymist_minimac2_realize()
>  - improved etraxfs reset method
>  
> 
> Cédric Le Goater (11):
>   net: etraxfs_eth: convert SysBus init method to a realize method
>   net: etraxfs_eth: add a reset method
>   net: lan9118: convert SysBus init method to a realize method
>   net: lance: convert SysBus init method to a realize method
>   net: milkymist_minimac2: convert SysBus init method to a realize
>     method
>   net: mipsnet: convert SysBus init method to a realize method
>   net: opencores_eth: convert SysBus init method to a realize method
>   net: smc91c111: convert SysBus init method to a realize method
>   net: stellaris_enet: convert SysBus init method to a realize method
>   net: stellaris_enet: add a reset method
>   net: xgmac: convert SysBus init method to a realize method
> 
>  hw/net/etraxfs_eth.c        | 44 ++++++++++++++++++++++++++-----------
>  hw/net/lan9118.c            |  9 +++-----
>  hw/net/lance.c              |  8 +++----
>  hw/net/milkymist-minimac2.c |  9 +++-----
>  hw/net/mipsnet.c            |  9 +++-----
>  hw/net/opencores_eth.c      |  8 +++----
>  hw/net/smc91c111.c          |  8 +++----
>  hw/net/stellaris_enet.c     | 15 ++++++-------
>  hw/net/xgmac.c              |  9 +++-----
>  9 files changed, 59 insertions(+), 60 deletions(-)
>
Eduardo Habkost Oct. 11, 2018, 5:47 p.m. UTC | #2
On Wed, Oct 10, 2018 at 03:30:25PM +0200, Philippe Mathieu-Daudé wrote:
> Cc'ing Eduardo since it might make sens to have this series go via his
> machine-next tree, rather than Jason's net tree.

Queued on machine-next, thanks!

> 
> On 01/10/2018 08:37, Cédric Le Goater wrote:
> > Hello,
> > 
> > Here is my take to the SysBus init to realize method conversion. I
> > picked the /net directory and did them all. Also added a couple of
> > reset methods in separate patches.
> > 
> > make check tested
> > 
> > Thanks,
> > 
> > C.
> > 
> > Changes since v1:
> > 
> >  - dropped changes in lan9118_init() and smc91c111_init()
> >  - fix alignment in milkymist_minimac2_realize()
> >  - improved etraxfs reset method
> >  
> > 
> > Cédric Le Goater (11):
> >   net: etraxfs_eth: convert SysBus init method to a realize method
> >   net: etraxfs_eth: add a reset method
> >   net: lan9118: convert SysBus init method to a realize method
> >   net: lance: convert SysBus init method to a realize method
> >   net: milkymist_minimac2: convert SysBus init method to a realize
> >     method
> >   net: mipsnet: convert SysBus init method to a realize method
> >   net: opencores_eth: convert SysBus init method to a realize method
> >   net: smc91c111: convert SysBus init method to a realize method
> >   net: stellaris_enet: convert SysBus init method to a realize method
> >   net: stellaris_enet: add a reset method
> >   net: xgmac: convert SysBus init method to a realize method
> > 
> >  hw/net/etraxfs_eth.c        | 44 ++++++++++++++++++++++++++-----------
> >  hw/net/lan9118.c            |  9 +++-----
> >  hw/net/lance.c              |  8 +++----
> >  hw/net/milkymist-minimac2.c |  9 +++-----
> >  hw/net/mipsnet.c            |  9 +++-----
> >  hw/net/opencores_eth.c      |  8 +++----
> >  hw/net/smc91c111.c          |  8 +++----
> >  hw/net/stellaris_enet.c     | 15 ++++++-------
> >  hw/net/xgmac.c              |  9 +++-----
> >  9 files changed, 59 insertions(+), 60 deletions(-)
> > 
>