diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-08-21 14:54:39 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-08-21 14:54:39 +0000 |
commit | b80b099477ab38899df07bda2889e21275affaba (patch) | |
tree | ab263da71541d7a993711bfabb04ec729b9b2bd7 /sys-kernel/suspend2-sources/files | |
parent | Marking ~ppc-macos (diff) | |
download | gentoo-2-b80b099477ab38899df07bda2889e21275affaba.tar.gz gentoo-2-b80b099477ab38899df07bda2889e21275affaba.tar.bz2 gentoo-2-b80b099477ab38899df07bda2889e21275affaba.zip |
Fix compilation of skge, bug #103127.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sys-kernel/suspend2-sources/files')
-rw-r--r-- | sys-kernel/suspend2-sources/files/digest-suspend2-sources-2.6.12-r6 | 4 | ||||
-rw-r--r-- | sys-kernel/suspend2-sources/files/linux-2.6.12-skge-pm_message_t.patch | 21 |
2 files changed, 25 insertions, 0 deletions
diff --git a/sys-kernel/suspend2-sources/files/digest-suspend2-sources-2.6.12-r6 b/sys-kernel/suspend2-sources/files/digest-suspend2-sources-2.6.12-r6 new file mode 100644 index 000000000000..e98473571131 --- /dev/null +++ b/sys-kernel/suspend2-sources/files/digest-suspend2-sources-2.6.12-r6 @@ -0,0 +1,4 @@ +MD5 c5d2a1b62e1dad502c871bba267337d5 linux-2.6.12.tar.bz2 37511570 +MD5 41af3b58c0fce0f3ab186c713d6fbdce genpatches-2.6.12-13.base.tar.bz2 49335 +MD5 96d4ea6b00288e03c595e5a829cb8f71 genpatches-2.6.12-13.extras.tar.bz2 232634 +MD5 f5b74120554c99d7e6ef592693ad7be6 software-suspend-2.1.9.9-for-2.6.12.tar.bz2 129521 diff --git a/sys-kernel/suspend2-sources/files/linux-2.6.12-skge-pm_message_t.patch b/sys-kernel/suspend2-sources/files/linux-2.6.12-skge-pm_message_t.patch new file mode 100644 index 000000000000..e7d0828b686d --- /dev/null +++ b/sys-kernel/suspend2-sources/files/linux-2.6.12-skge-pm_message_t.patch @@ -0,0 +1,21 @@ +diff -urp linux-2.6.12/drivers/net/skge.c linux-2.6.12-skge-pm_message_t/drivers/net/skge.c +--- linux-2.6.12/drivers/net/skge.c 2005-08-21 16:41:40.000000000 +0200 ++++ linux-2.6.12-skge-pm_message_t/drivers/net/skge.c 2005-08-21 16:46:53.000000000 +0200 +@@ -3237,7 +3237,7 @@ 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 state) + { + struct skge_hw *hw = pci_get_drvdata(pdev); + int i, wol = 0; +@@ -3257,7 +3257,7 @@ static int skge_suspend(struct pci_dev * + } + + pci_save_state(pdev); +- pci_enable_wake(pdev, state, wol); ++ pci_enable_wake(pdev, pci_choose_state(pdev, state), wol); + pci_disable_device(pdev); + pci_set_power_state(pdev, pci_choose_state(pdev, state)); + |