Subject: port-i386/11248: PCMCIA at Cardbus
To: None <gnats-bugs@gnats.netbsd.org>
From: Michael van Elst Mlelstv <mlelstv@duffy.1st.de>
List: netbsd-bugs
Date: 10/17/2000 09:00:39
>Number:         11248
>Category:       port-i386
>Synopsis:       PCMCIA at cardbus does not work for Compaq Armada M700
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 17 09:00:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Michael van Elst
>Release:        NetBSD-1.5-ALPHA2
>Organization:
	
>Environment:
	
System: NetBSD duffy 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (DUFFY2) #3: Tue Oct 17 16:59:55 MEST 2000 src@duffy:/home/src/sys/arch/i386/compile/DUFFY2 i386


>Description:
On a Compaq Armada M700 notebook you can run a kernel compiled with
the cardbus device and pcmcia bus attached to cardslot. It works fine
with cardbus cards like the Xircom RealPort but fails with PCMCIA cards
like the Lucent WaveLAN interface.
>How-To-Repeat:
Compile a CARDBUS kernel for the Compaq Armada and see that the
PCMCIA cards are not recognized. The following options are enabled
compared to the CARDBUS sample:

options PCIBIOS
options PCIBIOS_INTR_FIXUP
options PCIBIOS_BUS_FIXUP
options PCIBIOS_ADDR_FIXUP

The configuration for pcic0/pcic1/tcic0 has been commented out.
>Fix:

| RCS file: /cvsroot/syssrc/sys/arch/i386/i386/rbus_machdep.c,v
| retrieving revision 1.7
| diff -r1.7 rbus_machdep.c
| 161a162
| > #if 0
| 164a166,170
| > #else
| >       if (start < 0x20000000) {
| >               start = 0x20000000;     /* 0.5GB */
| >       }
| > #endif

This moves the rbus base address from 0x40000000 to 0x20000000.

After this change the system recognizes cardbus cards and PCMCIA
cards.

>Release-Note:
>Audit-Trail:
>Unformatted: