diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-05-14 05:45:29 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-14 05:45:29 -0700 |
| commit | 8c95df95bf083b59e846c12403360971865bf673 (patch) | |
| tree | a5f84608b9a1a682d8eb06b5ac9a8b9b851b563f /include/linux | |
| parent | 9bf41bd3740cc7f5a99e074ebe4b640d769cd0da (diff) | |
[PATCH] I2O subsystem fixing and cleanup for 2.6 - i2o-passthru.patch
From: Markus Lidel <Markus.Lidel@shadowconnect.com>
* Add a pass-thru ioctl to i2o_config, which is needed to work with the
Adaptec management software.
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)) |
