On Thu, Mar 22, 2012 at 7:06 AM, liu ping fan wrote:
> On Tue, Mar 20, 2012 at 9:56 PM, Stefan Hajnoczi
> wrote:
>> On Mon, Mar 19, 2012 at 05:17:15PM +0800, Li Zhi Hui wrote:
>>> @@ -1196,107 +1322,108 @@ static int fdctrl_transfer_handler (void *opaque,
>>> int nchan,
>>> return 0;
>>
On Tue, Mar 20, 2012 at 9:56 PM, Stefan Hajnoczi
wrote:
> On Mon, Mar 19, 2012 at 05:17:15PM +0800, Li Zhi Hui wrote:
>> @@ -1196,107 +1322,108 @@ static int fdctrl_transfer_handler (void *opaque,
>> int nchan,
>> return 0;
>> }
>> cur_drv = get_cur_drv(fdctrl);
>> - if (fdc
On Mon, Mar 19, 2012 at 05:17:15PM +0800, Li Zhi Hui wrote:
> @@ -1196,107 +1322,108 @@ static int fdctrl_transfer_handler (void *opaque,
> int nchan,
> return 0;
> }
> cur_drv = get_cur_drv(fdctrl);
> -if (fdctrl->data_dir == FD_DIR_SCANE || fdctrl->data_dir == FD_DIR_SCANL
Replace bdrv_* to bdrv_aio_* functions in DMA mode in fdc.c.
Signed-off-by: Li Zhi Hui
---
hw/fdc.c | 265 ++
1 files changed, 196 insertions(+), 69 deletions(-)
diff --git a/hw/fdc.c b/hw/fdc.c
index a0236b7..11d2a5c 100644
--- a/hw/