diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/i2o-dev.h | 8 | ||||
| -rw-r--r-- | include/linux/i2o.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/i2o-dev.h b/include/linux/i2o-dev.h index 2f1f141c362e..b1922a2dd43e 100644 --- a/include/linux/i2o-dev.h +++ b/include/linux/i2o-dev.h @@ -41,6 +41,14 @@ #define I2OHTML _IOWR(I2O_MAGIC_NUMBER,9,struct i2o_html) #define I2OEVTREG _IOW(I2O_MAGIC_NUMBER,10,struct i2o_evt_id) #define I2OEVTGET _IOR(I2O_MAGIC_NUMBER,11,struct i2o_evt_info) +#define I2OPASSTHRU _IOR(I2O_MAGIC_NUMBER,12,struct i2o_cmd_passthru) + +struct i2o_cmd_passthru +{ + void *msg; /* message */ + int iop; /* number of the I2O controller, to which the + message should go to */ +}; struct i2o_cmd_hrtlct { diff --git a/include/linux/i2o.h b/include/linux/i2o.h index a59392a3c47d..e21b548d29b8 100644 --- a/include/linux/i2o.h +++ b/include/linux/i2o.h @@ -640,6 +640,8 @@ extern int i2o_delete_controller(struct i2o_controller *); #define HOST_TID 1 #define MSG_FRAME_SIZE 64 /* i2o_scsi assumes >= 32 */ +#define REPLY_FRAME_SIZE 17 +#define SG_TABLESIZE 30 #define NMBR_MSG_FRAMES 128 #define MSG_POOL_SIZE (MSG_FRAME_SIZE*NMBR_MSG_FRAMES*sizeof(u32)) |
