A problem in the rd_srvc_req() function...

From: Jaya Sangeetha C <Sangeetha.C_at_bflsoftware.com>
Date: Wed, 23 Aug 2000 14:43:14 +0530

Hello,

Given below is the raid service request function
int rd_srvc_req(fd, nstd_raid, len, msg_buf, flag)
where
        int fd /*File descriptior obtained from rd_srvc_open() function*/
        NSTD_RAID *nstd_raid /Pointer to user's NSTD_RAID stucture*/
        u_long len /*length of NSTD_RAID stucture in bytes*/
        u_char msg_buf[128] /*buffer area to pass information back to the user process*/
        int *flag /*pointer to flag that indicates message available in msg_buf*/

are the formal parameters.


When we make a raid request using rd_srvc_req() function using the opcode as NSTD_GET_CTRL_NUM, It gets us the Number of Non-Standard RAID controllers seen by the raid services driver as a result of this call. My question is -> which data field of the nstd_raid structure will hold the value indicating the no of non-standard raid controllers ?

Any help/suggestion is greatly appreciated.

Thanks,
Sangeetha.
Received on Wed Aug 23 2000 - 09:20:24 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT