new I2O patches for Adaptec management software
Hello,
here is the i2o-passthru.patch with the corrections Christoph Hellwig mentioned, and also the i2o-config-cleanup.patch, which changes the formatting of the header in i2o-config.c.
The patch can also be fetched from
Best regards,
Markus Lidel
------------------------------------------
Markus Lidel (Senior IT Consultant)
Shadow Connect GmbH
Carl-Reisch-Weg 12
D-86381 Krumbach
Germany
Phone: +49 82 82/99 51-0 Fax: +49 82 82/99 51-11
E-Mail: [email protected] URL: http://www.shadowconnect.com
drivers/message/i2o/i2o_config.c +16 -15
@@ -5,21 +5,22 @@* * Written by Alan Cox, Building Number Three Ltd * -* Modified 04/20/1999 by Deepak Saxena -* - Added basic ioctl() support -* Modified 06/07/1999 by Deepak Saxena -* - Added software download ioctl (still testing) -* Modified 09/10/1999 by Auvo H�kkinen -* - Changes to i2o_cfg_reply(), ioctl_parms() -* - Added ioct_validate() -* Modified 09/30/1999 by Taneli V�h�kangas -* - Fixed ioctl_swdl() -* Modified 10/04/1999 by Taneli V�h�kangas -* - Changed ioctl_swdl(), implemented ioctl_swul() and ioctl_swdel() -* Modified 11/18/1999 by Deepak Saxena -* - Added event managmenet support -* -* 2.4 rewrite ported to 2.5 - Alan Cox <[email protected]> +* Fixes/additions: +* Deepak Saxena (04/20/1999): +* Added basic ioctl() support +* Deepak Saxena (06/07/1999): +* Added software download ioctl (still testing) +* Auvo H�kkinen (09/10/1999): +* Changes to i2o_cfg_reply(), ioctl_parms() +* Added ioct_validate() +* Taneli V�h�kangas (09/30/1999): +* Fixed ioctl_swdl() +* Taneli V�h�kangas (10/04/1999): +* Changed ioctl_swdl(), implemented ioctl_swul() and ioctl_swdel() +* Deepak Saxena (11/18/1999): +* Added event managmenet support +* Alan Cox <[email protected]>: +* 2.4 rewrite ported to 2.5 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License
drivers/message/i2o/i2o_config.c 2004-03-03 17:14:38.035056342 +0100 renamed from drivers/message/i2o/i2o_config.c 2004-02-18 04:59:26.000000000 +0100 +163 -0
193 lines not on this page · raw message
include/linux/i2o-dev.h 2004-03-03 17:36:20.129361237 +0100 renamed from include/linux/i2o-dev.h 2004-03-01 23:18:47.000000000 +0100 +2 -0
@@ -621,6 +640,8 @@ #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))
include/linux/i2o.h 2004-03-03 17:36:20.129361237 +0100 renamed from include/linux/i2o.h 2004-03-01 23:18:47.000000000 +0100 +8 -0
@@ -41,7 +41,15 @@ #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 { unsigned int iop; /* IOP unit number */