All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Locke <mlocke@onemain.com>
To: <govindan@tejasnetworks.com>,
	linuxppc-dev@lists.linuxppc.org,
	damm@kierayapc01.p.y.ki.era.ericsson.se,
	dhinds@pcmcia.sourceforge.org
Cc: gopi@tejasnetworks.com
Subject: RE: Problem with PCMCIA and RPXCLASSIC
Date: Thu, 21 Dec 2000 13:38:42 -0500 (EST)	[thread overview]
Message-ID: <384433732.977423922543.JavaMail.root@web625-wrb.mail.com> (raw)


Hi Mathew Locke,

>The pcmcia-3.1.22 has compilation problems as the mpc8xx_bdinfo >is not
>defined.  It is used only for the frequency, hence we hard >coded it to
>40MHz(which is our boards operating freq).

yeah, i forgot to export that in my patch.

>Then we gave _IO_BASE = 0x80000000
>This still did not work and the kernel panics.  We had to >comment out
>a line in ll_rw_blk.c( where and outb_p is called)..
>After this the kernel comes up.

So, IO_BASE = 0x80000000 does work, ll_rw_blk.c is an unrelated bug.

>Wpe suspect some goof up in the file: >arch/ppc/kernel/m8xx_setup.c
>Here ATA_FLASH is defined to 1.(and the comment is:
>  /* Define this to make a PCMCIA ATA Flash card work.
>  */
>)
>But with this define, the function rpx_pcmcia_config() doesnt >get
>called at all.

It may be a little confusing, but since it works for me I doubt there is a
goof up. The confusing part is that there is code in there to bypass card
services for ATA cards.  Instead of deleting it, I left it so that people
who don't want the overhead of card services (my guess is that it doesn't
really affect perfomance that much) don't have to use it.

>Does anyone have a patch for this file?

you have the patch that works.

>Also, what should be the values in the config.opts for this?

config.opts is not used for the 8xx.

you can send me a microdrive and I will figure out what the problem is.

>I HAVE READ IN THE MAILING LIST from Dan dated TUE 02, may 2000
>that he has successfully used IBM Micro drive with MPC860 PCMCIA.
>has anybody got the detail information ?

I don't think Dan uses card services.  He has code in the kernel that
connects the ide driver directly to the 8xx pcmcia controller.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2000-12-21 18:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-21 18:38 Matthew Locke [this message]
2000-12-21 19:15 ` Problem with PCMCIA and RPXCLASSIC Dan Malek
  -- strict thread matches above, loose matches on Subject: below --
2000-12-28  6:15 gopi krishna
2000-12-19 19:06 Matthew Locke
2000-12-20 17:38 ` Govindan
2000-12-19 13:22 Govindan

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=384433732.977423922543.JavaMail.root@web625-wrb.mail.com \
    --to=mlocke@onemain.com \
    --cc=damm@kierayapc01.p.y.ki.era.ericsson.se \
    --cc=dhinds@pcmcia.sourceforge.org \
    --cc=gopi@tejasnetworks.com \
    --cc=govindan@tejasnetworks.com \
    --cc=linuxppc-dev@lists.linuxppc.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.