From: Heiko J Schick <info@schihei.de>
To: Arnd Bergmann <arnd@arndb.de>
Cc: linuxppc-dev@ozlabs.org,
openipmi-developer@lists.sourceforge.net,
Christian Krafft <krafft@de.ibm.com>
Subject: Re: [Openipmi-developer] [patch 1/1] ipmi: add autosensing of ipmi device on powerpc using device-tree
Date: Mon, 11 Dec 2006 14:01:33 +0100 [thread overview]
Message-ID: <D4D63351-AFCC-4E4B-AA3C-4F097DB23A13@schihei.de> (raw)
In-Reply-To: <200612111111.10740.arnd@arndb.de>
Hello,
On Dec 11, 2006, at 11:11 AM, Arnd Bergmann wrote:
> I'd like to see (2), because that's what the driver currently expects.
> The common ipmi code in linux _always_ does this calculation
> anyway, and
> (1) only means we have to compute the reg-spacing and reg-size from
> the
> layout of the registers, which gets rather complicated if you have
> more
> than two of them in the reg property.
Yes, that is correct, but what happens if you have three registers
and because of stupid reasons the reg-spacing and reg-size is different.
In (1) you can handle it without problems, in (2) not. Also, where is
the difference if you have to calculate the reg-spacing, etc. (1) or
the addresses (2). The effort is more or less exactly the same.
Regards,
Heiko
next prev parent reply other threads:[~2006-12-11 13:01 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-07 16:22 [patch 0/1] ipmi: add autosensing of ipmi device on powerpc using device-tree Christian Krafft
2006-12-07 16:24 ` [patch 1/1] " Christian Krafft
2006-12-08 10:24 ` Heiko Joerg Schick
2006-12-08 17:19 ` [Openipmi-developer] " Corey Minyard
2006-12-11 12:13 ` Christian Krafft
2006-12-08 18:59 ` Corey Minyard
2006-12-08 19:49 ` Arnd Bergmann
2006-12-08 22:50 ` Benjamin Herrenschmidt
2006-12-09 0:00 ` Arnd Bergmann
2006-12-09 0:07 ` Corey Minyard
2006-12-09 11:44 ` Arnd Bergmann
2006-12-10 18:42 ` Heiko J Schick
2006-12-11 10:11 ` Arnd Bergmann
2006-12-11 13:01 ` Heiko J Schick [this message]
2006-12-11 13:37 ` Segher Boessenkool
2006-12-11 13:18 ` Segher Boessenkool
2006-12-11 14:25 ` Arnd Bergmann
2006-12-11 16:28 ` Heiko J Schick
2006-12-11 16:58 ` Segher Boessenkool
2006-12-11 17:20 ` Christian Krafft
2006-12-11 16:54 ` Segher Boessenkool
2006-12-09 2:14 ` Benjamin Herrenschmidt
2006-12-09 9:46 ` Segher Boessenkool
2006-12-09 11:46 ` Arnd Bergmann
2006-12-08 0:41 ` [patch 0/1] " Paul Mackerras
2006-12-08 14:04 ` Arnd Bergmann
2006-12-08 17:17 ` [Openipmi-developer] " Corey Minyard
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=D4D63351-AFCC-4E4B-AA3C-4F097DB23A13@schihei.de \
--to=info@schihei.de \
--cc=arnd@arndb.de \
--cc=krafft@de.ibm.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=openipmi-developer@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;
as well as URLs for NNTP newsgroup(s).