Subject: CardBus vs. PCMCIA?
To: None <netbsd-help@netbsd.org>
From: Malcolm Herbert <Malcolm.Herbert@member.sage-au.org.au>
List: netbsd-help
Date: 03/24/2002 15:15:52
I've got a notebook which the 1.5.2 GENERIC_LAPTOP kernel detects has a
cardbus controller on it ... I've had a look in both the 'cardbus' and
'pcmcia' manual entries but I can't see how these differ ...

I'm wanting to get a modem and a network card functioning in these slots.
Does anyone have any recommendations about useable devices? It seems
that a number of 3Com devices are mentioned, but only specific models

the current network card I have (a NetGear FA410) isn't being detected
by the kernel (at least, there's no dmesg output that I can see) ...
apparently this card has worked in the past with this hardware ...

Is CardBus a standard that preceded PCMCIA? Can one use PCMCIA cards in
a CardBus slot or CardBus cards in PCMCIA slots? I've seen a few devices
listed as being both PCMCIA and CardBus compatible, but not all of them.

The supported list of hardware in the 'cardbus' manual entry is
depressingly short, so it would be nice to know that I can interchange
these with no problems ...

The following boot messages are when the NetGear card is in the slot
- I would have thought that even if the card wasn't supported that it
would still appear as being detected (even at a low level 'there's a
card here' type thing)

|NetBSD 1.5.2 (GENERIC_LAPTOP) #3: Sat Aug 18 23:43:41 CEST 2001
|    he@hamster.urc.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC_LAPTOP
|cpu0: Intel Pentium/MMX (Tillamook) (586-class), 299.95 MHz
|total memory = 32320 KB
|avail memory = 25756 KB
:
|cbb0 at pci0 dev 5 function 0: O2 Micro Inc OZ6832 CardBus Controller (rev. 0x34)
|cbb1 at pci0 dev 5 function 1: O2 Micro Inc OZ6832 CardBus Controller (rev. 0x34)
:
|cbb0: interrupting at irq 9
|cbb0: cacheline 0x0 lattimer 0x20
|cbb0: bhlc 0x822000 lscp 0x20010100
|cardslot0 at cbb0 slot 0 flags 0
|cardbus0 at cardslot0: bus 1 device 0 cacheline 0x0, lattimer 0x20
|pcmcia0 at cardslot0
|cbb1: interrupting at irq 9
|cbb1: cacheline 0x0 lattimer 0x20
|cbb1: bhlc 0x822000 lscp 0x20020200
|cardslot1 at cbb1 slot 1 flags 0
|cardbus1 at cardslot1: bus 2 device 0 cacheline 0x0, lattimer 0x20
|pcmcia1 at cardslot1
:

-- 
Malcolm Herbert                                This brain intentionally
mjch@mjch.net                                                left blank