Skip to content
  • Petr Vandrovec's avatar
    [PATCH] pcmcia: Add support for Possio GCC AKA PCMCIA Siemens MC45 · 30bac7aa
    Petr Vandrovec authored
    
    
    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: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
    30bac7aa