All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rick Jones <rick.jones2@hp.com>
To: netdev@vger.kernel.org
Subject: [PATCH] 2.6.24-rc1 remove architecture warning compiling fealnx on ia64
Date: Fri, 26 Oct 2007 14:04:06 -0700 (PDT)	[thread overview]
Message-ID: <200710262104.OAA14012@tardy.cup.hp.com> (raw)

The likelihood of one of these being used on an ia64 box is epsilon
but it would still be nice to get rid of the warning:

 #warning Processor architecture undefined! 

when compiling on same. So, pick some likely similar architectures
and follow those leads. Compile tested only.

Signed-off-by: Rick Jones <rick.jones2@hp.com>

---
diff -r 35e54d4beaad drivers/net/fealnx.c
--- a/drivers/net/fealnx.c	Wed Oct 24 05:06:40 2007 +0000
+++ b/drivers/net/fealnx.c	Fri Oct 26 06:12:00 2007 -0700
@@ -866,7 +866,7 @@ static int netdev_open(struct net_device
 //   np->bcrvalue=0x04 | 0x0x38;  /* big-endian, 256 burst length */
 	np->bcrvalue = 0x04 | 0x10;	/* big-endian, tx 8 burst length */
 	np->crvalue = 0xe00;	/* rx 128 burst length */
-#elif defined(__alpha__) || defined(__x86_64__)
+#elif defined(__alpha__) || defined(__x86_64__) || defined(__ia64__)
 // 89/9/1 modify,
 //   np->bcrvalue=0x38;           /* little-endian, 256 burst length */
 	np->bcrvalue = 0x10;	/* little-endian, 8 burst length */

             reply	other threads:[~2007-10-26 21:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-26 21:04 Rick Jones [this message]
2007-10-26 21:27 ` [PATCH v2] 2.6.24-rc1 remove architecture warning compiling fealnx on ia64 Jeff Garzik
2007-10-26 21:38   ` Rick Jones

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=200710262104.OAA14012@tardy.cup.hp.com \
    --to=rick.jones2@hp.com \
    --cc=netdev@vger.kernel.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.