Why check_media_change & revalidate if interrupt is there

From: Mukund JB.
Date: Thu Jan 12 2006 - 00:41:58 EST



Dear Kernel devels,

I have a doubt about the block driver concepts.
Why do I need the check_media_change & revalidate if interrupt is there.
I mean, if my removable media controller generates interrupts whenever the card is inserted or removed, why will I need a additional check like check_media_change & revalidate .

I can always handle the media change through the ISR. Right.
Can someone explain why really I would need these additional functions?

Regards,
Mukund Jampala


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/