2012-01-20 02:29:56 +00:00
|
|
|
From 802e6d8c8477a553a677b23a247d6d2638e01958 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Dave Jones <davej@redhat.com>
|
|
|
|
Date: Wed, 26 Oct 2011 13:31:47 -0400
|
|
|
|
Subject: [PATCH] e1000e: ich9 montevina
|
|
|
|
|
2010-09-29 21:58:18 +00:00
|
|
|
This only showed up in one SDV (Montevina).
|
|
|
|
The PCIE slots don't seem to like network cards, so this is the only hope
|
|
|
|
to get networking working. It's never going upstream, but it's low impact
|
|
|
|
enough to carry just to keep those SDVs working.
|
2012-01-20 02:29:56 +00:00
|
|
|
---
|
|
|
|
drivers/net/ethernet/intel/e1000e/ich8lan.c | 6 ++++++
|
|
|
|
drivers/net/ethernet/intel/e1000e/netdev.c | 1 +
|
|
|
|
2 files changed, 7 insertions(+), 0 deletions(-)
|
2010-09-29 21:58:18 +00:00
|
|
|
|
2012-01-20 02:29:56 +00:00
|
|
|
diff --git a/drivers/net/ethernet/intel/e1000e/ich8lan.c b/drivers/net/ethernet/intel/e1000e/ich8lan.c
|
|
|
|
index 6a17c62..0e40975 100644
|
|
|
|
--- a/drivers/net/ethernet/intel/e1000e/ich8lan.c
|
|
|
|
+++ b/drivers/net/ethernet/intel/e1000e/ich8lan.c
|
|
|
|
@@ -452,6 +452,12 @@ static s32 e1000_init_phy_params_ich8lan(struct e1000_hw *hw)
|
2010-09-29 21:58:18 +00:00
|
|
|
|
|
|
|
/* Verify phy id */
|
|
|
|
switch (phy->id) {
|
|
|
|
+ case 0:
|
|
|
|
+ if (hw->adapter->pdev->device == 0x10be)
|
2010-09-29 22:50:05 +00:00
|
|
|
+ e_dbg("got 0 phy id, trying anyway");
|
2010-09-29 21:58:18 +00:00
|
|
|
+ /* Fall through to IGP03E1000 case below */
|
|
|
|
+ else
|
|
|
|
+ return -E1000_ERR_PHY;
|
|
|
|
case IGP03E1000_E_PHY_ID:
|
|
|
|
phy->type = e1000_phy_igp_3;
|
|
|
|
phy->autoneg_mask = AUTONEG_ADVERTISE_SPEED_DEFAULT;
|
2012-01-20 02:29:56 +00:00
|
|
|
diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c
|
|
|
|
index a855db1..edac30b 100644
|
|
|
|
--- a/drivers/net/ethernet/intel/e1000e/netdev.c
|
|
|
|
+++ b/drivers/net/ethernet/intel/e1000e/netdev.c
|
|
|
|
@@ -6359,6 +6359,7 @@ static DEFINE_PCI_DEVICE_TABLE(e1000_pci_tbl) = {
|
2010-09-29 21:58:18 +00:00
|
|
|
{ PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH9_IGP_M), board_ich9lan },
|
|
|
|
{ PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH9_IGP_M_AMT), board_ich9lan },
|
|
|
|
{ PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH9_IGP_M_V), board_ich9lan },
|
|
|
|
+ { PCI_VDEVICE(INTEL, 0x10be), board_ich9lan },
|
|
|
|
|
|
|
|
{ PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH10_R_BM_LM), board_ich9lan },
|
|
|
|
{ PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH10_R_BM_LF), board_ich9lan },
|
2012-01-20 02:29:56 +00:00
|
|
|
--
|
|
|
|
1.7.6.4
|
|
|
|
|