Ralf Baechle wrote:
> On Mon, Aug 05, 2002 at 03:04:13PM +0200, Carsten Langgaard wrote:
> > Ok, I finally figured out what the problem is.
> > The attached patch fix the problems, please apply.
> Applied, along with the 64-bit and 2.5 bits your patch was missing.
I was waiting for you to fix the bus_to_baddr in the 64-bit, I can see
you have have done something about it now, but I'm afraid you didn't get
it quite right.
Here is a patch to fix the typos.
_ _ ____ ___ Carsten Langgaard Mailto:firstname.lastname@example.org
|\ /|||___)(___ MIPS Denmark Direct: +45 4486 5527
| \/ ||| ____) Lautrupvang 4B Switch: +45 4486 5555
TECHNOLOGIES 2750 Ballerup Fax...: +45 4486 5556
RCS file: /cvs/linux/include/asm-mips64/pci.h,v
retrieving revision 188.8.131.52
diff -u -r184.108.40.206 pci.h
--- include/asm-mips64/pci.h 2002/08/06 02:21:50 220.127.116.11
+++ include/asm-mips64/pci.h 2002/08/06 06:36:35
@@ -213,8 +213,8 @@
dma_cache_wback_inv((unsigned long)sg->address, sg->length);
- sg->address = bus_to_baddr(hwdev->bus->number) |
+ sg->address = bus_to_baddr(hwdev->bus->number,
@@ -251,7 +251,7 @@
if (direction == PCI_DMA_NONE)
- dma_cache_wback_inv((unsigned long)__va(dma_handle -
long)__va(bus_to_baddr(hwdev->bus->number, dma_handle)), size);