mpt_register(9) suse man page | unix.com

Man Page: mpt_register

Operating Environment: suse

Section: 9

MPT_REGISTER(9) 					       Message-based devices						   MPT_REGISTER(9)

NAME
mpt_register - Register protocol-specific main callback handler.
SYNOPSIS
u8 mpt_register(MPT_CALLBACK cbfunc, MPT_DRIVER_CLASS dclass);
ARGUMENTS
cbfunc callback function pointer dclass Protocol driver's class (MPT_DRIVER_CLASS enum value)
DESCRIPTION
This routine is called by a protocol-specific driver (SCSI host, LAN, SCSI target) to register its reply callback routine. Each protocol-specific driver must do this before it will be able to use any IOC resources, such as obtaining request frames.
NOTES
The SCSI protocol driver currently calls this routine thrice in order to register separate callbacks; one for "normal" SCSI IO; one for MptScsiTaskMgmt requests; one for Scan/DV requests. Returns u8 valued "handle" in the range (and S.O.D. order) {N,...,7,6,5,...,1} if successful. A return value of MPT_MAX_PROTOCOL_DRIVERS (including zero!) should be considered an error by the caller.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 MPT_REGISTER(9)
Related Man Pages
tran_reset_notify(9e) - opensolaris
uk(4) - netbsd
tran_reset_notify(9e) - linux
tran_reset_notify(9e) - xfree86
tran_reset_notify(9e) - osx
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Grant unprivileged user rights to see the output of echo|format but not modify disks
Tar Command
Docker learning Phase-I
32 bit process addressing more than 4GB