[Qemu-devel] [PATCH v2 00/11] net: convert SysBus init method to a realize method

Cédric Le Goater posted 11 patches 7 years, 4 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20181001063803.22330-1-clg@kaod.org
Test docker-clang@ubuntu failed
Test checkpatch passed
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(-)
[Qemu-devel] [PATCH v2 00/11] net: convert SysBus init method to a realize method
Posted by Cédric Le Goater 7 years, 4 months ago
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(-)

-- 
2.17.1


Re: [Qemu-devel] [PATCH v2 00/11] net: convert SysBus init method to a realize method
Posted by Philippe Mathieu-Daudé 7 years, 4 months ago
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(-)
> 

Re: [Qemu-devel] [PATCH v2 00/11] net: convert SysBus init method to a realize method
Posted by Eduardo Habkost 7 years, 3 months ago
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(-)
> > 
> 

-- 
Eduardo