From: "Jaco Kroon" <jkroon@kroon.co.za>
To: Pavel Machek <pavel@ucw.cz>
Cc: linux-kernel@vger.kernel.org, davej@codemonkey.org.uk
Subject: [PATCH] ati-agp suspend/resume support (try 3)
Date: Mon, 26 Dec 2005 10:53:11 +0200 [thread overview]
Message-ID: <20051226084653.5FAF986F7A@belrog.fns.co.za> (raw)
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)
reply other threads:[~2005-12-26 8:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051226084653.5FAF986F7A@belrog.fns.co.za \
--to=jkroon@kroon.co.za \
--cc=davej@codemonkey.org.uk \
--cc=jaco@kroon.co.za \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®