Re: [Qemu-devel] IDE busmaster DMA support

2005-09-30 Thread Lennert Buytenhek
On Fri, Sep 30, 2005 at 12:15:04PM +0200, GaLi wrote: > In the IDE BusMaster DMA specification : > > "The control registers for the controller are allocated via the > devices Base Address register at offset 0x20 in PCI configuration > space." > > If I read the word at offset 0x20 in the PCI conf

Re: [Qemu-devel] IDE busmaster DMA support

2005-09-30 Thread GaLi
OK, thank you very much. GaLi Juergen Keil wrote: I'm trying to write an IDE driver with busmaster DMA support. My problem is that I can't get the right controller registers addresses. In the IDE BusMaster DMA specification : "The control registers for the controller are allocated via the de

Re: [Qemu-devel] IDE busmaster DMA support

2005-09-30 Thread GaLi
It's an IDE driver for my own OS. I don't think it comes from qemu because linux get it right. I tried to read linux source code but it's way too complicated. I'll try in bochs and VMWare and tell you the results Hetz Ben Hamo wrote: Hi, Which IDE driver do u try to write? for QEMU? or for

Re: [Qemu-devel] IDE busmaster DMA support

2005-09-30 Thread Juergen Keil
> I'm trying to write an IDE driver with busmaster DMA support. > My problem is that I can't get the right controller registers addresses. > > In the IDE BusMaster DMA specification : > > "The control registers for the controller are allocated via the > devices Base Address register at offset 0x

Re: [Qemu-devel] IDE busmaster DMA support

2005-09-30 Thread Hetz Ben Hamo
Hi, Which IDE driver do u try to write? for QEMU? or for a guest OS? The IDE implementation of QEMU has few bugs (notice how the hack win2k installation needs), so I would suggest to you to either try it with BOCHS or with a trial version of VMWare. Thanks, Hetz On 9/30/05, GaLi <[EMAIL PROTECT

[Qemu-devel] IDE busmaster DMA support

2005-09-30 Thread GaLi
Hi, I'm trying to write an IDE driver with busmaster DMA support. My problem is that I can't get the right controller registers addresses. In the IDE BusMaster DMA specification : "The control registers for the controller are allocated via the devices Base Address register at offset 0x20 in PC