Hello,

i wanted to ask if it is possible to put the typedef "Sg_request" into sg.h?

The reason i'm asking is, i need to pass data through SG_IO from an application to the driver. At the moment the problem is solved by copying code of the SG_IO driver into i2o_config (the passthru function). I'm working on removing the passthru function and instead using the SG_IO interface, but therefore i need to pass some additional data to the driver. I could use the use the "flags" and "usr_ptr" fields in sg_io_hdr_t, but i need to get access to them through "Sg_request".

Any comments appreciated.


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
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to