[PATCH] pcmcia: Add support for Possio GCC AKA PCMCIA Siemens MC45
authorPetr Vandrovec <vandrove@vc.cvut.cz>
Fri, 10 Feb 2006 10:04:00 +0000 (02:04 -0800)
committerDominik Brodowski <linux@dominikbrodowski.net>
Fri, 31 Mar 2006 15:27:07 +0000 (17:27 +0200)
commit30bac7aa0e3678c79ff00fc9372f34712eeb34fc
treef15b6915b804b3d06e783e657c60bc96948ec283
parentd6ff5a8532b553e4d85ea65c99eaa0794edf5311
[PATCH] pcmcia: Add support for Possio GCC AKA PCMCIA Siemens MC45

This ugly hack add support for Siemens MC45 PCMCIA GPRS card (which is
identical to Possio GCC, and which is offered by one of our local GPRS
providers).  Card has unfortunate feature that after poweron oxcf950 chip
is fully powered and works, but attached MC45 modem is powered down :-(
There is a special sequence (which takes 1 sec :-( ) to poweron MC45 (and
after MC45 powers on, it takes more than 2 secs until firmware fully
boots...) which needs to be executed after all powerons.

I'm really not familiar with PCMCIA subsystem, so I have no idea whether I
should issue request_region() on rest of oxcf950 address range (0-7 is
UART, 8-F are special configuration registers), or how this should be
better integrated with PM system and so on - I just put it in same place
where another hack already lived...

Card uses 18.432MHz XTAL, so to get it to work you must add lines below to
the /etc/pcmcia/serial.opts.

case "$MANFID-$FUNCID-$PRODID_1-$PRODID_2-$PRODID_3-$PRODID_4" in
'030c,0003-2-GPRS-CARD--')
    SERIAL_OPTS="baud_base 1152000"
    ;;
esac

Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/serial/serial_cs.c
include/pcmcia/ciscode.h