TI CardBus bridge problem

Russell King rmk+pcmcia at arm.linux.org.uk
Sun Jul 3 16:22:57 EDT 2005


On Sun, Jul 03, 2005 at 01:03:44PM -0700, Chris Lu wrote:
> lspci still does not list the card when it is plugged
> in.

In which case check your PCI bridge numbering.  A PCI bridge will
only forward PCI configuration accesses for busses which it thinks are
downstream - that is the numbers between "secondary" and "subordinate"
inclusive.  So, for instance:

00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev c2) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=03, sec-latency=32
        Memory behind bridge: f8000000-f80fffff

will forward to bus 1 configuration accesses for busses 1, 2, and 3.
For the sake of argument, if you had the following also listed:

01:01.0 CardBus bridge: Cirrus Logic PD 6833 PCMCIA/CardBus Ctrlr (rev ff)
        Flags: bus master, medium devsel, latency 248, IRQ 21
        Memory at c8000000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=04, subordinate=07, sec-latency=176

then a device connected on bus 4 (being in the cardbus socket) would
not be visible.

If this is the case, try passing "pci=assign-busses"

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core



More information about the linux-pcmcia mailing list