Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 30 Oct 2002 11:55:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 30 Oct 2002 11:55:24 -0500 Received: from skunk.directfb.org ([212.84.236.169]:37568 "EHLO skunk.directfb.org") by vger.kernel.org with ESMTP id ; Wed, 30 Oct 2002 11:55:16 -0500 Date: Wed, 30 Oct 2002 18:01:35 +0100 From: Denis Oliver Kropp To: linux-kernel@vger.kernel.org Subject: [PATCH] 2.5.44 - neofb-0.4 (sorry, wrong attachment) Message-ID: <20021030170135.GA29486@skunk.convergence.de> Reply-To: Denis Oliver Kropp Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 8284 Lines: 304 --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline I'm sorry, the last mail had the wrong attachment. Changes: - Toshiba Libretto support - allow modes larger than LCD size if LCD is disabled - keep BIOS settings if internal/external display haven't been enabled explicitly (all changes by Thomas J. Moore ) -- Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" Convergence GmbH --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: attachment; filename="linux-2.5.44-neofb-0.4.patch" diff -Naur linux-2.5.44/drivers/char/toshiba.c linux-2.5.44-neofb-0.4/drivers/char/toshiba.c --- linux-2.5.44/drivers/char/toshiba.c 2002-10-19 06:02:31.000000000 +0200 +++ linux-2.5.44-neofb-0.4/drivers/char/toshiba.c 2002-10-30 17:03:24.000000000 +0100 @@ -210,7 +210,7 @@ /* * Put the laptop into System Management Mode */ -static int tosh_smm(SMMRegisters *regs) +int tosh_smm(SMMRegisters *regs) { int eax; diff -Naur linux-2.5.44/drivers/video/neofb.c linux-2.5.44-neofb-0.4/drivers/video/neofb.c --- linux-2.5.44/drivers/video/neofb.c 2002-10-19 06:02:00.000000000 +0200 +++ linux-2.5.44-neofb-0.4/drivers/video/neofb.c 2002-10-30 18:00:00.000000000 +0100 @@ -1,7 +1,7 @@ /* * linux/drivers/video/neofb.c -- NeoMagic Framebuffer Driver * - * Copyright (c) 2001 Denis Oliver Kropp + * Copyright (c) 2001-2002 Denis Oliver Kropp * * * Card specific code is based on XFree86's neomagic driver. @@ -11,6 +11,13 @@ * Public License. See the file COPYING in the main directory of this * archive for more details. * + * + * 0.4 + * - Toshiba Libretto support, allow modes larger than LCD size if + * LCD is disabled, keep BIOS settings if internal/external display + * haven't been enabled explicitly + * (Thomas J. Moore ) + * * 0.3.3 * - Porting over to new fbdev api. (jsimmons) * @@ -56,6 +63,10 @@ #include #include #include +#ifdef CONFIG_TOSHIBA +#include +extern int tosh_smm(SMMRegisters *regs); +#endif #include #include @@ -70,7 +81,7 @@ #include