LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Cyrill Gorcunov <gorcunov@gmail.com>
To: Dan Aloni <da-x@monatomic.org>
Cc: Andi Kleen <ak@suse.de>,
linux-kernel-list <linux-kernel@vger.kernel.org>
Subject: Re: e2b2rom_init_one(): Unable to register resource
Date: Sun, 18 Feb 2007 15:36:36 +0300 [thread overview]
Message-ID: <20070218123636.GD10865@cvg> (raw)
In-Reply-To: <20070218112903.GA5102@localdomain>
On Sun, Feb 18, 2007 at 01:29:03PM +0200, Dan Aloni wrote:
| On Sun, Feb 18, 2007 at 01:42:22PM +0300, Cyrill Gorcunov wrote:
| > Hi,
| >
| > here is a patch attached to the mail. You may test it. Actually
| > I have no 64bit machine to test it and I'm worried about the
| > patch accuracy. So be carefull testing it. I sent a copy of the
| > message to Andi Kleen (who is a maintainer of X86-64 port) may be
| > we should wait for its answer ;)
|
| Thanks, I'll give it a try soon.
|
| BTW, wouldn't it be better just to change the type of phys and size
| to u32?
|
| > diff --git a/drivers/mtd/maps/esb2rom.c b/drivers/mtd/maps/esb2rom.c
| > index a9d808a..d63c060 100644
| > --- a/drivers/mtd/maps/esb2rom.c
| > +++ b/drivers/mtd/maps/esb2rom.c
| > @@ -214,6 +214,9 @@ static int __devinit esb2rom_init_one(struct pci_dev *pdev,
| >
| > /* reserved 0x0020 and 0x0010 */
| > window->phys -= 0x400000UL;
| > +#ifdef CONFIG_64BIT
| > + window->phys &= 0xffffffffUL;
| > +#endif
| > window->size = (0xffffffffUL - window->phys) + 1UL;
| >
| > /* Enable writes through the rom window */
|
|
| --
| Dan Aloni
| XIV LTD, http://www.xivstorage.com
| da-x (at) monatomic.org, dan (at) xiv.co.il
|
Hi,
actually - I don't know... I think this could be done
by kernel developer specialist only (as Andi Kleen is).
So lets wait until his answer ;) Nevertheless, write
me if the patch resolve the problem.
--
Cyrill
next prev parent reply other threads:[~2007-02-18 12:39 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-17 21:29 Dan Aloni
2007-02-18 7:52 ` Cyrill Gorcunov
2007-02-18 8:00 ` Cyrill Gorcunov
2007-02-18 10:42 ` Cyrill Gorcunov
2007-02-18 11:29 ` Dan Aloni
2007-02-18 12:36 ` Cyrill Gorcunov [this message]
2007-02-18 17:13 ` Andi Kleen
2007-02-18 17:49 ` Dan Aloni
2007-02-18 19:36 ` Cyrill Gorcunov
2007-02-18 20:05 ` Cyrill Gorcunov
2007-02-19 15:58 ` Cyrill Gorcunov
2007-02-19 21:16 ` Dan Aloni
2007-02-20 10:15 ` Cyrill Gorcunov
2007-02-20 11:27 ` Cyrill Gorcunov
2007-02-26 17:08 ` Cyrill Gorcunov
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=20070218123636.GD10865@cvg \
--to=gorcunov@gmail.com \
--cc=ak@suse.de \
--cc=da-x@monatomic.org \
--cc=linux-kernel@vger.kernel.org \
--subject='Re: e2b2rom_init_one(): Unable to register resource' \
/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
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).