lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060905081426.GA4105@elf.ucw.cz>
Date:	Tue, 5 Sep 2006 10:14:26 +0200
From:	Pavel Machek <pavel@....cz>
To:	bcollins@...ian.org, scjody@...ernduck.com,
	linux1394-devel@...ts.sourceforge.net,
	kernel list <linux-kernel@...r.kernel.org>,
	Andrew Morton <akpm@...l.org>
Subject: set power state of firewire host during suspend

Put firewire host controller in PCI Dx state for system suspend.
(I was not able to measure any power savings, but it sounds like right
thing to do, anyway.)

Signed-off-by: Pavel Machek <pavel@...e.cz>

---
commit 099774f95904ca16463b9383d812d20621553555
tree 9173983914ccf142ce948dc03f7ae493b489c28f
parent c0aceb8cda90a681ee8028e22b45c00e98b7c33c
author <pavel@....ucw.cz> Tue, 05 Sep 2006 10:13:37 +0200
committer <pavel@....ucw.cz> Tue, 05 Sep 2006 10:13:37 +0200

 drivers/ieee1394/ohci1394.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/ieee1394/ohci1394.c b/drivers/ieee1394/ohci1394.c
index 448df27..12b6dfa 100644
--- a/drivers/ieee1394/ohci1394.c
+++ b/drivers/ieee1394/ohci1394.c
@@ -3565,6 +3565,7 @@ static int ohci1394_pci_suspend (struct 
 	}
 #endif
 
+	pci_set_power_state(pdev, pci_choose_state(pdev, state));
 	return 0;
 }
 

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ