Re: IDE changes that affect upper layer drivers

From: Bill Davidsen (davidsen@tmr.com)
Date: Mon Jan 06 2003 - 18:55:25 EST


On 6 Jan 2003, Alan Cox wrote:

I really hope this isn't going to be a replay of "new modules" where
major stuff gets broken. I would really not like to contemplate turning
off DMA until all the drivers get rewritten. Going without modules costs
only a bit of memory, going without DMA costs a LOT of CPU with some
hardware.

> I'm about to enable the vmda logic for non disk drivers. That means IDE
> tape, scsi, cd and friends need updating to follow the new rules
>
> Before it was simply:
> ->dma = 1 - do DMA
>
> Some devices and a lot of upcoming ones support DMA to the host while
> doing PIO to the device "Virtual DMA". That means the drivers now
> need to do
>
> DMA VDMA
> 0 X PIO
> 1 0 Issue PIO commands, set up for DMA xfers
> 1 1 Issue DMA commands, set up for DMA xfers
>
>
> Alan

Wishing you the best of luck with this one...

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 07 2003 - 22:00:33 EST