Bugzilla – Attachment 68857 Details for
Bug 151517
FSC Lifebook does not resume
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
sata-acpi-fsc-debug.patch
sata-acpi-fsc-debug (text/plain), 2.08 KB, created by
Hannes Reinecke
on 2006-02-16 15:53:41 UTC
(
hide
)
Description:
sata-acpi-fsc-debug.patch
Filename:
MIME Type:
Creator:
Hannes Reinecke
Created:
2006-02-16 15:53:41 UTC
Size:
2.08 KB
patch
obsolete
>--- linux-2.6.15/drivers/acpi/pci_link.c.orig 2006-02-14 13:51:44.009176954 +0100 >+++ linux-2.6.15/drivers/acpi/pci_link.c 2006-02-15 13:32:45.659221867 +0100 >@@ -803,6 +803,7 @@ static int irqrouter_resume(struct sys_d > struct list_head *node = NULL; > struct acpi_pci_link *link = NULL; > >+ printk(KERN_DEBUG "irqrouter_resume: ENTER\n"); > ACPI_FUNCTION_TRACE("irqrouter_resume"); > > acpi_in_resume = 1; >@@ -815,6 +816,7 @@ static int irqrouter_resume(struct sys_d > acpi_pci_link_resume(link); > } > acpi_in_resume = 0; >+ printk(KERN_DEBUG "irqrouter_resume: EXIT\n"); > return_VALUE(0); > } > >--- linux-2.6.15/drivers/scsi/libata-core.c.orig 2006-02-16 12:29:49.805524922 +0100 >+++ linux-2.6.15/drivers/scsi/libata-core.c 2006-02-16 12:31:45.191603849 +0100 >@@ -4296,13 +4296,17 @@ static int ata_start_drive(struct ata_po > */ > int ata_device_resume(struct ata_port *ap, struct ata_device *dev) > { >+ printk(KERN_DEBUG "ata%d: resume device\n", ap->id); >+ >+ WARN_ON (irqs_disabled()); >+ >+ if (!ata_dev_present(dev)) >+ return 0; >+ ata_acpi_exec_tfs(ap); > if (ap->flags & ATA_FLAG_SUSPENDED) { > ap->flags &= ~ATA_FLAG_SUSPENDED; > ata_set_mode(ap); > } >- if (!ata_dev_present(dev)) >- return 0; >- ata_acpi_exec_tfs(ap); > if (dev->class == ATA_DEV_ATA) > ata_start_drive(ap, dev); > >@@ -4318,6 +4322,7 @@ int ata_device_resume(struct ata_port *a > */ > int ata_device_suspend(struct ata_port *ap, struct ata_device *dev) > { >+ printk(KERN_DEBUG "ata%d: suspend device\n", ap->id); > if (!ata_dev_present(dev)) > return 0; > if (dev->class == ATA_DEV_ATA) >@@ -5098,6 +5103,7 @@ int pci_test_config_bits(struct pci_dev > > int ata_pci_device_suspend(struct pci_dev *pdev, pm_message_t state) > { >+ dev_printk(KERN_DEBUG, &pdev->dev, "suspend PCI device\n"); > pci_save_state(pdev); > pci_disable_device(pdev); > pci_set_power_state(pdev, PCI_D3hot); >@@ -5106,6 +5112,7 @@ int ata_pci_device_suspend(struct pci_de > > int ata_pci_device_resume(struct pci_dev *pdev) > { >+ dev_printk(KERN_DEBUG, &pdev->dev, "resume PCI device\n"); > pci_set_power_state(pdev, PCI_D0); > pci_restore_state(pdev); > pci_enable_device(pdev);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 151517
:
68857
|
69602
|
69656
|
70613
|
73634