IPR_SLAVE_ALLOC

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

ipr_slave_alloc - Prepare for commands to a device.  

SYNOPSIS

"SYNOPSIS"

int ipr_slave_alloc (struct scsi_device * sdev);  

ARGUMENTS

sdev
scsi device struct
 

DESCRIPTION

This function saves a pointer to the resource entry in the scsi device struct if the device exists. We can then use this pointer in ipr_queuecommand when handling new commands.  

RETURN VALUE

0 on success


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
RETURN VALUE

This document was created by man2html, using the manual pages.
Time: 00:02:20 GMT, October 09, 2005