--- zzzz-none-000/linux-2.4.17/drivers/pcmcia/sa1100_stork.c 2001-10-25 20:53:48.000000000 +0000 +++ sangam-fb-322/linux-2.4.17/drivers/pcmcia/sa1100_stork.c 2004-11-24 13:23:44.000000000 +0000 @@ -44,9 +44,6 @@ /* Enable CF bus: */ storkSetLatchA(STORK_PCMCIA_PULL_UPS_POWER_ON); - /* All those are inputs */ - GPDR &= ~(GPIO_STORK_PCMCIA_A_CARD_DETECT | GPIO_STORK_PCMCIA_B_CARD_DETECT | GPIO_STORK_PCMCIA_A_RDY| GPIO_STORK_PCMCIA_B_RDY); - /* Set transition detect */ set_GPIO_IRQ_edge( GPIO_STORK_PCMCIA_A_CARD_DETECT | GPIO_STORK_PCMCIA_B_CARD_DETECT, GPIO_BOTH_EDGES ); set_GPIO_IRQ_edge( GPIO_STORK_PCMCIA_A_RDY| GPIO_STORK_PCMCIA_B_RDY, GPIO_FALLING_EDGE );