Subject: CardBus vs 3C575TX
To: None <port-i386@netbsd.org>
From: Paul B Dokas <dokas@cs.umn.edu>
List: port-i386
Date: 05/28/1999 15:30:01
I've installed NetBSD 1.4C + the cardbus patches onto my Gateway 9100
and have properly config'd and built a kernel to support CardBus. How-
ever, it just doesn't work at all :-(
What I get is this:
.
.
.
cbb0 at pci0 dev 10 function 0 (unknown), flags 0
i386_uni_space_alloc: addr0, size 1000, mask fff, align 1000
changing intrline 255 to 10
CardBus latency time 0x10
PCI latency time 0x10
cbb0: interrupting at irq 10
cardbus0 at cbb0 bus 0 device 0
pcmcia0 at cbb0 slot 0
cbb1 at pci0 dev 10 function 1 (unknown), flags 0
i386_uni_space_alloc: addr0, size 1000, mask fff, align 1000
changing intrline 255 to 10
CardBus latency time 0x10
PCI latency time 0x10
cbb1: interrupting at irq 10
cardbus1 at cbb1 bus 0 device 0
cardbusattach: CardBus card found [0x2]
cardbus_attach_card: cb1 start
cardbus_attach_card: Vendor 0x8086, Product 0x7192, CIS 0x0
WRONG TUPLE
Intel 82443BX Host Bridge/Controller (AGP disabled) (host bridge, revision 0x02) at cardbus1 dev 0 function 0 not configured
pcmcia1 at cbb1 slot 1
.
.
.
Now, I know that that is not an "Intel 82443BX Host Bridge/Controller"
It's my 3C575TX (no card attaches if I remove the CardBus card). It
looks like the cardbus code is probing the wrong place (and then looking
up the devices in the wrong table). BTW, I've trying setting:
options CBB_PCI_BASE=0x20000000
and also
options CBB_PCI_BASE=0x10000000
neither seem to make a difference. And of course, I have *no* idea where
the base really is.
Anyone have any ideas? I'll gladly test patches, ideas or stabs in the
dark.
I'd *really* love to have this thing working by USENIX. If anyone can
help get this working by then (or while there), I'll gladly buy the
first few rounds of beer.
Paul
--
Paul Dokas dokas@cs.umn.edu
======================================================================
Don Juan Matus: "an enigma wrapped in mystery wrapped in a tortilla."