From: "David S. Miller" <davem@davemloft.net>
To: Linus Torvalds <torvalds@osdl.org>
Cc: jgarzik@pobox.com, acme@conectiva.com.br, corey@world.std.com,
netdev@oss.sgi.com, linux-kernel@vger.kernel.org
Subject: Re: Raylink/WebGear testing - ray_cs.c iomem bug?
Date: Wed, 6 Oct 2004 11:14:31 -0700 [thread overview]
Message-ID: <20041006111431.442ff47e.davem@davemloft.net> (raw)
In-Reply-To: <Pine.LNX.4.58.0410061102590.8290@ppc970.osdl.org>
On Wed, 6 Oct 2004 11:06:45 -0700 (PDT)
Linus Torvalds <torvalds@osdl.org> wrote:
> > NUMBER_OF_CCS is 64, and the difference between CCS_BASE and RCS_BASE
> > is 0x400 so this really doesn't account for anything.
>
> It does, though: as I noted in my second mail (after trying to figure it
> out some more) the size of both ccs and rcs is 16 bytes, so when you
> offset by 64, so the difference between RCS_BASE and CCS_BASE ends up
> being exactly "NUMBER_OF_CCS*sizeof(struct ccs/rcs)", which explains how
> the base is the same, and the _index_ ends up being the one that selects
> between the two.
Right, that makes perfect sense. I missed how it was doing structure
pointer arithmetic when offsetting by the index.
next prev parent reply other threads:[~2004-10-06 18:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-06 17:43 Raylink/WebGear testing - ray_cs.c iomem bug? Linus Torvalds
2004-10-06 17:54 ` David S. Miller
2004-10-06 18:06 ` Linus Torvalds
2004-10-06 18:14 ` David S. Miller [this message]
2004-10-06 17:56 ` Linus Torvalds
2004-10-06 19:16 ` Jeff Garzik
2004-10-06 21:59 ` Thomas Davis
2004-10-07 5:46 ` Thomas Davis
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=20041006111431.442ff47e.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=acme@conectiva.com.br \
--cc=corey@world.std.com \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@oss.sgi.com \
--cc=torvalds@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.