fix PCI resouce allocation for SSB PCI host bridge
authorMarkus Wigge <mwigge@marcant.net>
Tue, 16 Mar 2010 10:39:37 +0000 (10:39 +0000)
committerMarkus Wigge <mwigge@marcant.net>
Tue, 16 Mar 2010 10:39:37 +0000 (10:39 +0000)
commitaca24cf8a0a7c6db1e6f8cdeffbbab003795a361
tree427bde4a3d5a11bae06e25b4011261a9b32f2b31
parentae7eae244cf1ab6e17f18edcaf5ffc72cc7c9428
fix PCI resouce allocation for SSB PCI host bridge

The defined offset is wrong and the fixup-code overrides it
later on so that it never gets used for most PCI devices.
Unfortunately the yenta-socket allocates its own resources
and crashes because of the wrong mem_offset.

It seems that the offset and fixup code came from 2.4 where
resource allocation was handled differently.

This patch removes the unneeded parts and thus enables
the yenta_socket on the WRT54G3G platform.

It was tested on Asus WL500G-Premium (v1 and v2), Linksys
WRT54G3G, Netgear WGT634U

Signed-off-by: Michael Buesch <mb@bu3sch.de>
SVN-Revision: 20239
target/linux/brcm47xx/patches-2.6.32/930-bcm47xx-pci-iomem.patch [new file with mode: 0644]
target/linux/brcm47xx/patches-2.6.33/930-bcm47xx-pci-iomem.patch [new file with mode: 0644]