From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: Date: Wed, 23 Jan 2008 12:07:52 +0100 From: "Henk Stegeman" To: Linuxppc-embedded@ozlabs.org Subject: How to support removable CF card via IDE on MPC52xx MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_28092_17427543.1201086472525" List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , ------=_Part_28092_17427543.1201086472525 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I have IDE working on my MPC5200B based system using the driver: drivers/ide/ppc/mpc52xx_ide. The IDE device is a compact flash card inserted in a compact flash slot on the CPU board. Two separate pins (reset and card-detect) are provided to the CPU to force a reset and to detect the presence of the compact-flash card. Right now I don't use the card detection, the card is always in the slot, but I want to be able to use the board without the card inserted. What is the best way to let the kernel only use the compact flash card when it is inserted? Can/should I make use of PCMCIA, eventhough the interface is not PCMCIA compatible? Can PCMCIA then make use of the allready working drivers/ide/ppc/mpc52xx_ide driver? Thanks in advance, Henk Stegeman ------=_Part_28092_17427543.1201086472525 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I have IDE working on my MPC5200B based system using the driver:

drivers/ide/ppc/mpc52xx_ide.

The IDE device is a compact flash card inserted in a compact flash slot on the CPU board. Two separate pins (reset and card-detect) are provided to the CPU to force a reset and to detect the presence of the compact-flash card.

Right now I don't use the card detection, the card is always in the slot, but I want to be able to use the board without the card inserted.

What is the best way to let the kernel only use the compact flash card when it is inserted?

Can/should I make use of PCMCIA, eventhough the interface is not PCMCIA compatible? Can PCMCIA then make use of the allready working drivers/ide/ppc/mpc52xx_ide driver?

Thanks in advance,

Henk Stegeman

------=_Part_28092_17427543.1201086472525--