r1232 - in trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian: . patches

Christoph Hellwig hch-guest@haydn.debian.org
Wed, 18 Aug 2004 13:40:40 -0600


Author: hch-guest
Date: 2004-08-18 13:40:35 -0600 (Wed, 18 Aug 2004)
New Revision: 1232

Added:
   trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/acpi-osname.dpatch
Modified:
   trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/changelog
   trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/00list-3
Log:

  * Claim we're Windows (TM) to ACPI to work around broken BIOSes
    (Christoph Hellwig).



Modified: trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/changelog
===================================================================
--- trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/changelog	2004-08-18 18:43:45 UTC (rev 1231)
+++ trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/changelog	2004-08-18 19:40:35 UTC (rev 1232)
@@ -9,6 +9,9 @@
 
   * Update scsi blacklist for USB multi card readers (Christoph Hellwig).
 
+  * Claim we're Windows (TM) to ACPI to work around broken BIOSes
+    (Christoph Hellwig).
+
  -- Andres Salomon <dilinger@voxel.net>  Wed, 18 Aug 2004 02:13:56 -0400
 
 kernel-source-2.6.8 (2.6.8-2) unstable; urgency=high

Modified: trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/00list-3
===================================================================
--- trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/00list-3	2004-08-18 18:43:45 UTC (rev 1231)
+++ trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/00list-3	2004-08-18 19:40:35 UTC (rev 1232)
@@ -34,3 +34,4 @@
 fix-sn_console-for-config_smp
 bio_uncopy_user-memleak
 scsi-blacklist
+acpi-osname

Added: trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/acpi-osname.dpatch
===================================================================
--- trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/acpi-osname.dpatch	2004-08-18 18:43:45 UTC (rev 1231)
+++ trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/acpi-osname.dpatch	2004-08-18 19:40:35 UTC (rev 1232)
@@ -0,0 +1,23 @@
+#! /bin/sh -e 
+## <PATCHNAME>.dpatch by <PATCH_AUTHOR@EMAI>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Description: claim we're windows to ACPI to work around broken BIOSes
+## DP: Patch author: unknown
+## DP: Upstream status: backport
+
+. $(dirname $0)/DPATCH
+
+@DPATCH@
+--- linux/include/acpi/platform/aclinux.h~	2004-08-18 21:35:34.433788552 +0200
++++ linux/include/acpi/platform/aclinux.h	2004-08-18 21:35:59.580965600 +0200
+@@ -44,7 +44,8 @@
+ #ifndef __ACLINUX_H__
+ #define __ACLINUX_H__
+ 
+-#define ACPI_OS_NAME                "Linux"
++/* Microsoft, Microsoft Windows, Microsoft Windows NT are trademarks of Microsoft Corp. */
++#define ACPI_OS_NAME                "Microsoft Windows NT"
+ 
+ #define ACPI_USE_SYSTEM_CLIBRARY
+ #define ACPI_USE_DO_WHILE_0