mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 02:04:19 +08:00
cbd5f69b98
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>
32 lines
459 B
C
32 lines
459 B
C
#ifndef IRQ_HANDLED
|
|
typedef void irqreturn_t;
|
|
#define IRQ_NONE
|
|
#define IRQ_HANDLED
|
|
#endif
|
|
|
|
#ifndef MODULE_LICENSE
|
|
#define MODULE_LICENSE(x)
|
|
#endif
|
|
|
|
#ifndef __iomem
|
|
#define __iomem
|
|
#endif
|
|
|
|
#ifndef __attribute_used__
|
|
#define __attribute_used__ __devinitdata
|
|
#endif
|
|
|
|
#ifndef __user
|
|
#define __user
|
|
#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
|