Re: [Qemu-devel] [PATCH 0/7] mac_dbdma: tidy-up and QOMify

2017-09-25 Thread David Gibson
On Sun, Sep 24, 2017 at 03:47:39PM +0100, Mark Cave-Ayland wrote: > Whilst looking at implementing another DBDMA device for the Mac machines > I noticed a couple of things: firstly there were some unused fields still > in DBDMAState, and secondly the existing code still used global functions > to r

[Qemu-devel] [PATCH 0/7] mac_dbdma: tidy-up and QOMify

2017-09-24 Thread Mark Cave-Ayland
Whilst looking at implementing another DBDMA device for the Mac machines I noticed a couple of things: firstly there were some unused fields still in DBDMAState, and secondly the existing code still used global functions to register DMA channels and handle the relationship between macio IDE and DBD