Re: [PATCH] 2.5.24 IDE 97

From: Benjamin Herrenschmidt (benh@kernel.crashing.org)
Date: Thu Jul 04 2002 - 12:51:25 EST


>My tuning scheme satisfies your both demands, by ch->dma_base,
>ch->autodma and ch->modes_map host informs generic code about its
>capabilities.

Just keep in mind that some chipsets don't use dma_base
but still can do DMA (typically ide-pmac, and some embedded
controllers). They do DMA their own way, not using the PRD
tables. Actually, I would love beeing able to use that same
dma_base (and others) fields for my own stuffs, but the common
layer, last I looked at it, still does assumptions that when
those are filled, they match a legacy controller.

Ben.

-
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 : Sun Jul 07 2002 - 22:00:13 EST