From: Dave Eckhardt <davide+p9@cs.cmu.edu>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] JVC Netbook works fine, except PCMCIA
Date: Thu, 31 Dec 2009 20:58:49 -0500 [thread overview]
Message-ID: <12938.1262311129@lunacy.ugrad.cs.cmu.edu> (raw)
In-Reply-To: <cd6983820912302151p10019a89x31460e020e0eaaaa@mail.gmail.com>
> % cat /dev/ioalloc
> [...]
> 400 5ff cardbus # This is the concerned card.
I think I've seen this before. A year ago I was trying to get
a LinkSys pseudo-Tulip CardBus card working. Before I gave up,
I ran into a situation where the CardBus driver was allocating
a hunk of I/O space for the card but the card was later unable
to use the space. At that time I convinced myself that the
problem was in ioalloc(), around line 230 of devarch.c. This
is what I did at the time, though I never submitted it as a
patch since I wasn't able to prove it was right by getting the
card to work, plus which I wasn't sure I was fully understanding
the code.
- if(m->reserved && m->start == port && m->end == port + size) {
+ if(m->reserved && m->start == port && m->end >= port + size) {
Dave Eckhardt
next prev parent reply other threads:[~2010-01-01 1:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-30 13:54 Frederik Caulier
2009-12-30 18:25 ` Tim Newsham
2009-12-31 5:10 ` Dave Eckhardt
2009-12-31 5:38 ` erik quanstrom
2009-12-31 6:02 ` Frederik Caulier
2009-12-31 5:51 ` Frederik Caulier
2010-01-01 1:58 ` Dave Eckhardt [this message]
2010-01-09 5:21 ` Frederik Caulier
[not found] <<Pine.BSI.4.64.0912300824050.5454@malasada.lava.net>
2009-12-31 3:31 ` erik quanstrom
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=12938.1262311129@lunacy.ugrad.cs.cmu.edu \
--to=davide+p9@cs.cmu.edu \
--cc=9fans@9fans.net \
/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).