Re: [PATCH] fix ips driver compile problems

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 16 Apr 2002 17:01:02 +0100 (BST)


> This patch has been floating inside IBM for a bit, but it appears
> that no one passed it back up to you, yet. I don't know who wrote it,
> but it applies to 2.5.8 and the ServeRAID driver works just fine with it
> applied. Without it, the driver fails to compile.

>
> -#error Please convert me to Documentation/DMA-mapping.txt

See Documentation/DMA-mapping.txt

> - scb->scb_busaddr = VIRT_TO_BUS(scb);
> + scb->scb_busaddr = virt_to_phys(scb);

Nope.. thats not what Documentation/DMA-mapping.txt says

It needs updating to use the pci DMA API. That also conveniently should
put you close to having it work cross platform
-
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/