Failure to detect card ins/rem with pd6729

Jar jar at pcuf.fi
Sun Sep 19 03:08:52 EDT 2004


Is is safer to reset the bits 3,4 when irq_mode != 1 ?

indirect_write(socket, PD67_EXT_INDEX, PD67_EXT_CTL_1);
if (irq_mode == 1)
	/*
	 * Now, specifiy that all interrupts are to be done
	 * as PCI interrupts
	 */
	indirect_write(socket, PD67_EXT_DATA, PD67_EC1_INV_MGMT_IRQ |PD67_EC1_INV_CARD_IRQ);
else
	indirect_write(socket, PD67_EXT_DATA, 0x00);


-- 
Best Regards, Jar



More information about the linux-pcmcia mailing list