summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-12-05 17:32:37 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-12-05 17:32:37 +0000
commitea04859f0266ee0a701b2934181893fb67ab075a (patch)
treecc0608de5e56fc3209c686ceb6bf663e277dd2ec /x11-drivers/nvidia-drivers/files
parentVersion bump to 1.0.9631 for bug #157194. This should also close bug #105656... (diff)
downloadhistorical-ea04859f0266ee0a701b2934181893fb67ab075a.tar.gz
historical-ea04859f0266ee0a701b2934181893fb67ab075a.tar.bz2
historical-ea04859f0266ee0a701b2934181893fb67ab075a.zip
Updated the NVIDIA_kernel-2.6.19.patch and closing bug #156978.
Package-Manager: portage-2.1.2_rc2-r2
Diffstat (limited to 'x11-drivers/nvidia-drivers/files')
-rw-r--r--x11-drivers/nvidia-drivers/files/NVIDIA_kernel-2.6.19.patch59
1 files changed, 28 insertions, 31 deletions
diff --git a/x11-drivers/nvidia-drivers/files/NVIDIA_kernel-2.6.19.patch b/x11-drivers/nvidia-drivers/files/NVIDIA_kernel-2.6.19.patch
index 9d56d428e155..004cbd8ae224 100644
--- a/x11-drivers/nvidia-drivers/files/NVIDIA_kernel-2.6.19.patch
+++ b/x11-drivers/nvidia-drivers/files/NVIDIA_kernel-2.6.19.patch
@@ -1,47 +1,44 @@
-Index: NVIDIA-Linux-x86_64-1.0-9625-pkg2/usr/src/nv/nv-linux.h
-===================================================================
---- NVIDIA-Linux-x86_64-1.0-9625-pkg2.orig/usr/src/nv/nv-linux.h
-+++ NVIDIA-Linux-x86_64-1.0-9625-pkg2/usr/src/nv/nv-linux.h
-@@ -14,10 +14,11 @@
-
- #include "nv.h"
-
--#include <linux/config.h>
- #include <linux/version.h>
- #include <linux/utsname.h>
--
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 15)
-+#include <linux/config.h>
-+#endif
-
- #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 7)
- # error This driver does not support 2.4 kernels older than 2.4.7!
-Index: NVIDIA-Linux-x86_64-1.0-9625-pkg2/usr/src/nv/nv.c
-===================================================================
---- NVIDIA-Linux-x86_64-1.0-9625-pkg2.orig/usr/src/nv/nv.c
-+++ NVIDIA-Linux-x86_64-1.0-9625-pkg2/usr/src/nv/nv.c
-@@ -288,7 +288,11 @@ int nv_kern_ioctl(struct inode
+diff -Naur NVIDIA.orig/usr/src/nv/nv.c NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv.c
+--- NVIDIA.orig/usr/src/nv/nv.c 2006-10-17 01:31:37.000000000 -0400
++++ NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv.c 2006-11-29 21:58:20.000000000 -0500
+@@ -252,7 +252,7 @@
long nv_kern_unlocked_ioctl(struct file *, unsigned int, unsigned long);
long nv_kern_compat_ioctl(struct file *, unsigned int, unsigned long);
void nv_kern_isr_bh(unsigned long);
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19)
- irqreturn_t nv_kern_isr(int, void *, struct pt_regs *);
-+#else
+-irqreturn_t nv_kern_isr(int, void *, struct pt_regs *);
+irqreturn_t nv_kern_isr(int, void *);
-+#endif
void nv_kern_rc_timer(unsigned long);
#if defined(NV_PM_SUPPORT_OLD_STYLE_APM)
static int nv_kern_apm_event(struct pm_dev *, pm_request_t, void *);
-@@ -2595,8 +2599,10 @@ long nv_kern_compat_ioctl(
+@@ -2561,8 +2561,7 @@
*/
irqreturn_t nv_kern_isr(
int irq,
- void *arg,
- struct pt_regs *regs
+ void *arg
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19)
-+ , struct pt_regs *regs
-+#endif
)
{
nv_linux_state_t *nvl = (void *) arg;
+diff -Naur NVIDIA.orig/usr/src/nv/nv-i2c.c NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv-i2c.c
+--- NVIDIA.orig/usr/src/nv/nv-i2c.c 2006-10-17 01:31:37.000000000 -0400
++++ NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv-i2c.c 2006-11-29 21:57:36.000000000 -0500
+@@ -23,8 +23,6 @@
+ static struct i2c_algorithm nv_i2c_algo = {
+ .master_xfer = nv_i2c_algo_xfer,
+ .smbus_xfer = NULL,
+- .slave_send = NULL,
+- .slave_recv = NULL,
+ .algo_control = nv_i2c_algo_control,
+ .functionality = nv_i2c_algo_functionality,
+ };
+diff -Naur NVIDIA.orig/usr/src/nv/nv-linux.h NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv-linux.h
+--- NVIDIA.orig/usr/src/nv/nv-linux.h 2006-10-17 01:31:37.000000000 -0400
++++ NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv-linux.h 2006-11-29 21:57:48.000000000 -0500
+@@ -14,7 +14,6 @@
+
+ #include "nv.h"
+
+-#include <linux/config.h>
+ #include <linux/version.h>
+ #include <linux/utsname.h>