Subject: Re: laptop modem cards
To: Greg Wohletz <greg@duke.CS.UNLV.EDU>
From: Chris G. Demetriou <cgd@pa.dec.com>
List: port-i386
Date: 06/04/1998 15:18:02
> The one I have (megahertz) doesn't appear to work.

How does it fail?


If it fails to attach properly, if you #if 0 the:

                if (cfe->num_memspace != 0)
                        continue;

test in comp_pcmcia_attach in sys/dev/pcmcia/com_pcmcia.c, does it
then work?


A friend of mine had a recent problem with a Xircom modem that
reported itself as:

    pcmcia1: CIS info: Xircom, CreditCard Modem 33.6, CM33, 1.00
    pcmcia1: Manufacturer code 0x105, product 0x100d
    pcmcia1: function 0: serial port, ccr addr 800 mask 3
    pcmcia1: function 0, config table entry 1: I/O card; irq mask 8ebc; iomask a, iospace 3f8-3ff; memspace 0-1fff0; powerdown
    pcmcia1: function 0, config table entry 2: I/O card; irq mask 8ebc; iomask a, iospace 2f8-2ff; memspace 0-1fff0; io8 io16 powerdown
    pcmcia1: function 0, config table entry 35: I/O card; irq mask 8ebc; iomask a, iospace 3e8-3ef; memspace 0-1fff0; io8 io16 powerdown
    pcmcia1: function 0, config table entry 36: I/O card; irq mask 8ebc; iomask a, iospace 2e8-2ef; memspace 0-1fff0; io8 io16 powerdown
    com1 at pcmcia1 function 0: can't allocate i/o space

Note the presence of a memory region.

After I helped him find and fix the bug, the slug (I hope he's
reading) promised to send a PR about it, but never did...  8-)


Debugging output (i don't recall the right options to turn it on)
should help some...






cgd