| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH][au1x00/mtx1] - pci iomap |
| From: | John Crispin <john@phrozen.org> |
| Date: | Tue, 31 Jul 2007 09:54:45 +0200 |
| Cc: | nbd@openwrt.org, florian@openwrt.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Internet Messaging Program (IMP) H3 (4.1.3) |
Signed-off-by: Felix Fietkau <nbd@openwrt.org>for some reason the au1x00 pci code remaps the pci mem region but does not pass the virt_io_addr when registering the pci controller --- linux-2.6.23-rc1.orig/arch/mips/au1000/common/pci.c 2007-07-24 18:42:21.031908123 +0200 +++ linux-2.6.23-rc1/arch/mips/au1000/common/pci.c 2007-07-24 22:12:07.373162835 +0200
@@ -74,6 +74,7 @@
printk(KERN_ERR "Unable to ioremap pci space\n");
return 1;
}
+ au1x_controller.io_map_base = virt_io_addr;
#ifdef CONFIG_DMA_NONCOHERENT
{
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH][au1x00/mtx1] - pci resource conflict, John Crispin |
|---|---|
| Next by Date: | [PATCH][au1x00/mtx1] - usb power switch, John Crispin |
| Previous by Thread: | [PATCH][au1x00/mtx1] - pci resource conflict, John Crispin |
| Next by Thread: | [PATCH][au1x00/mtx1] - usb power switch, John Crispin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |