Commit 75a97cd1 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] i2o-scsi next installment

parent 0b71bb7f
This diff is collapsed.
#ifndef _I2O_SCSI_H #ifndef _I2O_SCSI_H
#define _I2O_SCSI_H #define _I2O_SCSI_H
#if !defined(LINUX_VERSION_CODE)
#include <linux/version.h>
#endif
#define LinuxVersionCode(v, p, s) (((v)<<16)+((p)<<8)+(s))
#include <linux/types.h> #include <linux/types.h>
#include <linux/kdev_t.h> #include <linux/kdev_t.h>
...@@ -19,28 +13,32 @@ static const char *i2o_scsi_info(struct Scsi_Host *); ...@@ -19,28 +13,32 @@ static const char *i2o_scsi_info(struct Scsi_Host *);
static int i2o_scsi_command(Scsi_Cmnd *); static int i2o_scsi_command(Scsi_Cmnd *);
static int i2o_scsi_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); static int i2o_scsi_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
static int i2o_scsi_abort(Scsi_Cmnd *); static int i2o_scsi_abort(Scsi_Cmnd *);
static int i2o_scsi_reset(Scsi_Cmnd *, unsigned int); static int i2o_scsi_bus_reset(Scsi_Cmnd *);
static int i2o_scsi_host_reset(Scsi_Cmnd *);
static int i2o_scsi_device_reset(Scsi_Cmnd *);
static int i2o_scsi_bios_param(Disk *, struct block_device *, int *); static int i2o_scsi_bios_param(Disk *, struct block_device *, int *);
static int i2o_scsi_release(struct Scsi_Host *host); static int i2o_scsi_release(struct Scsi_Host *host);
#define I2OSCSI { \ #define I2OSCSI { \
next: NULL, \ next: NULL, \
proc_name: "i2o_scsi", \ proc_name: "i2o_scsi", \
name: "I2O SCSI Layer", \ name: "I2O SCSI Layer", \
detect: i2o_scsi_detect, \ detect: i2o_scsi_detect, \
release: i2o_scsi_release, \ release: i2o_scsi_release, \
info: i2o_scsi_info, \ info: i2o_scsi_info, \
command: i2o_scsi_command, \ command: i2o_scsi_command, \
queuecommand: i2o_scsi_queuecommand, \ queuecommand: i2o_scsi_queuecommand, \
abort: i2o_scsi_abort, \ eh_abort_handler: i2o_scsi_abort, \
reset: i2o_scsi_reset, \ eh_bus_reset_handler: i2o_scsi_bus_reset, \
bios_param: i2o_scsi_bios_param, \ eh_device_reset_handler: i2o_scsi_device_reset, \
can_queue: I2O_SCSI_CAN_QUEUE, \ eh_host_reset_handler: i2o_scsi_host_reset, \
this_id: I2O_SCSI_ID, \ bios_param: i2o_scsi_bios_param, \
sg_tablesize: 8, \ can_queue: I2O_SCSI_CAN_QUEUE, \
cmd_per_lun: I2O_SCSI_CMD_PER_LUN, \ this_id: I2O_SCSI_ID, \
unchecked_isa_dma: 0, \ sg_tablesize: 8, \
use_clustering: ENABLE_CLUSTERING \ cmd_per_lun: I2O_SCSI_CMD_PER_LUN, \
unchecked_isa_dma: 0, \
use_clustering: ENABLE_CLUSTERING \
} }
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment