Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 172443 Details for
Bug 253988
Suspend/Resume tg3 does not work correctly
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
requested patch
rhel5-test0.patch (text/plain), 1.37 KB, created by
Andy Gospodarek
on 2007-08-24 18:08:54 UTC
(
hide
)
Description:
requested patch
Filename:
MIME Type:
Creator:
Andy Gospodarek
Created:
2007-08-24 18:08:54 UTC
Size:
1.37 KB
patch
obsolete
>--- linux-2.6.18.i386/drivers/net/tg3.c.gospo 2007-08-23 18:52:56.000000000 -0400 >+++ linux-2.6.18.i386/drivers/net/tg3.c 2007-08-23 18:53:12.000000000 -0400 >@@ -63,8 +63,8 @@ > > #define DRV_MODULE_NAME "tg3" > #define PFX DRV_MODULE_NAME ": " >-#define DRV_MODULE_VERSION "3.79" >-#define DRV_MODULE_RELDATE "July 18, 2007" >+#define DRV_MODULE_VERSION "3.80" >+#define DRV_MODULE_RELDATE "August 2, 2007" > > #define TG3_DEF_MAC_MODE 0 > #define TG3_DEF_RX_MODE 0 >@@ -12199,6 +12199,12 @@ static int tg3_suspend(struct pci_dev *p > struct tg3 *tp = netdev_priv(dev); > int err; > >+ /* PCI register 4 needs to be saved whether netif_running() or not. >+ * MSI address and data need to be saved if using MSI and >+ * netif_running(). >+ */ >+ pci_save_state(pdev); >+ > if (!netif_running(dev)) > return 0; > >@@ -12218,9 +12224,6 @@ static int tg3_suspend(struct pci_dev *p > tp->tg3_flags &= ~TG3_FLAG_INIT_COMPLETE; > tg3_full_unlock(tp); > >- /* Save MSI address and data for resume. */ >- pci_save_state(pdev); >- > err = tg3_set_power_state(tp, pci_choose_state(pdev, state)); > if (err) { > tg3_full_lock(tp, 0); >@@ -12248,11 +12251,11 @@ static int tg3_resume(struct pci_dev *pd > struct tg3 *tp = netdev_priv(dev); > int err; > >+ pci_restore_state(tp->pdev); >+ > if (!netif_running(dev)) > return 0; > >- pci_restore_state(tp->pdev); >- > err = tg3_set_power_state(tp, PCI_D0); > if (err) > return err;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 253988
:
172403
| 172443