2002-08-25 16:33:31

by Manfred Spraul

[permalink] [raw]
Subject: Re: [Fwd: [PATCH] reduce size of bridge regions for yenta.c]

H. J. Lu wrote:
> I don't like it at all. That change is not right. Usually the PCI
> bridge before the CardBus bridge is transparent.

And what if the PCI bridge is not transparent? What if it's a server
with a riser card, and a cardbus bridge to attach a WLAN card? That
setup is quite common.

yenta.c doesn't contain error handling, and that should be fixed.

>
> H.J.
> On Sat, Aug 24, 2002 at 11:09:36PM -0700, Andrew Morton wrote:
>
>>You guys may need this...

IMHO both patches are needed:

The current code that detects transparent bridges [bridges that
implement subtractive decoding would be a better name] is bad, Ivan's
patch fixes that.

My patch adds error handling to yenta.c. It's not strictly needed,
because most PCI bridges in laptops forward all requests, and thus there
is enough iomem space for the 8 MB allocation, but the lack of error
handling [and lack of printks] just asks for trouble.

--
Manfred


2002-08-27 19:29:52

by H. J. Lu

[permalink] [raw]
Subject: Re: [Fwd: [PATCH] reduce size of bridge regions for yenta.c]

On Sun, Aug 25, 2002 at 06:37:14PM +0200, Manfred Spraul wrote:
>
> yenta.c doesn't contain error handling, and that should be fixed.
>

This is what I have been using.


H.J.


Attachments:
(No filename) (178.00 B)
linux-2.4.18-yenta-resource.patch (0.98 kB)
Download all attachments