aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/myri10ge
diff options
context:
space:
mode:
authorBrice Goglin <brice@myri.com>2007-03-21 14:45:18 -0400
committerJeff Garzik <jeff@garzik.org>2007-03-23 01:48:34 -0400
commitaafa70eb56edd1cd5332c978bf9b5e224373c980 (patch)
tree3eb8e198f279e411c0735758f36900d9ed5723d4 /drivers/net/myri10ge
parentd57ab6fdde30816581f7b0a4fe3c015b3f41f9ca (diff)
myri10ge: Serverworks HT2100 provides aligned PCIe completion
[PATCH 1/4] myri10ge: Serverworks HT2100 provides aligned PCIe completion Use the regular firmware on Serverworks HT2100 PCIe ports since this chipset provides aligned PCIe completion. Signed-off-by: Brice Goglin <brice@myri.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/myri10ge')
-rw-r--r--drivers/net/myri10ge/myri10ge.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c
index ac02b3b60f92..e7f9c088ebb5 100644
--- a/drivers/net/myri10ge/myri10ge.c
+++ b/drivers/net/myri10ge/myri10ge.c
@@ -2483,6 +2483,8 @@ static void myri10ge_enable_ecrc(struct myri10ge_priv *mgp)
2483 2483
2484#define PCI_DEVICE_ID_INTEL_E5000_PCIE23 0x25f7 2484#define PCI_DEVICE_ID_INTEL_E5000_PCIE23 0x25f7
2485#define PCI_DEVICE_ID_INTEL_E5000_PCIE47 0x25fa 2485#define PCI_DEVICE_ID_INTEL_E5000_PCIE47 0x25fa
2486#define PCI_DEVICE_ID_SERVERWORKS_HT2100_PCIE_FIRST 0x140
2487#define PCI_DEVICE_ID_SERVERWORKS_HT2100_PCIE_LAST 0x142
2486 2488
2487static void myri10ge_select_firmware(struct myri10ge_priv *mgp) 2489static void myri10ge_select_firmware(struct myri10ge_priv *mgp)
2488{ 2490{
@@ -2514,6 +2516,12 @@ static void myri10ge_select_firmware(struct myri10ge_priv *mgp)
2514 ((bridge->vendor == PCI_VENDOR_ID_SERVERWORKS 2516 ((bridge->vendor == PCI_VENDOR_ID_SERVERWORKS
2515 && bridge->device == 2517 && bridge->device ==
2516 PCI_DEVICE_ID_SERVERWORKS_HT2000_PCIE) 2518 PCI_DEVICE_ID_SERVERWORKS_HT2000_PCIE)
2519 /* ServerWorks HT2100 */
2520 || (bridge->vendor == PCI_VENDOR_ID_SERVERWORKS
2521 && bridge->device >=
2522 PCI_DEVICE_ID_SERVERWORKS_HT2100_PCIE_FIRST
2523 && bridge->device <=
2524 PCI_DEVICE_ID_SERVERWORKS_HT2100_PCIE_LAST)
2517 /* All Intel E5000 PCIE ports */ 2525 /* All Intel E5000 PCIE ports */
2518 || (bridge->vendor == PCI_VENDOR_ID_INTEL 2526 || (bridge->vendor == PCI_VENDOR_ID_INTEL
2519 && bridge->device >= 2527 && bridge->device >=