RE: Problems with dma_mmap_writecombine on mach-pxa

2005-02-22 Thread Frank Buss
Russell King <[EMAIL PROTECTED]> wrote: > Since we map the whole lot in one go, if you get one page, there's no > reason why you shouldn't get the lot. This is why I'm wondering if > it has something to do with your other modifications. my colleage has found the bug: in the function dma_mmap in

[no subject]

2005-02-22 Thread Frank Buss
Russell King <[EMAIL PROTECTED]> wrote: > Since we map the whole lot in one go, if you get one page, there's no > reason why you shouldn't get the lot. This is why I'm wondering if > it has something to do with your other modifications. my colleage has found the bug: in the function dma_mmap in

RE: Problems with dma_mmap_writecombine on mach-pxa

2005-02-18 Thread Frank Buss
Russell King <[EMAIL PROTECTED]> wrote: > Since we map the whole lot in one go, if you get one page, there's no > reason why you shouldn't get the lot. This is why I'm wondering if > it has something to do with your other modifications. your patch works, thanks, but only for the problem with the

RE: Problems with dma_mmap_writecombine on mach-pxa

2005-02-17 Thread Frank Buss
> Please try this (and revert your changes): thanks, this could fix the bug with the vm_pgoff, but I don't think this will fix the problem with the ignored memory access after the first PAGE_SIZE from the mapped memory. I'll try it tommorow, when I'm again at my customers site, where I have access

RE: SL811 problem on mach-pxa

2005-02-17 Thread Frank Buss
> Some of that looks reasonable, not all. In particular, don't > change the convention on resources (memory to i/o), or expect > that the two regions involve more than one byte each ... the > hardware only has two single-byte registers! ok, perhaps I've misunderstood the meaning of IORESOURCE_IO

Problems with dma_mmap_writecombine on mach-pxa

2005-02-17 Thread Frank Buss
I'm trying to use the pxafb driver on mach-pxa, but I can't mmap the framebuffer memory. I can access it from the driver, filling the entire screen, but when I access the pointer returned from mmap from a user space program, the following two things happens: - the vm_pgoff is ignored and I get the

RE: SL811 problem on mach-pxa

2005-02-16 Thread Frank Buss
Now the driver is working, at least on my platform. Currently I'm using version 2.6.11-rc1 as my base, but the diff output is only this: --- linux-2.6.11-rc1.orig/drivers/usb/host/sl811-hcd.c Wed Jan 12 05:00:38 2005 +++ linux-2.6.11-rc4.orig/drivers/usb/host/sl811-hcd.c Sun Feb 13 04:05:51 2005

SL811 problem on mach-pxa

2005-02-14 Thread Frank Buss
I've tried to configure the SL811 driver with 2.6.11 for mach-pxa platform, but it doesn't work: The hub was recognized, but no device (I've tested it with a USB mouse and keyboard). The hub is visible in proc/bus/usb after mounting it. I've tried to find the bug, but perhaps I'm wrong. This is