Not enough bus numbers for cardbus bridges

From: Michael K. Johnson (johnsonm@redhat.com)
Date: Fri Apr 14 2000 - 14:58:48 EST


I've got a multifunction ethernet/modem cardbus card that works fine under
2.2.x but not under 2.3.99-pre6-1 (and earlier, I've tried several along
the way but haven't had a chance to create a good bug report before). At
least one problem appears clear to me; there are not enough spare busses
allocated to/by the cardbus bridges (none, to be precise), so multifunction
cards, which almost(?) always are built with an internal PCI bus and a
bridge, cannot function.

To be more exact, here are segments of lspci -v output:

First, 2.3.99-pre6-1:

00:04.0 CardBus bridge: Texas Instruments PCI1225 (rev 01)
        Subsystem: Dell Computer Corporation: Unknown device 009e
        Flags: bus master, medium devsel, latency 168, IRQ 11
        Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=176
        Memory window 0: 10400000-107ff000 (prefetchable)
        Memory window 1: 10800000-10bff000
        I/O window 0: 00001c00-00001cff
        I/O window 1: 00000000-00000003
        16-bit legacy interface ports at 0001

00:04.1 CardBus bridge: Texas Instruments PCI1225 (rev 01)
        Subsystem: Dell Computer Corporation: Unknown device 009e
        Flags: bus master, medium devsel, latency 168, IRQ 11
        Memory at 10001000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=176
        Memory window 0: 10c00000-10fff000 (prefetchable)
        Memory window 1: 11000000-113ff000
        I/O window 0: 00003000-000030ff
        I/O window 1: 00000000-00000003
        16-bit legacy interface ports at 0001

And the same report section for 2.2.14:

00:04.0 CardBus bridge: Texas Instruments PCI1225 (rev 01)
        Subsystem: Dell Computer Corporation: Unknown device 009e
        Flags: bus master, medium devsel, latency 168
        Memory at <ignored> (32-bit, non-prefetchable)
        Bus: primary=00, secondary=20, subordinate=22, sec-latency=32
        Memory window 0: 60008000-60013000 (prefetchable)
        I/O window 0: 00000000-00000003
        I/O window 1: 00000000-00000003
        16-bit legacy interface ports at 0001

00:04.1 CardBus bridge: Texas Instruments PCI1225 (rev 01)
        Subsystem: Dell Computer Corporation: Unknown device 009e
        Flags: bus master, medium devsel, latency 168
        Memory at <ignored> (32-bit, non-prefetchable)
        Bus: primary=00, secondary=23, subordinate=25, sec-latency=32
        Memory window 0: 60008000-60013000 (prefetchable)
        I/O window 0: 00000200-00000287
        I/O window 1: 00000000-00000003
        16-bit legacy interface ports at 0001

Note that in the 2.2.14 lspci output, subordinate-secondary == 2, but that
in the 2.2.99* lspci output subordinate == secondary so no busses can be
added below.

This will, of course, be a problem for standard PCI hot plug as well as
for CardBus.

I'm running the latest pcmcia-cs from pcmcia.sourceforge.org as of this
morning.

Please copy me directly on replies as I'm currently on the road, away
from my linux-kernel mailbox. Thanks!

michaelkjohnson

"Magazines all too frequently lead to books and should be regarded by the
 prudent as the heavy petting of literature." -- Fran Lebowitz
 Linux Application Development http://people.redhat.com/johnsonm/lad/

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



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:12 EST