Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 62534 Details for
Bug 97809
skge compilation problem with swsusp2 patches
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for skge to work with swsusp2
skge-pm_message_t-fix.diff (text/plain), 813 bytes, created by
Pierre Lejeune
on 2005-07-03 04:39:32 UTC
(
hide
)
Description:
Patch for skge to work with swsusp2
Filename:
MIME Type:
Creator:
Pierre Lejeune
Created:
2005-07-03 04:39:32 UTC
Size:
813 bytes
patch
obsolete
>--- a/drivers/net/skge.c 2005-06-06 08:12:36.000000000 +0800 >+++ b/drivers/net/skge.c 2005-06-06 08:16:21.000000000 +0800 >@@ -3310,10 +3310,11 @@ static void __devexit skge_remove(struct > } > > #ifdef CONFIG_PM >-static int skge_suspend(struct pci_dev *pdev, u32 state) >+static int skge_suspend(struct pci_dev *pdev, pm_message_t pmsg) > { > struct skge_hw *hw = pci_get_drvdata(pdev); > int i, wol = 0; >+ pci_power_t state; > > for(i = 0; i < 2; i++) { > struct net_device *dev = hw->dev[i]; >@@ -3329,10 +3330,12 @@ static int skge_suspend(struct pci_dev * > } > } > >+ state = pci_choose_state(pdev, pmsg); >+ > pci_save_state(pdev); > pci_enable_wake(pdev, state, wol); > pci_disable_device(pdev); >- pci_set_power_state(pdev, pci_choose_state(pdev, state)); >+ pci_set_power_state(pdev, state); > > return 0; > } >
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 97809
: 62534