2006-10-04 10:08:08

by girish

[permalink] [raw]
Subject: PCI/IDE generic IDE driver + bus master DMA logic errors


our hardware guys are designing an pci/ide controller which has
interrupt wrapper such that the ide & bus master interrupts are
packaged & delivered together.
according to current linux ide sub-system believe i have to do
something like implement ide_ack_intr(). quite clear. would like to
know how to escalate bus-master dma or device errors, on return from
ide_ack_intr?


2006-10-04 10:51:49

by Alan

[permalink] [raw]
Subject: Re: PCI/IDE generic IDE driver + bus master DMA logic errors

Ar Mer, 2006-10-04 am 19:07 +0900, ysgrifennodd girish:
> our hardware guys are designing an pci/ide controller which has
> interrupt wrapper such that the ide & bus master interrupts are
> packaged & delivered together.

All the SFF8038i/D1510 style devices have a single interrupt line for
IDE and for bus mastering interrupts. If your device behaves in
accordance to D1510 the default code ought to work.

Alan

2006-10-04 11:06:20

by girish

[permalink] [raw]
Subject: Re: PCI/IDE generic IDE driver + bus master DMA logic errors


On Oct 4, 2006, at 8:17 PM, Alan Cox wrote:

> Ar Mer, 2006-10-04 am 19:07 +0900, ysgrifennodd girish:
>> our hardware guys are designing an pci/ide controller which has
>> interrupt wrapper such that the ide & bus master interrupts are
>> packaged & delivered together.
>
> All the SFF8038i/D1510 style devices have a single interrupt line for
> IDE and for bus mastering interrupts. If your device behaves in
> accordance to D1510 the default code ought to work.
>
> Alan

thanks alan. i will have look into it.

one more question - we are planning two channel bus-mastering design.
whether linux ide sub-system will support simultaneous dma kick
sequences?