netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: Peter Chubb <peterc@gelato.unsw.edu.au>
Cc: linux-ia64@vger.kernel.org, linux-net@vger.kernel.org,
	netdev@oss.sgi.com
Subject: Re: Making the NS83820 usable on IA64
Date: Tue, 16 Mar 2004 21:49:12 -0800	[thread overview]
Message-ID: <20040316214912.32b4c530.davem@redhat.com> (raw)
In-Reply-To: <16471.52400.222262.824746@wombat.disy.cse.unsw.edu.au>

On Wed, 17 Mar 2004 14:57:36 +1100
Peter Chubb <peterc@gelato.unsw.edu.au> wrote:

> The idea is to tell gcc that the IP header is 2-byte aligned,
> so it can generate the right code to access it.  Otherwise, it tries
> to do a 4-byte load when trying to extract the header length bitfield,
> which traps.  As far as I read the C standard, gcc can do almost
> whatever it wants as regarding the alignment and underlying storage
> size of a bitfield, so it's free to assume 32-bit alignment if it
> wants.

This makes every piece of code only able to assume 2-byte
alignment.  I don't think this will get accepted :)

  parent reply	other threads:[~2004-03-17  5:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-17  3:57 Making the NS83820 usable on IA64 Peter Chubb
     [not found] ` <4057D1B8.9090508@pobox.com>
2004-03-17  4:33   ` Peter Chubb
2004-03-17  5:49 ` David S. Miller [this message]
2004-03-17  8:54   ` Peter Chubb

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=20040316214912.32b4c530.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-net@vger.kernel.org \
    --cc=netdev@oss.sgi.com \
    --cc=peterc@gelato.unsw.edu.au \
    /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).