lkml.org 
[lkml]   [2005]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] PCI bridge driver rewrite
From
Date
On Thu, 2005-02-24 at 10:03 +0000, Russell King wrote:
> On Thu, Feb 24, 2005 at 01:22:01AM -0500, Adam Belay wrote:
> > 5.) write a bridge driver for Cardbus hardware
>
> We have this already - it's called "yenta".

Yes, I'm aware. It should read:

5.) adapt the Yenta driver to the new PCI bus class

:)

>
> What you need to be aware of is that cardbus hardware is special - it
> may change its resource requirements at any time, both in terms of the
> number of BUS IDs it wishes to consume, and the number and size of
> IO and memory resources.

We can have default sizes allocated for these windows. Maybe, we'll
even have rebalancing at some point.

As for BUS IDs, I'm not sure about the best behavior. I don't really
like reserving 4 positions like we do now. It has a tendency to create
conflicts, and seems to be unnecessary. How common are PCI bridge
devices that attach to cardbus controllers? Does the BIOS ever
preconfigure the cardbus bridge for this situation? I think it's
important that we get bus numbering correct. Some hardware has problems
now.

>
> Note also that if a cardbus bridge isn't on the root bus (it happens on
> some laptops) these resource changes may impact on upstream bridges and
> devices.
>

Yeah, also legacy resources can't pass through properly if the parent
bridge isn't transparent. Complex bus topologies make the problem much
more difficult when legacy hardware is involved.

Thanks,
Adam


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.057 / U:3.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site