I see this function,struct Scsi_Host *scsi_host_alloc(struct
scsi_host_template *, int), I am wondering what does the second
parameter used for?Say,

/**
* scsi_host_alloc - register a scsi host adapter instance.
* @sht: pointer to scsi host template
* @privsize:    extra bytes to allocate for driver
*
* Note:
*       Allocate a new Scsi_Host and perform basic initialization.
*       The host is not published to the scsi midlayer until scsi_add_host
*       is called.
*
* Return value:
*       Pointer to a new Scsi_Host
**/
struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize)

I mean the privsize, i.e. extra bytes, why do we need such extra
bytes?Who will use it?

Regards
Jason Xiao
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to