Re: [PATCH 2.5.13 IDE 54

Alan Cox
2002-05-07T14:25:37Z

> The comment above udma_enable seems to indicate that you think it
> should be ifdef'd per-architecture. That won't work for us (besides
> being ugly), because we can have two ATA host adaptors in the one
> machine that need to be programmed quite differently. Consider for
> instance a powermac with the built-in IDE interface (which would use
> the ide-pmac.c code) and a plug-in PCI IDE card, for which the
> udma_enable code is presumably correct.

The same will be true for the PC very soon. In fact in a few cases
it already is