diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-07 22:23:44 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-07 22:23:44 -0500 |
commit | 78149df6d565c36675463352d0bfe0000b02b7a7 (patch) | |
tree | 9a9269d8c037ef66cf3f3d060bbbcc1053562d70 /drivers/net | |
parent | c96e2c92072d3e78954c961f53d8c7352f7abbd7 (diff) | |
parent | 14719f325e1cd4ff757587e9a221ebaf394563ee (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6: (41 commits)
Revert "PCI: remove duplicate device id from ata_piix"
msi: Make MSI useable more architectures
msi: Kill the msi_desc array.
msi: Remove attach_msi_entry.
msi: Fix msi_remove_pci_irq_vectors.
msi: Remove msi_lock.
msi: Kill msi_lookup_irq
MSI: Combine pci_(save|restore)_msi/msix_state
MSI: Remove pci_scan_msi_device()
MSI: Replace pci_msi_quirk with calls to pci_no_msi()
PCI: remove duplicate device id from ipr
PCI: remove duplicate device id from ata_piix
PCI: power management: remove noise on non-manageable hw
PCI: cleanup MSI code
PCI: make isa_bridge Alpha-only
PCI: remove quirk_sis_96x_compatible()
PCI: Speed up the Intel SMBus unhiding quirk
PCI Quirk: 1k I/O space IOBL_ADR fix on P64H2
shpchp: delete trailing whitespace
shpchp: remove DBG_XXX_ROUTINE
...
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/bnx2.c | 3 | ||||
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 2 | ||||
-rw-r--r-- | drivers/net/ixgb/ixgb_main.c | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index c416c18007da..5a96d7611af1 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c | |||
@@ -5947,8 +5947,7 @@ bnx2_init_board(struct pci_dev *pdev, struct net_device *dev) | |||
5947 | * responding after a while. | 5947 | * responding after a while. |
5948 | * | 5948 | * |
5949 | * AMD believes this incompatibility is unique to the 5706, and | 5949 | * AMD believes this incompatibility is unique to the 5706, and |
5950 | * prefers to locally disable MSI rather than globally disabling it | 5950 | * prefers to locally disable MSI rather than globally disabling it. |
5951 | * using pci_msi_quirk. | ||
5952 | */ | 5951 | */ |
5953 | if (CHIP_NUM(bp) == CHIP_NUM_5706 && disable_msi == 0) { | 5952 | if (CHIP_NUM(bp) == CHIP_NUM_5706 && disable_msi == 0) { |
5954 | struct pci_dev *amd_8132 = NULL; | 5953 | struct pci_dev *amd_8132 = NULL; |
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index 222fcd2d10de..619c89218b4b 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -3584,7 +3584,7 @@ e1000_update_stats(struct e1000_adapter *adapter) | |||
3584 | */ | 3584 | */ |
3585 | if (adapter->link_speed == 0) | 3585 | if (adapter->link_speed == 0) |
3586 | return; | 3586 | return; |
3587 | if (pdev->error_state && pdev->error_state != pci_channel_io_normal) | 3587 | if (pci_channel_offline(pdev)) |
3588 | return; | 3588 | return; |
3589 | 3589 | ||
3590 | spin_lock_irqsave(&adapter->stats_lock, flags); | 3590 | spin_lock_irqsave(&adapter->stats_lock, flags); |
diff --git a/drivers/net/ixgb/ixgb_main.c b/drivers/net/ixgb/ixgb_main.c index 51bd7e8ff0d6..0c3682889344 100644 --- a/drivers/net/ixgb/ixgb_main.c +++ b/drivers/net/ixgb/ixgb_main.c | |||
@@ -1605,7 +1605,7 @@ ixgb_update_stats(struct ixgb_adapter *adapter) | |||
1605 | struct pci_dev *pdev = adapter->pdev; | 1605 | struct pci_dev *pdev = adapter->pdev; |
1606 | 1606 | ||
1607 | /* Prevent stats update while adapter is being reset */ | 1607 | /* Prevent stats update while adapter is being reset */ |
1608 | if (pdev->error_state && pdev->error_state != pci_channel_io_normal) | 1608 | if (pci_channel_offline(pdev)) |
1609 | return; | 1609 | return; |
1610 | 1610 | ||
1611 | if((netdev->flags & IFF_PROMISC) || (netdev->flags & IFF_ALLMULTI) || | 1611 | if((netdev->flags & IFF_PROMISC) || (netdev->flags & IFF_ALLMULTI) || |