From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 11 Dec 2002 06:42:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 11 Dec 2002 06:42:49 -0500 Received: from dp.samba.org ([66.70.73.150]:64473 "EHLO lists.samba.org") by vger.kernel.org with ESMTP id ; Wed, 11 Dec 2002 06:42:39 -0500 From: Paul Mackerras MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15863.9692.239964.520652@argo.ozlabs.ibm.com> Date: Wed, 11 Dec 2002 22:47:40 +1100 To: James Simmons Cc: linux-kernel@vger.kernel.org Subject: patch for aty128fb.c X-Mailer: VM 7.07 under Emacs 20.7.2 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This patch gets aty128fb.c to compile and work on my G4 powerbook. I have fixed the bug where the check_var routine would alter the par structure, and I have fixed up the errors in the powerbook-specific sleep/wakeup code. Currently it can only put one rage 128 chip to sleep, but that is ok for now since I've never seen a laptop with two rage 128 chips yet. :) The generic device model will ultimately give us a better way to handle sleep/wakeup. Paul. diff -urN linux-2.5/drivers/video/aty128fb.c pmac-2.5/drivers/video/aty128fb.c --- linux-2.5/drivers/video/aty128fb.c 2002-12-10 15:20:32.000000000 +1100 +++ pmac-2.5/drivers/video/aty128fb.c 2002-12-11 22:41:38.000000000 +1100 @@ -65,10 +65,7 @@ #ifdef CONFIG_ALL_PPC #include #include -#include