Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 73991 Details for
Bug 114362
NVRM: ACPI: unsupported event: 2 on nvidia-kernel with 2.6.14 and 15
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
nv.c patch for suspend to RAM on 2.6.15
nv.patch (text/plain), 1.51 KB, created by
Daniele Gaffuri
on 2005-12-03 10:09:59 UTC
(
hide
)
Description:
nv.c patch for suspend to RAM on 2.6.15
Filename:
MIME Type:
Creator:
Daniele Gaffuri
Created:
2005-12-03 10:09:59 UTC
Size:
1.51 KB
patch
obsolete
>--- NVIDIA-Linux-x86-1.0-7676-pkg0/usr/src/nv/nv.c.orig 2005-12-03 18:46:41.000000000 +0100 >+++ NVIDIA-Linux-x86-1.0-7676-pkg0/usr/src/nv/nv.c 2005-12-03 18:47:05.000000000 +0100 >@@ -235,7 +235,7 @@ unsigned int nv_kern_ctl_poll(struct fi > > int nv_kern_probe(struct pci_dev *, const struct pci_device_id *); > #if defined(NV_PM_SUPPORT_ACPI) >-int nv_kern_acpi_standby(struct pci_dev *, u32); >+int nv_kern_acpi_standby(struct pci_dev *, pm_message_t); > int nv_kern_acpi_resume(struct pci_dev *); > #endif > >@@ -3649,7 +3649,7 @@ int > nv_acpi_event > ( > struct pci_dev *dev, >- u32 state >+ int state > ) > { > nv_state_t *nv; >@@ -3678,12 +3678,12 @@ nv_acpi_event > > switch (state) > { >- case PM_SUSPEND_MEM: >+ case PM_EVENT_SUSPEND: > nv_printf(NV_DBG_INFO, "NVRM: ACPI: received suspend event\n"); > status = rm_power_management(nv, 0, NV_PM_ACPI_STANDBY); > break; > >- case PM_SUSPEND_ON: >+ case PM_EVENT_ON: > nv_printf(NV_DBG_INFO, "NVRM: ACPI: received resume event\n"); > status = rm_power_management(nv, 0, NV_PM_ACPI_RESUME); > break; >@@ -3703,10 +3703,10 @@ int > nv_kern_acpi_standby > ( > struct pci_dev *dev, >- u32 state >+ pm_message_t state > ) > { >- return nv_acpi_event(dev, state); >+ return nv_acpi_event(dev, state.event); > } > > int >@@ -3715,7 +3715,7 @@ nv_kern_acpi_resume > struct pci_dev *dev > ) > { >- return nv_acpi_event(dev, PM_SUSPEND_ON); >+ return nv_acpi_event(dev, PM_EVENT_ON); > } > > #endif
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 114362
: 73991