Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751008AbVLZExd (ORCPT ); Sun, 25 Dec 2005 23:53:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751011AbVLZExd (ORCPT ); Sun, 25 Dec 2005 23:53:33 -0500 Received: from mailspool.ops.uunet.co.za ([196.7.0.140]:28166 "EHLO mailspool.ops.uunet.co.za") by vger.kernel.org with ESMTP id S1751008AbVLZExc (ORCPT ); Sun, 25 Dec 2005 23:53:32 -0500 Message-ID: <43AF7724.8090302@kroon.co.za> Date: Mon, 26 Dec 2005 06:52:52 +0200 From: Jaco Kroon User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20051007 X-Accept-Language: en, af, en-gb, en-us MIME-Version: 1.0 To: Pavel Machek Cc: linux-kernel@vger.kernel.org, davej@codemonkey.org.uk Subject: [PATCH] ati-agp suspend/resume support (try 2) X-Enigmail-Version: 0.92.0.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms070107030304000701020804" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5829 Lines: 111 This is a cryptographically signed message in MIME format. --------------ms070107030304000701020804 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 --- 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) -- There are only 10 kinds of people in this world, those that understand binary and those that don't. http://www.kroon.co.za/ --------------ms070107030304000701020804 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII5TCC As0wggI2oAMCAQICAw3p1jANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDUwMTI4MjExMjIzWhcNMDYwMTI4MjExMjIz WjBCMR8wHQYDVQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMR8wHQYJKoZIhvcNAQkBFhBq YWNvQGtyb29uLmNvLnphMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4CsLuOWD wimwAv4QLdlT99frJCwzUBVQNL7c7x4ufEquAH6RamWfQyQHzykEJM8NeMIrfb+k3fZEi+ZU g5sq2uIqzOuCJsIj0x3LnoydXTikbv1AFWQDEuqITlroA8bGJE/mMlbPrKyDACPo5cQAzUQz LAg7LQQQVkKNWH4eeXUwZ5lOZEWWno0P5DXHdSLQxCshgWVPRrbtKe25WGObqJMa//1T5qX8 0mKIdAbHlz90BwgX/MjLp0BpXTii2653ScOujCLTC3cPdDUDK68qG7RqatVw5+HE/npJIWa1 0TxJUp5Ii8nPbGPzpEWQmZ8TjkjMs26w80PPPKh2Vh2siQIDAQABoy0wKzAbBgNVHREEFDAS gRBqYWNvQGtyb29uLmNvLnphMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEEBQADgYEAqXNX QEMTVQoj3JoEwK9vlfqSVz5ZEUklpgEhwFJsD+PKa/LgUGVHk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32scwm4utUFxppOG3 qtH/oU37oz+GhWaSRCUvJucgDMf7lwWZn3oW2ZYCY46uLmKbWgxWdXoxt91xmqM1dsUxalzr qpU7uIFf9rd4ggr4+Qmc5h7yGY5dYZlheKew+AAAAAAAAA== --------------ms070107030304000701020804-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/