Annotation of ntddk/src/scsi/qic117/dodoio.c, revision 1.1

1.1     ! root        1: /*++
        !             2: 
        !             3: Copyright (c) 1993 - Colorado Memory Systems, Inc.
        !             4: All Rights Reserved
        !             5: 
        !             6: Module Name:
        !             7: 
        !             8:     dodoio.c
        !             9: 
        !            10: Abstract:
        !            11: 
        !            12:     Forms a low-level command request and processes it syncronusly
        !            13: 
        !            14: Revision History:
        !            15: 
        !            16: 
        !            17: 
        !            18: 
        !            19: --*/
        !            20: 
        !            21: //
        !            22: // include files
        !            23: //
        !            24: 
        !            25: #include <ntddk.h>
        !            26: #include <ntddtape.h>
        !            27: #include "common.h"
        !            28: #include "q117.h"
        !            29: #include "protos.h"
        !            30: 
        !            31: 
        !            32: STATUS
        !            33: q117DoCmd(
        !            34:     IN OUT PIO_REQUEST IoRequest,
        !            35:     IN CHAR Command,
        !            36:     IN PVOID Data,
        !            37:     IN PQ117_CONTEXT Context
        !            38:     )
        !            39: 
        !            40: /*++
        !            41: 
        !            42: Routine Description:
        !            43: 
        !            44:     Makes the DoIO call.
        !            45: 
        !            46: Arguments:
        !            47: 
        !            48:     IoRequest -
        !            49: 
        !            50:     Command -
        !            51: 
        !            52:     Data -
        !            53: 
        !            54:     Context -
        !            55: 
        !            56: Return Value:
        !            57: 
        !            58: 
        !            59: 
        !            60: --*/
        !            61: 
        !            62: {
        !            63:     STATUS ret;
        !            64: 
        !            65:     IoRequest->Command = Command;
        !            66:     IoRequest->Data = Data;
        !            67:     ret = q117DoIO(IoRequest, NULL, Context);
        !            68:     if (!ret)
        !            69:         ret = IoRequest->Status;
        !            70:     return(ret);
        !            71: }
        !            72: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.