From: Jeff Kirsher <hidden> Date: 2011-03-02 11:46:44
The following series contains fixes for sparse warnings for e1000
and igb, as well as a fix for e1000e.
The following are changes since commit e3fa3aff0cb198e7c53d894f52146121d9592872:
net: fix nla_policy_len to actually _iterate_ over the policy
and are available in the git repository at:
master.kernel.org:/pub/scm/linux/kernel/git/jkirsher/net-2.6 master
Bruce Allan (1):
e1000e: disable broken PHY wakeup for ICH10 LOMs, use MAC wakeup
instead
Jeff Kirsher (1):
igb: fix sparse warning
Stephen Hemminger (1):
e1000: fix sparse warning
drivers/net/e1000/e1000_osdep.h | 3 ++-
drivers/net/e1000e/netdev.c | 3 ++-
drivers/net/igbvf/vf.c | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
--
1.7.4
From: Jeff Kirsher <hidden> Date: 2011-03-02 11:46:44
From: Stephen Hemminger <redacted>
Sparse complains because the e1000 driver is calling ioread on a pointer
not tagged as __iomem.
Signed-off-by: Stephen Hemminger <redacted>
Reviewed-by: Jesse Brandeburg <redacted>
Tested-by: Jeff Pieper <redacted>
Signed-off-by: Jeff Kirsher <redacted>
---
drivers/net/e1000/e1000_osdep.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
From: Jeff Kirsher <hidden> Date: 2011-03-02 11:46:45
From: Bruce Allan <redacted>
When support for 82577/82578 was added[1] in 2.6.31, PHY wakeup was in-
advertently enabled (even though it does not function properly) on ICH10
LOMs. This patch makes it so that the ICH10 LOMs use MAC wakeup instead
as was done with the initial support for those devices (i.e. 82567LM-3,
82567LF-3 and 82567V-4).
[1] commit a4f58f5455ba0efda36fb33c37074922d1527a10
Reported-by: Aurelien Jarno <aurelien@aurel32.net>
Cc: <stable@kernel.org>
Signed-off-by: Bruce Allan <redacted>
Signed-off-by: Jeff Kirsher <redacted>
---
drivers/net/e1000e/netdev.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
@@ -5967,7 +5967,8 @@ static int __devinit e1000_probe(struct pci_dev *pdev,/* APME bit in EEPROM is mapped to WUC.APME */eeprom_data=er32(WUC);eeprom_apme_mask=E1000_WUC_APME;-if(eeprom_data&E1000_WUC_PHY_WAKE)+if((hw->mac.type>e1000_ich10lan)&&+(eeprom_data&E1000_WUC_PHY_WAKE))adapter->flags2|=FLAG2_HAS_PHY_WAKEUP;}elseif(adapter->flags&FLAG_APME_IN_CTRL3){if(adapter->flags&FLAG_APME_CHECK_PORT_B&&
From: David Miller <davem@davemloft.net> Date: 2011-03-02 23:06:20
From: Jeff Kirsher <redacted>
Date: Wed, 2 Mar 2011 03:45:38 -0800
The following series contains fixes for sparse warnings for e1000
and igb, as well as a fix for e1000e.
The following are changes since commit e3fa3aff0cb198e7c53d894f52146121d9592872:
net: fix nla_policy_len to actually _iterate_ over the policy
and are available in the git repository at:
master.kernel.org:/pub/scm/linux/kernel/git/jkirsher/net-2.6 master