Raghu - 2008-09-16

Hello All,

Firstly, how does the PCMCIA subsystem detect the card insertion or removal. That is, where exactly this IRQ registration is done.?  cs.c or ds.c or where else.?  As I understand, the client driver's attach() function is called only when a card insertion is detected.   Do I have to monitor my IRQ for card insertion and then send an ioctl of DS_INSERT_CARD to the ds_ioctl() in ds.c? 

I am trying to write a driver for my PCMCIA PC Card on the MIPS platform using kernel 2.6.12.  I don't have any bridge between the PCMCIA slot and the main processor.