linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Eugene Surovegin <ebs@ebshome.net>
To: J?n Benediktsson <jonb@marel.is>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: MPC5200 - problem with CF card
Date: Wed, 5 Jan 2005 09:56:46 -0800	[thread overview]
Message-ID: <20050105175646.GC14485@gate.ebshome.net> (raw)
In-Reply-To: <OF9A6BA55A.0E01CA7E-ON00256F80.0051303B-00256F80.0051795E@marel.is>

On Wed, Jan 05, 2005 at 02:49:42PM +0000, J?n Benediktsson wrote:
> > I am working with a custom MPC5200 board which uses the built-in 
> > ATA/IDE controller for a compact flash card. 
> > The Linux kernel is Denx linux_2_4_devel. 

[snip]

> > mpc5xxx_ide: Setting up IDE interface ide0... 
> > Probing IDE interface ide0... 
> > hda: SanDisk SDCFBI-1024, ATA DISK drive 
> > hdb: probing with STATUS(0x00) instead of ALTSTATUS(0x7f) 
> > ide0: unexpected interrupt, status=0x00, count=1 

I had similar problem with some CF cards (while other like in your 
case worked fine).

Try disabling probing of the slave ide0 interface (hdb). I'm not 
familiar with MPC5xxx, but most likely you can modify mpc5xxx_ide or 
whatever code sets up access to your CF card.

Find where an instance of ide_hwif_t is initialized for ide0 and add 
something like:

	/* Don't probe second drive */
        hwif->drives[1].noprobe = 1;

--
Eugene

  reply	other threads:[~2005-01-05 17:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-05 13:34 MPC5200 - problem with CF card Jón Benediktsson
2005-01-05 14:49 ` Jón Benediktsson
2005-01-05 17:56   ` Eugene Surovegin [this message]
2005-01-06 11:37     ` Jón Benediktsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050105175646.GC14485@gate.ebshome.net \
    --to=ebs@ebshome.net \
    --cc=jonb@marel.is \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).