From: "Mark Chambers" <markc@mail.com>
To: "Marcelo Tosatti" <marcelo.tosatti@cyclades.com>,
"linux-ppc-embedded" <linuxppc-embedded@ozlabs.org>
Subject: Re: m8xx_pcmcia driver ported to v2.6
Date: Tue, 10 May 2005 18:29:46 -0400 [thread overview]
Message-ID: <001701c555af$c8ca0e10$0301a8c0@chuck2> (raw)
In-Reply-To: 20050510154145.GB8444@logos.cnet
>
> There is one pending problem: the M8xx does not accept
> access to non present ioports (an exception is triggered),
> which is quite common while inserting/removing cards.
>
> We've hacked around this in our tree, Panto once mentioned
> that another PPC's do handle those exceptions fine (?).
>
Ah yes, I remember this problem from the 68360 days.
This is a matter of how you set up the option register ORx
for a particular chip select. You can choose external or
internal acknowledge. You can have both at the same time:
if you set up the ORx for the maximum number of wait states
and also select external acknowledge, the cycle will end
with the external acknowledge, or end with the maximum
wait states if no external ack is generated. Also note that
the internal/external ack bit can be changed on the fly - so,
for instance, you could turn external ack on once a card
was inserted.
As I recall, some PCMCIA cards can have VERY long
cycles in the configuration space, so even the maximum
number of wait states in ORx may not be sufficient.
Mark Chambers
next prev parent reply other threads:[~2005-05-10 22:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-10 15:41 m8xx_pcmcia driver ported to v2.6 Marcelo Tosatti
2005-05-10 22:29 ` Mark Chambers [this message]
2005-05-12 6:06 ` Pantelis Antoniou
2005-05-12 11:29 ` Mark Chambers
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='001701c555af$c8ca0e10$0301a8c0@chuck2' \
--to=markc@mail.com \
--cc=linuxppc-embedded@ozlabs.org \
--cc=marcelo.tosatti@cyclades.com \
/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).