1. NAME

i2o_scsi_reply - SCSI OSM message reply handler

2. SYNOPSIS

int i2o_scsi_reply(struct i2o_controller *  c , u32  m , struct i2o_message *  msg );

3. ARGUMENTS

c
    controller issuing the reply

m
    message id for flushing

msg
    the message from the controller

4. DESCRIPTION

Process reply messages (interrupts in normal scsi controller think). We can get a variety of messages to process. The normal path is scsi command completions. We must also deal with IOP failures, the reply to a bus reset and the reply to a LUN query.

Returns 0 on success and if the reply should not be flushed or > 0 on success and if the reply should be flushed. Returns negative error code on failure and if the reply should be flushed.

5. COPYRIGHT