diff options
author | Leubner, Achim <Achim_Leubner@adaptec.com> | 2006-06-09 14:34:29 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-06-10 11:24:40 -0400 |
commit | cbd5f69b98bb5d7a0d207230bcf8fa51fca3f3cf (patch) | |
tree | f828a83b0e8006316b6b7a61819f4ef4ce6eac04 /drivers/scsi/gdth_kcompat.h | |
parent | 5d5ff44fe6775ccb922fd1f7d478b2ba9ca95068 (diff) |
[SCSI] remove the scsi_request interface from the gdth driver
Initial pass at converting the gdth driver away from the scsi_request
interface so that the request interface can be removed post 2.6.18
without breaking gdth. Based on changes from Christoph Hellwig
<hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/gdth_kcompat.h')
-rw-r--r-- | drivers/scsi/gdth_kcompat.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/drivers/scsi/gdth_kcompat.h b/drivers/scsi/gdth_kcompat.h index e6cf0edfa0ca..2a302eee669a 100644 --- a/drivers/scsi/gdth_kcompat.h +++ b/drivers/scsi/gdth_kcompat.h | |||
@@ -1,5 +1,3 @@ | |||
1 | |||
2 | |||
3 | #ifndef IRQ_HANDLED | 1 | #ifndef IRQ_HANDLED |
4 | typedef void irqreturn_t; | 2 | typedef void irqreturn_t; |
5 | #define IRQ_NONE | 3 | #define IRQ_NONE |
@@ -10,6 +8,18 @@ typedef void irqreturn_t; | |||
10 | #define MODULE_LICENSE(x) | 8 | #define MODULE_LICENSE(x) |
11 | #endif | 9 | #endif |
12 | 10 | ||
11 | #ifndef __iomem | ||
12 | #define __iomem | ||
13 | #endif | ||
14 | |||
15 | #ifndef __attribute_used__ | ||
16 | #define __attribute_used__ __devinitdata | ||
17 | #endif | ||
18 | |||
19 | #ifndef __user | ||
20 | #define __user | ||
21 | #endif | ||
22 | |||
13 | #ifndef SERVICE_ACTION_IN | 23 | #ifndef SERVICE_ACTION_IN |
14 | #define SERVICE_ACTION_IN 0x9e | 24 | #define SERVICE_ACTION_IN 0x9e |
15 | #endif | 25 | #endif |