netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] myri10ge - drop 2 workarounds that have been fixed in the PCI core
@ 2006-06-23  1:10 Brice Goglin
  2006-06-23  1:11 ` [PATCH 1/2] myri10ge - drop workaround for the missing AER ext cap on nVidia CK804 Brice Goglin
  2006-06-23  1:12 ` [PATCH 2/2] myri10ge - drop workaround pci_save_state() disabling MSI Brice Goglin
  0 siblings, 2 replies; 4+ messages in thread
From: Brice Goglin @ 2006-06-23  1:10 UTC (permalink / raw)
  To: netdev

Hi,

The following 2 patches remove 2 workarounds that were in myri10ge until
the PCI core included a nice fix, which is the case now.

[PATCH] myri10ge - drop workaround for the missing AER ext cap on nVidia CK804
[PATCH] myri10ge - drop workaround pci_save_state() disabling MSI

Please apply.

Thanks,
Brice Goglin


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] myri10ge - drop workaround for the missing AER ext cap on nVidia CK804
  2006-06-23  1:10 [PATCH 0/2] myri10ge - drop 2 workarounds that have been fixed in the PCI core Brice Goglin
@ 2006-06-23  1:11 ` Brice Goglin
  2006-06-23  3:35   ` Jeff Garzik
  2006-06-23  1:12 ` [PATCH 2/2] myri10ge - drop workaround pci_save_state() disabling MSI Brice Goglin
  1 sibling, 1 reply; 4+ messages in thread
From: Brice Goglin @ 2006-06-23  1:11 UTC (permalink / raw)
  To: netdev

[PATCH] myri10ge - drop workaround for the missing AER ext cap on nVidia CK804

We don't need to hardcode the AER capability of the nVidia CK804 chipset
anymore since commit cf34a8e07f02c76f3f1232eecb681301a3d7b10b (PCI: nVidia
quirk to make AER PCI-E extended capability visible) now makes sure that
this cap will be available to pci_find_ext_capability().

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

Index: linux-mm/drivers/net/myri10ge/myri10ge.c
===================================================================
--- linux-mm.orig/drivers/net/myri10ge/myri10ge.c	2006-06-22 20:41:50.000000000 -0400
+++ linux-mm/drivers/net/myri10ge/myri10ge.c	2006-06-22 20:41:59.000000000 -0400
@@ -2251,12 +2251,6 @@
 	}
 
 	cap = pci_find_ext_capability(bridge, PCI_EXT_CAP_ID_ERR);
-	/* nvidia ext cap is not always linked in ext cap chain */
-	if (!cap
-	    && bridge->vendor == PCI_VENDOR_ID_NVIDIA
-	    && bridge->device == PCI_DEVICE_ID_NVIDIA_NFORCE_CK804_PCIE)
-		cap = 0x160;
-
 	if (!cap)
 		return;
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2] myri10ge - drop workaround pci_save_state() disabling MSI
  2006-06-23  1:10 [PATCH 0/2] myri10ge - drop 2 workarounds that have been fixed in the PCI core Brice Goglin
  2006-06-23  1:11 ` [PATCH 1/2] myri10ge - drop workaround for the missing AER ext cap on nVidia CK804 Brice Goglin
@ 2006-06-23  1:12 ` Brice Goglin
  1 sibling, 0 replies; 4+ messages in thread
From: Brice Goglin @ 2006-06-23  1:12 UTC (permalink / raw)
  To: netdev

[PATCH] myri10ge - drop workaround pci_save_state() disabling MSI

We don't need to restore the state right after saving it for later recovery
since commit 99dc804d9bcc2c53f4c20c291bf4e185312a1a0c (PCI: disable msi mode
in pci_disable_device) now prevents pci_save_state() from disabling MSI.

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

Index: linux-mm/drivers/net/myri10ge/myri10ge.c
===================================================================
--- linux-mm.orig/drivers/net/myri10ge/myri10ge.c	2006-06-22 20:42:34.000000000 -0400
+++ linux-mm/drivers/net/myri10ge/myri10ge.c	2006-06-22 20:42:45.000000000 -0400
@@ -2726,8 +2726,6 @@
 	/* Save configuration space to be restored if the
 	 * nic resets due to a parity error */
 	myri10ge_save_state(mgp);
-	/* Restore state immediately since pci_save_msi_state disables MSI */
-	myri10ge_restore_state(mgp);
 
 	/* Setup the watchdog timer */
 	setup_timer(&mgp->watchdog_timer, myri10ge_watchdog_timer,

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] myri10ge - drop workaround for the missing AER ext cap on nVidia CK804
  2006-06-23  1:11 ` [PATCH 1/2] myri10ge - drop workaround for the missing AER ext cap on nVidia CK804 Brice Goglin
@ 2006-06-23  3:35   ` Jeff Garzik
  0 siblings, 0 replies; 4+ messages in thread
From: Jeff Garzik @ 2006-06-23  3:35 UTC (permalink / raw)
  To: Brice Goglin; +Cc: netdev

applied patches 1-2, with pleasure



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-06-23  3:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-23  1:10 [PATCH 0/2] myri10ge - drop 2 workarounds that have been fixed in the PCI core Brice Goglin
2006-06-23  1:11 ` [PATCH 1/2] myri10ge - drop workaround for the missing AER ext cap on nVidia CK804 Brice Goglin
2006-06-23  3:35   ` Jeff Garzik
2006-06-23  1:12 ` [PATCH 2/2] myri10ge - drop workaround pci_save_state() disabling MSI Brice Goglin

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).