summaryrefslogtreecommitdiff
path: root/target/device/AMD/DBAu1500/kernel-patches/098_scsi-warnings.patch
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-03-25 19:09:09 +0000
committerEric Andersen <andersen@codepoet.org>2006-03-25 19:09:09 +0000
commitba46d4d7caf5ec6c89fbbde4bb19a86a272c4611 (patch)
treead16141328c9251d4ce5461e63bb831c9806a140 /target/device/AMD/DBAu1500/kernel-patches/098_scsi-warnings.patch
parent7aa8096f080eb0bf8db862741e57a21285ab4c61 (diff)
update to linux 2.4.16 and current uClibc.
Diffstat (limited to 'target/device/AMD/DBAu1500/kernel-patches/098_scsi-warnings.patch')
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/098_scsi-warnings.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/device/AMD/DBAu1500/kernel-patches/098_scsi-warnings.patch b/target/device/AMD/DBAu1500/kernel-patches/098_scsi-warnings.patch
new file mode 100644
index 000000000..6a88d2e74
--- /dev/null
+++ b/target/device/AMD/DBAu1500/kernel-patches/098_scsi-warnings.patch
@@ -0,0 +1,18 @@
+--- orig/drivers/scsi/scsi_ioctl.c 2005-12-03 02:10:27.000000000 -0700
++++ linux-2.6.14/drivers/scsi/scsi_ioctl.c 2005-12-03 02:10:27.000000000 -0700
+@@ -374,6 +374,7 @@
+ if (!scsi_block_when_processing_errors(sdev))
+ return -ENODEV;
+
++#if 0
+ /* Check for deprecated ioctls ... all the ioctls which don't
+ * follow the new unique numbering scheme are deprecated */
+ switch (cmd) {
+@@ -389,6 +390,7 @@
+ default:
+ break;
+ }
++#endif
+
+ switch (cmd) {
+ case SCSI_IOCTL_GET_IDLUN: