Subject: Re: Sierra Wireless Aircard A555
To: John Nemeth <jnemeth@victoria.tc.ca>
From: Charles M. Hannum <abuse@spamalicious.com>
List: current-users
Date: 09/26/2004 21:52:52
On Sunday 26 September 2004 19:28, John Nemeth wrote:
> pcmcia0: CIS version PC Card Standard 7.0
> pcmcia0: CIS info: Sierra Wireless, AirCard 555, A555, Rev 1
> pcmcia0: Manufacturer code 0x192, product 0xa555
> pcmcia0: function 0: network adapter, ccr addr 700 mask 73
> pcmcia0: function 0, config table entry 1: I/O card; irq mask fff8; iomask
> 6, iospace 0-3f; rdybsy_active io8 io16 irqlevel com2 at pcmcia0 function
> 0: <Sierra Wireless, AirCard 555, A555, Rev 1> com2: ns8250 or ns16450, no
> fifo

Hmmm, the large I/O range and the "network adapter" are kind of interesting.  
It's worth noting that the Linux instructions include a replacement CIS, 
which should parse more like:



pcmcia0: CIS version PC Card Standard 7.0
pcmcia0: CIS info: Sierra Wireless, AirCard 555, A555, Rev 1
pcmcia0: Manufacturer code 0x13f, product 0x710
pcmcia0: function 0: serial adapter, ccr addr 700 mask 73
pcmcia0: function 0, config table entry 32: I/O card; irq mask 3fbc; iomask 3, 
iospace 3f8-3ff; io8 irqlevel
pcmcia0: function 0, config table entry 33: I/O card; irq mask 3fbc; iomask 3, 
iospace 3e8-3ef; io8 irqlevel
pcmcia0: function 0, config table entry 34: I/O card; irq mask 3fbc; iomask 3, 
iospace 2f8-2ff; io8 irqlevel
pcmcia0: function 0, config table entry 35: I/O card; irq mask 3fbc; iomask 3, 
iospace 2e8-2ef; io8 irqlevel
pcmcia0: function 0, config table entry 36: I/O card; irq mask 3fbc; iomask 3, 
iospace 0-7; io8 irqlevel

I'm guessing that bit 5 of the config index is actually what puts it into 
serial port emulation.  You should be able to add some stuff to 
pcmcia_cis_quirks.c to emulate this.

(Oddly, the "last config index" value in the replacement CIS is wrong -- but I 
don't think anything actually uses that.)