summaryrefslogtreecommitdiffstats
path: root/target/device/AMD/DBAu1500/kernel-patches/098_scsi-warnings.patch
diff options
context:
space:
mode:
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: