Subject: Re: CardBus bridge declares "i'm not configured"
To: Cannella, Michael (ISS Southfield) <mcannell@iss.net>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: port-i386
Date: 01/19/2000 10:51:06
In message <A5B5275FD1F1D211BEED0090274EA0BED9B0D4@sfld-exch1.netrex.com>,
"Cannella, Michael (ISS Southfield)" writes:

>I've just installed 1.4.1 on a Dell Latitude CPi R PII, 128MB.
>
>My network card is a 3Com 3CCFE575BT-D, and NetBSD seems oblivious to it.
>
>
>The parts of dmesg that seemed pertinent are:
>
>Texas Instruments PCI1225 PCI-CardBus Bridge (CardBus bridge, revision 0x01)
>at pci0 dev 3 function 0 not configured
>Texas Instruments PCI1225 PCI-CardBus Bridge (CardBus bridge, revision 0x01)
>at pci0 dev 3 function 1 not configured
>........
>pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xd3fff: using irq3
>pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
>pcmcia0 at pcic0 controller 0 socket 0
>pcic_chip_socket_enable: status cpcic_wait_ready: ready never happened,
>status = 0c
>pcmcia1 at pcic0 controller 0 socket 1

[...]

>
>Is this a function of my CardBus bridge not being supported? Or some
>boneheaded misconfig I did inadvertently?  Your kind help would be welcome. 

IIRC, 1.4.1 does not have native cardbus support, jsut PCMCIA.  That's
why it's attachig your CardBus bridge as the `legacy' ISA address for
PCMCIA bridges.  That's what the "pcic0 at isa0 port 0x3e0...."
is telling you.

If you want support for DMA-capable CardBUs devices like the 3c575,
you might consider moving to -current, or at least a -current kernel).
Can you try booting the kernel from one of the -current snapshots, and
see if it does any better? (You may have to update bootblocks to do
that, but new bootblocks will still boot old kernels).

Somtimes, even with -current, you can get the 'pcic0 at isa0 port
0x3e0..."  message.  With -current, that indicates your CardBus bridge
is being attached as a PCMCIA bridge at the `legacy' ISA addresses.
That's not going to work well with CardBus cards either.

If you get that, you still have a couple of options: first, try
disabling `lecacy PCMCIA' addreses in your laptop BIOS. If that
doesn't work, or you don't have an option to do that, then you'll have
to build a kernel with the "pcic0 at isa" line commented out. Copy the
config file, comment out the line, run config(8) over the config-file,
run `make depend', then `make'.