Re: Totally broken PCI PM calls

From: Pavel Machek
Date: Mon Oct 11 2004 - 05:00:29 EST


Hi!

> For now (i.e. 2.6.9), could we have the following patch? It only
> affects suspend-to-disk, and it tells the drivers that we are going to
> D3cold (4) when we are doing suspend-to-disk.

If you want stop-gap solution, patch that was in -mm is better
idea. Please do *not* apply this one.

Pavel

> --- linux-2.5/drivers/pci/pci-driver.c 2004-10-04 13:31:01.000000000 +1000
> +++ pmac-2.5/drivers/pci/pci-driver.c 2004-10-11 14:15:27.986286792 +1000
> @@ -307,7 +307,7 @@
> [PM_SUSPEND_ON] = 0,
> [PM_SUSPEND_STANDBY] = 1,
> [PM_SUSPEND_MEM] = 3,
> - [PM_SUSPEND_DISK] = 3,
> + [PM_SUSPEND_DISK] = 4,
> };
>
> if (state >= sizeof(state_conversion) / sizeof(state_conversion[1]))

--
Boycott Kodak -- for their patent abuse against Java.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/