Re: [PATCH] ide-dma.c, ide.c, ide.h, kernel 2.4.24

From: Glenn Wurster
Date: Tue Jan 27 2004 - 11:40:05 EST



> Doh. I overlooked one place.
> IMO this check needs to be added only to two places.

True, I added the check three times to emphasise the three different
calls which could potentially OOPS (at least upon initial
observation). It could be optimized into 2 checks.

> Did you test this patch?

Yes.

> I've seen this and decided that it is not needed.
>
> If we try to program drives to DMA on non-DMA host
> something is going wrong and it is better to just OOPS.

This makes sense. Did you want to update the patch for those proposed
changes (You're more familiar with the code than I - I'm reluctant to
play too much with code unless I understand what it is doing)? I'd be
willing to test an updated patch.

> I suspect that this is caused by unfinished handling of simplex
> devices in setup-pci.c (simplex host - one DMA engine but two
> channels).

I'm really not familiar with the complexities behind DMA
programming, especially when it comes to simplex devices so I'm
probably not in much of a position to finish up handling of simplex
devices.

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