summaryrefslogtreecommitdiff
path: root/drivers/scsi/gdth_kcompat.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/gdth_kcompat.h')
-rw-r--r--drivers/scsi/gdth_kcompat.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/scsi/gdth_kcompat.h b/drivers/scsi/gdth_kcompat.h
new file mode 100644
index 000000000000..e6cf0edfa0ca
--- /dev/null
+++ b/drivers/scsi/gdth_kcompat.h
@@ -0,0 +1,21 @@
+
+
+#ifndef IRQ_HANDLED
+typedef void irqreturn_t;
+#define IRQ_NONE
+#define IRQ_HANDLED
+#endif
+
+#ifndef MODULE_LICENSE
+#define MODULE_LICENSE(x)
+#endif
+
+#ifndef SERVICE_ACTION_IN
+#define SERVICE_ACTION_IN 0x9e
+#endif
+#ifndef READ_16
+#define READ_16 0x88
+#endif
+#ifndef WRITE_16
+#define WRITE_16 0x8a
+#endif