Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 24 Mar 2001 05:48:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 24 Mar 2001 05:48:15 -0500 Received: from ns1.samba.org ([203.17.0.92]:35684 "HELO au2.samba.org") by vger.kernel.org with SMTP id ; Sat, 24 Mar 2001 05:47:56 -0500 From: Paul Mackerras MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15036.30938.433792.953474@argo.linuxcare.com.au> Date: Sat, 24 Mar 2001 21:37:14 +1100 (EST) To: torvalds@transmeta.com Cc: cort@fsmlabs.com, benh@kernel.crashing.org, linux-kernel@vger.kernel.org Subject: [PATCH] [RESEND] update chipsfb driver X-Mailer: VM 6.75 under Emacs 20.4.1 Reply-To: paulus@samba.org Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Linus, At present, drivers/video/chipsfb.c can only be used on PPC, and it doesn't compile even on PPC. The patch below makes it compile, and by changing it to use the generic inb/outb, means that there is at least a chance it can be used on other platforms. The patch is against 2.4.3-pre7, could you apply it please? Paul. diff -urN linux/drivers/video/chipsfb.c pmac/drivers/video/chipsfb.c --- linux/drivers/video/chipsfb.c Thu Feb 22 14:25:27 2001 +++ pmac/drivers/video/chipsfb.c Sat Mar 3 21:17:19 2001 @@ -29,17 +29,19 @@ #include #include #include +#include + #ifdef CONFIG_FB_COMPAT_XPMAC #include -#endif -#include -#include #include +#endif #ifdef CONFIG_PMAC_BACKLIGHT #include #endif +#ifdef CONFIG_PMAC_PBOOK #include #include +#endif #include