From: Paul L. <pl...@at...> - 2007-04-25 16:01:42
|
Boku, The USE_CARD_DETECT_HW assumes that there is a micro-switch attached to a GPIO line that detects card insert or removal. The default method for detecting insert/removal is set to SDHCD_ATTRIB_SLOT_POLLING in the PXA270 HCD. In this case, a periodic innocuous command is sent down to the slot to determine if the a card is present. =20 Regards =20 Paul _____ =20 From: boku [mailto:bok...@gm...]=20 Sent: Wednesday, April 25, 2007 2:19 AM To: sdi...@li... Subject: [Sdio-linux-devel] #ifdef USE_CARD_DETECT_HW in HCD driver? Hi,=20 I'm doing the host controller driver now. There is such define check in HCD driver. What's it used for? I check PXA270/ and found it doesn't define such variable. Therefore, how to detect the card insertion/removal in PXA270? Thanks~=20 =20 Best Regards, boku =20 |