Subject: PCMCIA multi function cards
To: None <tech-kern@netbsd.org>
From: Martin Husemann <martin@rumolt.teuto.de>
List: tech-kern
Date: 11/30/1998 08:36:27
I'm writting a driver for a pcmcia card showing up as:

pcmcia1 at pcic0 controller 0 socket 1
pcmcia1: CIS version PC Card Standard 5.0
pcmcia1: CIS info: ELSA, MicroLink MC all, C6500012
pcmcia1: Manufacturer code 0x105, product 0x410a
pcmcia1: function 0: serial port, ccr addr 820 mask 277
pcmcia1: function 0, config table entry 5: I/O card; irq mask ffff; iomask a, iospace 3f8-3ff; audio
pcmcia1: function 0, config table entry 21: I/O card; irq mask ffff; iomask a, iospace 2f8-2ff; io8 audio
pcmcia1: function 0, config table entry 37: I/O card; irq mask ffff; iomask a, iospace 3e8-3ef; io8 audio
pcmcia1: function 0, config table entry 53: I/O card; irq mask ffff; iomask a, iospace 2e8-2ef; io8 audio
com2 at pcmcia1 function 0 port 0x3e8-0x3ef: serial device
com2: ns16550a, working fifo

This is a multi function card, which has both a modem (attaching as com2 above)
and an ISDN card (the driver which I'm working on).

Since there is only one 'function' showing up and that one is hijaked by
the com driver - how should my driver ever attach?

So the simple question: did the vendor do something wrong or do we not support 
such cards (yet)?

Or am I doing something wrong? Something special I'll have to put into the
config file?


Martin