Re: Request for moving Sg_request into sg.h

2005-03-08 Thread Markus Lidel
Hello, Douglas Gilbert wrote: Markus Lidel wrote: i wanted to ask if it is possible to put the typedef "Sg_request" into sg.h? A surprising question. I would have though Sg_request was private to the sg driver but ... Yep i know it's not the best way, but the only way to get some data from an app

Re: Request for moving Sg_request into sg.h

2005-03-08 Thread Douglas Gilbert
Markus Lidel wrote: Hello, i wanted to ask if it is possible to put the typedef "Sg_request" into sg.h? A surprising question. I would have though Sg_request was private to the sg driver but ... It is possible. Seems as though "#if __KERNEL__" conditional blocks are still acceptable in kernel head

Request for moving Sg_request into sg.h

2005-03-08 Thread Markus Lidel
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