Nagy Karoly Gabriel
10 years ago
21 changed files with 4 additions and 674 deletions
@ -1,30 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../linux-header/asound.patch.disabled |
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
The usual culprits. |
||||
|
||||
- Rene Rebe <rene@exactcode.de> |
||||
|
||||
--- linux-2.6.9/include/sound/asound.h.orig 2004-11-18 02:05:26.256365696 +0100 |
||||
+++ linux-2.6.9/include/sound/asound.h 2004-11-18 02:05:39.759312936 +0100 |
||||
@@ -26,6 +26,7 @@ |
||||
#if defined(LINUX) || defined(__LINUX__) || defined(__linux__) |
||||
|
||||
#include <linux/ioctl.h> |
||||
+#include <linux/compiler.h> |
||||
|
||||
#ifdef __KERNEL__ |
||||
|
@ -1,28 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../linux-header/atomic.patch.disabled |
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
--- ./include/asm-i386/atomic.h.orig 2005-03-10 22:12:23.104674184 -0300 |
||||
+++ ./include/asm-i386/atomic.h 2005-03-10 22:14:38.358112536 -0300 |
||||
@@ -3,7 +3,9 @@ |
||||
|
||||
#include <linux/config.h> |
||||
#include <linux/compiler.h> |
||||
-#include <asm/processor.h> |
||||
+#ifdef __KERNEL__ |
||||
+# include <asm/processor.h> |
||||
+#endif |
||||
|
||||
/* |
||||
* Atomic operations that C can't guarantee us. Useful for |
@ -1,26 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../linux-header/blkpg.patch.disabled |
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
--- ./include/linux/blkpg.h.orig 2004-11-18 16:07:34.000000000 +0100 |
||||
+++ ./include/linux/blkpg.h 2005-04-06 22:17:00.257102232 +0200 |
||||
@@ -1,6 +1,8 @@ |
||||
#ifndef _LINUX_BLKPG_H |
||||
#define _LINUX_BLKPG_H |
||||
|
||||
+#include <linux/compiler.h> |
||||
+ |
||||
/* |
||||
* Partition table and disk geometry handling |
||||
* |
@ -1,25 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../linux-header/capi.patch.disabled |
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
--- linux-2.6.8.1/include/linux/capi.h~ 2004-08-14 12:55:33.000000000 +0200 |
||||
+++ linux-2.6.8.1/include/linux/capi.h 2004-10-14 17:18:13.552303472 +0200 |
||||
@@ -14,6 +14,7 @@ |
||||
|
||||
#include <asm/types.h> |
||||
#include <linux/ioctl.h> |
||||
+#include <linux/compiler.h> |
||||
#ifndef __KERNEL__ |
||||
#include <linux/kernelcapi.h> |
||||
#endif |
@ -1,37 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../linux-header/crc-ccitt.patch.disabled |
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
Hm - let's use the normal types that are defined (too lazy to serch for these |
||||
variants ...). |
||||
- Rene Rebe <rene@exactcode.de> |
||||
|
||||
--- linux-2.6.8.1/include/linux/crc-ccitt.h.orig 2004-09-15 19:53:29.752995143 +0200 |
||||
+++ linux-2.6.8.1/include/linux/crc-ccitt.h 2004-09-15 19:54:02.301801850 +0200 |
||||
@@ -3,11 +3,11 @@ |
||||
|
||||
#include <linux/types.h> |
||||
|
||||
-extern u16 const crc_ccitt_table[256]; |
||||
+extern __u16 const crc_ccitt_table[256]; |
||||
|
||||
-extern u16 crc_ccitt(u16 crc, const u8 *buffer, size_t len); |
||||
+extern __u16 crc_ccitt(__u16 crc, const __u8 *buffer, size_t len); |
||||
|
||||
-static inline u16 crc_ccitt_byte(u16 crc, const u8 c) |
||||
+static inline __u16 crc_ccitt_byte(__u16 crc, const __u8 c) |
||||
{ |
||||
return (crc >> 8) ^ crc_ccitt_table[(crc ^ c) & 0xff]; |
||||
} |
@ -1,27 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../linux-header/cyclades.patch.disabled |
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
diff -Naur linux-2.6.11.orig/include/linux/cyclades.h linux-2.6.11/include/linux/cyclades.h |
||||
--- linux-2.6.11.orig/include/linux/cyclades.h 2005-03-02 09:38:33.000000000 +0200 |
||||
+++ linux-2.6.11/include/linux/cyclades.h 2005-03-07 17:52:56.716885160 +0200 |
||||
@@ -67,6 +67,8 @@ |
||||
#ifndef _LINUX_CYCLADES_H |
||||
#define _LINUX_CYCLADES_H |
||||
|
||||
+#include <linux/compiler.h> |
||||
+ |
||||
struct cyclades_monitor { |
||||
unsigned long int_count; |
||||
unsigned long char_count; |
@ -1,33 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../linux-header/ext2_fs.patch.disabled |
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
User space that includes the ext2 defines (e.g. syslinux) must bot get |
||||
ext2_fs_sb since it contains in-kernel locking structures ... |
||||
|
||||
- Rene Rebe <rene@exactcode.de> |
||||
|
||||
--- usr/include/linux/ext2_fs.h.orig 2005-01-07 09:21:12.471622368 +0100 |
||||
+++ usr/include/linux/ext2_fs.h 2005-01-07 09:21:31.036800032 +0100 |
||||
@@ -17,7 +17,9 @@ |
||||
#define _LINUX_EXT2_FS_H |
||||
|
||||
#include <linux/types.h> |
||||
+#ifdef __KERNEL__ |
||||
#include <linux/ext2_fs_sb.h> |
||||
+#endif |
||||
|
||||
/* |
||||
* The second extended filesystem constants/structures |
@ -1,26 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../linux-header/fddi.h.patch.disabled |
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
--- usr/include/linux/if_fddi.h.vanilla 2005-03-05 18:33:32.364111176 +0100 |
||||
+++ usr/include/linux/if_fddi.h 2005-03-05 18:33:54.398761400 +0100 |
||||
@@ -24,6 +24,8 @@ |
||||
#ifndef _LINUX_IF_FDDI_H |
||||
#define _LINUX_IF_FDDI_H |
||||
|
||||
+#include <linux/netdevice.h> |
||||
+ |
||||
/* |
||||
* Define max and min legal sizes. The frame sizes do not include |
||||
* 4 byte FCS/CRC (frame check sequence). |
@ -1,31 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../linux-header/genhd.patch.disabled |
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
device.h caues major pain for the user-space, so do not include it ;-) |
||||
|
||||
- Rene Rebe <rene@exactcode.de> |
||||
|
||||
--- ./include/linux/genhd.h.orig 2004-10-14 16:07:26.910854072 +0200 |
||||
+++ ./include/linux/genhd.h 2004-10-14 16:07:04.280294440 +0200 |
||||
@@ -12,7 +12,7 @@ |
||||
#include <linux/config.h> |
||||
#include <linux/types.h> |
||||
#include <linux/major.h> |
||||
-#include <linux/device.h> |
||||
+/*#include <linux/device.h>*/ |
||||
#include <linux/smp.h> |
||||
#include <linux/string.h> |
||||
#include <linux/fs.h> |
@ -1,33 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../linux-header/hiddev.patch.disabled |
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
Fix inclusion by user-space packages, such as hal. |
||||
|
||||
- Rene Rebe <rene@exactcode.de> |
||||
|
||||
--- usr/include/linux/hiddev.h.orig 2005-05-10 08:33:13.000000000 +0200 |
||||
+++ usr/include/linux/hiddev.h 2005-05-10 08:27:49.000000000 +0200 |
||||
@@ -33,6 +33,10 @@ |
||||
* The event structure itself |
||||
*/ |
||||
|
||||
+#ifndef HID_MAX_USAGES |
||||
+#define HID_MAX_USAGES 8 |
||||
+#endif |
||||
+ |
||||
struct hiddev_event { |
||||
unsigned hid; |
||||
signed int value; |
@ -1,80 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../linux-header/if.patch.disabled |
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
ifmap is already defined in net/if.h - so disable most parts of the file for |
||||
user-space applications. |
||||
|
||||
- Rene Rebe <rene@exactcode.de> |
||||
|
||||
--- usr/include/linux/if.h.orig 2004-10-03 22:50:13.954411344 +0200 |
||||
+++ usr/include/linux/if.h 2004-10-03 23:16:24.702621320 +0200 |
||||
@@ -26,6 +26,10 @@ |
||||
#define IFNAMSIZ 16 |
||||
#include <linux/hdlc/ioctl.h> |
||||
|
||||
+/* WARNING: userspace should use net/if.h, but this file may be included via |
||||
+ linux/mii.h as example */ |
||||
+#if !defined(_NET_IF_H) || !defined(__USE_MISC) |
||||
+ |
||||
/* Standard interface flags (netdevice->flags). */ |
||||
#define IFF_UP 0x1 /* interface is up */ |
||||
#define IFF_BROADCAST 0x2 /* broadcast address valid */ |
||||
@@ -53,6 +57,8 @@ |
||||
#define IFF_802_1Q_VLAN 0x1 /* 802.1Q VLAN device. */ |
||||
#define IFF_EBRIDGE 0x2 /* Ethernet bridging device. */ |
||||
|
||||
+#endif /* !(net/if.h && __USE_MISC) */ |
||||
+ |
||||
#define IF_GET_IFACE 0x0001 /* for querying only */ |
||||
#define IF_GET_PROTO 0x0002 |
||||
|
||||
@@ -80,6 +86,9 @@ |
||||
#define IF_PROTO_FR_ETH_PVC 0x200B |
||||
#define IF_PROTO_RAW 0x200C /* RAW Socket */ |
||||
|
||||
+/* WARNING: userspace should use net/if.h, but this file may be included via |
||||
+ linux/mii.h as example */ |
||||
+#if !defined(_NET_IF_H) || !defined(__USE_MISC) |
||||
|
||||
/* |
||||
* Device mapping structure. I'd just gone off and designed a |
||||
@@ -101,6 +110,7 @@ |
||||
unsigned char port; |
||||
/* 3 bytes spare */ |
||||
}; |
||||
+#endif /* !(net/if.h && __USE_MISC) */ |
||||
|
||||
struct if_settings |
||||
{ |
||||
@@ -120,6 +130,7 @@ |
||||
} ifs_ifsu; |
||||
}; |
||||
|
||||
+#if !defined(_NET_IF_H) || !defined(__USE_MISC) |
||||
/* |
||||
* Interface request structure used for socket |
||||
* ioctl's. All interface ioctl's must have parameter |
||||
@@ -186,8 +197,10 @@ |
||||
struct ifreq __user *ifcu_req; |
||||
} ifc_ifcu; |
||||
}; |
||||
+ |
||||
#define ifc_buf ifc_ifcu.ifcu_buf /* buffer address */ |
||||
#define ifc_req ifc_ifcu.ifcu_req /* array of structures */ |
||||
|
||||
+#endif /* !(net/if.h && __USE_MISC) */ |
||||
|
||||
#endif /* _LINUX_IF_H */ |
@ -1,26 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../linux-header/int64-i386.patch.disabled |
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
--- ./include/asm-i386/types.h.vanilla 2005-03-06 10:42:24.538677352 +0100 |
||||
+++ ./include/asm-i386/types.h 2005-03-06 10:42:45.265526392 +0100 |
||||
@@ -19,7 +19,7 @@ |
||||
typedef __signed__ int __s32; |
||||
typedef unsigned int __u32; |
||||
|
||||
-#if defined(__GNUC__) && !defined(__STRICT_ANSI__) |
||||
+#if defined(__GNUC__) |
||||
typedef __signed__ long long __s64; |
||||
typedef unsigned long long __u64; |
||||
#endif |
@ -1,31 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../linux-header/kdev_t.patch.disabled |
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
Fixed the direct inclusion of kdev_t.h e.g. from userspace apps. |
||||
|
||||
- Rene Rebe <rene@exactcode.de> |
||||
|
||||
--- linux-2.6.8.1/include/linux/kdev_t.h.orig 2004-09-29 10:42:47.335008887 +0200 |
||||
+++ linux-2.6.8.1/include/linux/kdev_t.h 2004-09-29 10:43:08.218675269 +0200 |
||||
@@ -1,5 +1,8 @@ |
||||
#ifndef _LINUX_KDEV_T_H |
||||
#define _LINUX_KDEV_T_H |
||||
+ |
||||
+#include<linux/types.h> |
||||
+ |
||||
#ifdef __KERNEL__ |
||||
#define MINORBITS 20 |
||||
#define MINORMASK ((1U << MINORBITS) - 1) |
@ -1,34 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../linux-header/mod_devicetable.patch.disabled |
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
Unfortunately the types also need to be defined when used from user-space |
||||
applications, ... |
||||
|
||||
- Rene Rebe <rene@exactcode.de> |
||||
|
||||
--- linux-2.6.8.1/include/linux/mod_devicetable.h.orig 2004-09-17 13:51:23.577697246 +0200 |
||||
+++ linux-2.6.8.1/include/linux/mod_devicetable.h 2004-09-17 13:51:30.375605943 +0200 |
||||
@@ -7,10 +7,8 @@ |
||||
#ifndef LINUX_MOD_DEVICETABLE_H |
||||
#define LINUX_MOD_DEVICETABLE_H |
||||
|
||||
-#ifdef __KERNEL__ |
||||
#include <linux/types.h> |
||||
typedef unsigned long kernel_ulong_t; |
||||
-#endif |
||||
|
||||
#define PCI_ANY_ID (~0) |
||||
|
@ -1,34 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../linux-header/ppc-unaligned.patch.disabled |
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
Some user-space apps (e.g. reiserfsprogs) do need the unaligned macros, ... |
||||
|
||||
- Rene Rebe <rene@exactcode.de> |
||||
|
||||
--- ./include/asm-ppc/unaligned.h.orig 2004-10-25 12:12:02.331864008 +0200 |
||||
+++ ./include/asm-ppc/unaligned.h 2004-10-25 12:12:09.347797424 +0200 |
||||
@@ -1,4 +1,4 @@ |
||||
-#ifdef __KERNEL__ |
||||
+ |
||||
#ifndef __PPC_UNALIGNED_H |
||||
#define __PPC_UNALIGNED_H |
||||
|
||||
@@ -15,4 +15,4 @@ |
||||
#define put_unaligned(val, ptr) ((void)( *(ptr) = (val) )) |
||||
|
||||
#endif |
||||
-#endif /* __KERNEL__ */ |
||||
+ |
@ -1,27 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../linux-header/ppc64-asm-types.h.patch.disabled |
||||
# Copyright (C) 2006 The T2 SDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
--- ./include/asm-ppc64/types.h.vanilla 2006-03-29 08:14:17.000000000 +0200 |
||||
+++ ./include/asm-ppc64/types.h 2006-03-29 08:14:51.000000000 +0200 |
||||
@@ -16,7 +16,7 @@ |
||||
* 2 of the License, or (at your option) any later version. |
||||
*/ |
||||
|
||||
-typedef unsigned int umode_t; |
||||
+//ttypedef unsigned int umode_t; |
||||
|
||||
/* |
||||
* __xx is ok: it doesn't pollute the POSIX namespace. Use these in the |
@ -1,37 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../linux-header/ppc64-memory.patch.disabled |
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
Used by X.org. |
||||
|
||||
- Rene Rebe <rene@exactcode.de> |
||||
|
||||
--- usr/include/asm-ppc64/memory.h.vanilla 2005-10-31 09:52:56.035809888 +0200 |
||||
+++ usr/include/asm-ppc64/memory.h 2005-10-31 09:57:42.447796816 +0200 |
||||
@@ -23,12 +23,12 @@ |
||||
#define ISYNC_ON_SMP |
||||
#endif |
||||
|
||||
-static inline void eieio(void) |
||||
+static __inline__ void eieio(void) |
||||
{ |
||||
__asm__ __volatile__ ("eieio" : : : "memory"); |
||||
} |
||||
|
||||
-static inline void isync(void) |
||||
+static __inline__ void isync(void) |
||||
{ |
||||
__asm__ __volatile__ ("isync" : : : "memory"); |
||||
} |
@ -1,42 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../linux-header/sparc-fbio.patch.disabled |
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
Trival include fixes - needed for the X server. |
||||
|
||||
- Rene Rebe <rene@exactcode.de> |
||||
|
||||
--- ./include/asm-sparc/fbio.h.orig 2004-09-23 00:36:30.119451048 +0200 |
||||
+++ ./include/asm-sparc/fbio.h 2004-09-23 00:37:16.617382288 +0200 |
||||
@@ -1,6 +1,9 @@ |
||||
#ifndef __LINUX_FBIO_H |
||||
#define __LINUX_FBIO_H |
||||
|
||||
+#include <linux/compiler.h> |
||||
+#include <linux/fb.h> |
||||
+ |
||||
/* Constants used for fbio SunOS compatibility */ |
||||
/* (C) 1996 Miguel de Icaza */ |
||||
|
||||
--- ./include/asm-sparc64/fbio.h.orig 2004-09-23 00:36:27.144903248 +0200 |
||||
+++ ./include/asm-sparc64/fbio.h 2004-09-23 00:37:02.339552848 +0200 |
||||
@@ -2,6 +2,7 @@ |
||||
#define __LINUX_FBIO_H |
||||
|
||||
#include <linux/compiler.h> |
||||
+#include <linux/fb.h> |
||||
|
||||
/* Constants used for fbio SunOS compatibility */ |
||||
/* (C) 1996 Miguel de Icaza */ |
@ -1,32 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../linux-header/sparc64-asm-page.h.patch.disabled |
||||
# Copyright (C) 2006 The OpenSDE Project |
||||
# Copyright (C) 2006 The T2 SDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
During strace compilation page.h is included and we do not needlessly want to bail it out. |
||||
|
||||
- Rene Rebe <rene@exactcode.de> |
||||
|
||||
--- linux-2.6.12/include/asm-sparc64/page.h.orig 2006-08-23 16:29:58.000000000 +0000 |
||||
+++ linux-2.6.12/include/asm-sparc64/page.h 2006-08-23 16:30:14.000000000 +0000 |
||||
@@ -15,7 +15,7 @@ |
||||
#elif defined(CONFIG_SPARC64_PAGE_SIZE_4MB) |
||||
#define PAGE_SHIFT 22 |
||||
#else |
||||
-#error No page size specified in kernel configuration |
||||
+#warning No page size specified in kernel configuration |
||||
#endif |
||||
|
||||
#define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) |
@ -1,31 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../linux-header/videodev2.patch.disabled |
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
The usual kind of user-space application fix. |
||||
|
||||
- Rene Rebe <rene@exactcode.de> |
||||
|
||||
--- linux-2.6.8.1/include/linux/videodev2.h.orig 2004-09-15 15:45:53.633962050 +0200 |
||||
+++ linux-2.6.8.1/include/linux/videodev2.h 2004-09-15 15:45:47.348967172 +0200 |
||||
@@ -17,6 +17,8 @@ |
||||
#include <linux/time.h> /* need struct timeval */ |
||||
#endif |
||||
|
||||
+#include <linux/compiler.h> |
||||
+ |
||||
/* |
||||
* M I S C E L L A N E O U S |
||||
*/ |
Loading…
Reference in new issue