mptscsih_TMHandler

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

mptscsih_TMHandler - Generic handler for SCSI Task Management.

SYNOPSIS

int mptscsih_TMHandler(MPT_SCSI_HOST * hd, u8 type, u8 channel, u8 id, int lun, int ctx2abort, ulong timeout);

ARGUMENTS

hd

Pointer to MPT SCSI HOST structure

type

Task Management type

channel

channel number for task management

id

Logical Target ID for reset (if appropriate)

lun

Logical Unit for reset (if appropriate)

ctx2abort

Context for the task to be aborted (if appropriate)

timeout

timeout for task management control

FALL THROUGH TO MPT_HARDRESETHANDLER IF

not operational, too many failed TM requests or handshake failure.

REMARK

Currently invoked from a non-interrupt thread (_bh).

NOTE

With old EH code, at most 1 SCSI TaskMgmt function per IOC will be active.

Returns 0 for SUCCESS, or FAILED.