summaryrefslogtreecommitdiff
path: root/toolchain/kernel-headers/patches/scsi-header.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-08-05 22:39:01 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-08-05 22:39:01 +0200
commit57177df84b91ca2cfb1e205f83353a8b7d7e2024 (patch)
tree0c8d292addc7a80fe6fff014c3dc7fdd9ec2a6d3 /toolchain/kernel-headers/patches/scsi-header.patch
parent75dfa74232ee8a8ee1c2ff51d27d3d48def3cee7 (diff)
update lemote to 2.6.35, enable version specific patches for kernel-header patches
Diffstat (limited to 'toolchain/kernel-headers/patches/scsi-header.patch')
-rw-r--r--toolchain/kernel-headers/patches/scsi-header.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/toolchain/kernel-headers/patches/scsi-header.patch b/toolchain/kernel-headers/patches/scsi-header.patch
deleted file mode 100644
index 9173b242d..000000000
--- a/toolchain/kernel-headers/patches/scsi-header.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-diff -Nur linux-2.6.32.orig/include/scsi/Kbuild linux-2.6.32/include/scsi/Kbuild
---- linux-2.6.32.orig/include/scsi/Kbuild 2009-12-03 04:51:21.000000000 +0100
-+++ linux-2.6.32/include/scsi/Kbuild 2009-12-03 19:46:03.000000000 +0100
-@@ -1,3 +1,5 @@
-+header-y += sg.h
-+header-y += scsi_ioctl.h
- header-y += scsi.h
- header-y += scsi_netlink.h
- header-y += scsi_netlink_fc.h
-diff -Nur linux-2.6.32.orig/include/scsi/scsi.h linux-2.6.32/include/scsi/scsi.h
---- linux-2.6.32.orig/include/scsi/scsi.h 2009-12-03 04:51:21.000000000 +0100
-+++ linux-2.6.32/include/scsi/scsi.h 2009-12-03 19:47:49.000000000 +0100
-@@ -143,6 +143,8 @@
-
- #define SCSI_MAX_VARLEN_CDB_SIZE 260
-
-+#ifdef __KERNEL__
-+
- /* defined in T10 SCSI Primary Commands-2 (SPC2) */
- struct scsi_varlen_cdb_hdr {
- u8 opcode; /* opcode always == VARIABLE_LENGTH_CMD */
-@@ -169,6 +171,8 @@
- scsi_varlen_cdb_length(cmnd) : COMMAND_SIZE(cmnd[0]);
- }
-
-+#endif
-+
- /*
- * SCSI Architecture Model (SAM) Status codes. Taken from SAM-3 draft
- * T10/1561-D Revision 4 Draft dated 7th November 2002.
-@@ -284,8 +288,10 @@
- SCSI_PROTOCOL_UNSPEC = 0xf, /* No specific protocol */
- };
-
-+#ifdef __KERNEL__
- /* Returns a human-readable name for the device */
- extern const char * scsi_device_type(unsigned type);
-+#endif
-
- /*
- * standard mode-select header prepended to all mode-select commands