netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Brice Goglin <brice@myri.com>
To: Jeff Garzik <jeff@garzik.org>
Cc: netdev@vger.kernel.org
Subject: [PATCH 1/3] myri10ge: use regular firmware on Serverworks HT2100
Date: Sun, 18 Mar 2007 21:34:33 +0100	[thread overview]
Message-ID: <45FDA259.4090107@myri.com> (raw)
In-Reply-To: <45FDA22E.1070805@myri.com>

[PATCH 1/3] myri10ge: use regular firmware on Serverworks HT2100

Use the regular firmware on Serverworks HT2100 PCIe ports since this
chipset provides aligned PCIe completions.

Signed-off-by: Brice Goglin <brice@myri.com>
---
 drivers/net/myri10ge/myri10ge.c |    8 ++++++++
 1 file changed, 8 insertions(+)

Index: linux-rc/drivers/net/myri10ge/myri10ge.c
===================================================================
--- linux-rc.orig/drivers/net/myri10ge/myri10ge.c	2007-03-18 21:01:42.000000000 +0100
+++ linux-rc/drivers/net/myri10ge/myri10ge.c	2007-03-18 21:14:12.000000000 +0100
@@ -2483,6 +2483,8 @@
 
 #define PCI_DEVICE_ID_INTEL_E5000_PCIE23 0x25f7
 #define PCI_DEVICE_ID_INTEL_E5000_PCIE47 0x25fa
+#define PCI_DEVICE_ID_SERVERWORKS_HT2100_PCIE_FIRST 0x140
+#define PCI_DEVICE_ID_SERVERWORKS_HT2100_PCIE_LAST 0x142
 
 static void myri10ge_select_firmware(struct myri10ge_priv *mgp)
 {
@@ -2514,6 +2516,12 @@
 			   ((bridge->vendor == PCI_VENDOR_ID_SERVERWORKS
 			     && bridge->device ==
 			     PCI_DEVICE_ID_SERVERWORKS_HT2000_PCIE)
+			    /* ServerWorks HT2100 */
+			    || (bridge->vendor == PCI_VENDOR_ID_SERVERWORKS
+				&& bridge->device >=
+				PCI_DEVICE_ID_SERVERWORKS_HT2100_PCIE_FIRST
+				&& bridge->device <=
+				PCI_DEVICE_ID_SERVERWORKS_HT2100_PCIE_LAST)
 			    /* All Intel E5000 PCIE ports */
 			    || (bridge->vendor == PCI_VENDOR_ID_INTEL
 				&& bridge->device >=



  reply	other threads:[~2007-03-18 20:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-18 20:33 [PATCH 0/3] myri10ge updates for 2.6.21 Brice Goglin
2007-03-18 20:34 ` Brice Goglin [this message]
2007-03-18 20:35 ` [PATCH 2/3] myri10ge: update wcfifo and intr_coal_delay default values Brice Goglin
2007-03-18 20:35 ` [PATCH 3/3] myri10ge: update driver version to 1.3.0-1.225 Brice Goglin
2007-03-21 18:43 ` [RESEND 0/4] was: [PATCH 0/3] myri10ge updates for 2.6.21 Brice Goglin
2007-03-21 18:45   ` [PATCH 1/4] myri10ge: Serverworks HT2100 provides aligned PCIe completion Brice Goglin
2007-03-23  5:50     ` Jeff Garzik
2007-03-21 18:45   ` [PATCH 2/4] myri10ge: update wcfifo and intr_coal_delay default values Brice Goglin
2007-03-21 18:46   ` [PATCH 3/4] myri10ge: fix management of >4kB allocated pages Brice Goglin
2007-03-21 18:47   ` [PATCH 4/4] myri10ge: update driver version to 1.3.0-1.226 Brice Goglin

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=45FDA259.4090107@myri.com \
    --to=brice@myri.com \
    --cc=jeff@garzik.org \
    --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 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).