mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ati-agp suspend/resume support (try 3)
@ 2005-12-26  8:53 Jaco Kroon
  0 siblings, 0 replies; only message in thread
From: Jaco Kroon @ 2005-12-26  8:53 UTC (permalink / raw)
  To: Pavel Machek; +Cc: linux-kernel, davej

Based on the patch at http://unixhead.org/docs/thinkpad/ati-agp/ati-agp.diff, add support for suspend/resume in the ati-agp module.

Signed-of-by: Jaco Kroon <jaco@kroon.co.za>
ACKed-by: Pavel Machek <pavel@suse.cz>

--- linux-2.6.15-rc6/drivers/char/agp/ati-agp.c.orig	2005-12-25 22:21:32.000000000 +0200
+++ linux-2.6.15-rc6/drivers/char/agp/ati-agp.c	2005-12-26 06:47:26.000000000 +0200
@@ -243,6 +243,10 @@
 	return 0;
 }
 
+static int agp_ati_resume(struct pci_dev *dev)
+{
+	return ati_configure();
+}
 
 /*
  *Since we don't need contigious memory we just try
@@ -525,6 +529,7 @@
 	.id_table	= agp_ati_pci_table,
 	.probe		= agp_ati_probe,
 	.remove		= agp_ati_remove,
+	.resume		= agp_ati_resume,
 };
 
 static int __init agp_ati_init(void)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-12-26  8:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-26  8:53 [PATCH] ati-agp suspend/resume support (try 3) Jaco Kroon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®