linux-um archives
 help / color / mirror / Atom feed
From: "Peter Hüwe" <PeterHuewe@gmx.de>
To: Richard Weinberger <richard@nod.at>
Cc: Jean Delvare <khali@linux-fr.org>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Emulate I2C subsystem/slaves
Date: Sun, 9 Sep 2012 15:11:32 +0200	[thread overview]
Message-ID: <201209091511.32970.PeterHuewe@gmx.de> (raw)
In-Reply-To: <504C9227.1020700@nod.at>

> >> Maybe some parts of the I2C sub-system can also just depend on
> >> GENERIC_IO instead of HAS_IOMEM.
> >> An arch has GENERIC_IO=y if it supports everything defined in
> >> generic-asm/io.h which is more than enough for most stub drivers.
> > 
> > The only thing which seems to be missing on UML is the ioremap function
> > family ;/
> 
> Why do you need ioremap() in a stub driver?
> This sounds strange.


This was a misunderstanding - the main part of the I2C subsystem doesn't 
depend at all on HAS_IOMEM, only the main part of the i2c/busses section.
And almost all of those drivers use ioremap.

For my stub driver I don't need any of that, I'd be fine with the move of 
HAS_IOMEM as proposed by Jean.


Peter


  reply	other threads:[~2012-09-09 13:11 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-02 20:45 [uml-devel] Emulate I2C subsystem/slaves Peter Hüwe
2012-09-03 12:52 ` Richard Weinberger
2012-09-09  1:08   ` Peter Hüwe
2012-09-09  8:13     ` Geert Uytterhoeven
2012-09-09 10:49       ` Peter Hüwe
2012-09-09 11:28         ` Jean Delvare
2012-09-09 12:15           ` Peter Hüwe
2012-09-09 12:21             ` Geert Uytterhoeven
2012-09-09 12:23             ` Richard Weinberger
2012-09-09 12:52               ` Peter Hüwe
2012-09-09 12:57                 ` Richard Weinberger
2012-09-09 13:11                   ` Peter Hüwe [this message]
2012-09-09 13:27                     ` Richard Weinberger
2012-09-09 14:52                       ` Geert Uytterhoeven
2012-09-09 15:00                         ` Richard Weinberger
2012-09-09 15:48                           ` Jean Delvare
2012-09-09 19:12                           ` Peter Hüwe
2012-09-09 20:08                             ` Richard Weinberger
2012-09-09 13:04                 ` Richard Weinberger
2012-09-09 18:40             ` Jean Delvare
2012-09-09 19:17               ` Peter Hüwe
2012-09-10  7:29                 ` Jean Delvare
2012-09-10 19:21                   ` Peter Hüwe
2012-09-11 15:03                     ` Richard Weinberger

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=201209091511.32970.PeterHuewe@gmx.de \
    --to=peterhuewe@gmx.de \
    --cc=geert@linux-m68k.org \
    --cc=khali@linux-fr.org \
    --cc=richard@nod.at \
    --cc=user-mode-linux-devel@lists.sourceforge.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