[PATCH 6/8] Let subordinate transparent bridges be transparent.

Benjamin Herrenschmidt benh at kernel.crashing.org
Sat Jun 2 09:26:56 EST 2007


On Fri, 2007-06-01 at 12:48 -0500, Jon Loeliger wrote:
> In pcibios_fixup_bus(), bridges that are subordinate
> to transparent bridges were still relocating their
> IORESOURCE_IO start and end values.
> 
> Fix this by preventing the transparent bridge from
> relocating the start and end values, thus allowing the
> subordinate non-transparent bridge full molestation rights.
> 
> Signed-off-by: York Sun <yorksun at freescale.com>
> Signed-off-by: Andy Fleming <afleming at freescale.com>
> Signed-off-by: Jon Loeliger <jdl at freescale.com>
> ---

NAK. The mem case needs a similar fix. I think we should instead do

- 			if (!res->flags)
- 				continue;
+ 			if (!res->flags || bus->self->transparent)
+ 				continue;


Cheers,
Ben.





More information about the Linuxppc-dev mailing list