mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Antonino Sergi <Antonino.Sergi@roma1.infn.it>
To: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: "Randy.Dunlap" <rddunlap@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: isa memory address
Date: Fri, 12 Nov 2004 18:10:55 +0100	[thread overview]
Message-ID: <1100279455.16321.47.camel@delphi.roma1.infn.it> (raw)
In-Reply-To: <Pine.LNX.4.58L.0411110329260.10663@blysk.ds.pg.gda.pl>

> > I tried but (on 2.4.2):
> > - request_region fails but, ignoring it and remapping physical address
> > to virtual, everything works fine, except for release_region, of course.
> > - request_mem_region works but what I get from communication with the
> > actual device are numbers that sometimes are surely wrong.
> 
>  As both request_region() and request_mem_region() merely reserve
> different resources in Linux structures, you can't get a different
> behavior from your device depending on which one you call, if any at all,
> unless you change code elsewhere at the same time.
> 

You were right, there was a wrong symlink that made me compile for 2.4
with headers from 2.2; maybe some different macro substitution lead to
an actual different code. Now it works fine, with 2.6 too.

Thank you

Antonino Sergi

>   Maciej


Antonino Sergi <Antonino.Sergi@Roma1.INFN.it>

Radiodating Laboratory
Physics Department
University of Rome "La Sapienza"
P.le Aldo Moro 2
00185 Rome Italy
Tel +390649914206
Fax +390649914208



  reply	other threads:[~2004-11-12 17:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-08  8:14 Antonino Sergi
2004-11-08 16:46 ` Randy.Dunlap
2004-11-09  5:46   ` Antonino Sergi
2004-11-09 15:42   ` Antonino Sergi
2004-11-09 16:56     ` Maciej W. Rozycki
2004-11-10  9:37       ` Antonino Sergi
2004-11-11  3:54         ` Maciej W. Rozycki
2004-11-12 17:10           ` Antonino Sergi [this message]
2004-11-16 16:22           ` Antonino Sergi
2004-11-17 15:00             ` Antonino Sergi

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=1100279455.16321.47.camel@delphi.roma1.infn.it \
    --to=antonino.sergi@roma1.infn.it \
    --cc=linux-kernel@vger.kernel.org \
    --cc=macro@linux-mips.org \
    --cc=rddunlap@osdl.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

all inboxes | Powered by JetHome®