scsi_alloc_sdev — allocate and setup a scsi_Device
struct scsi_device * scsi_alloc_sdev ( | struct scsi_target * starget, |
u64 lun, | |
void * hostdata) ; |
starget
which target to allocate a scsi_device for
lun
which lun
hostdata
usually NULL and set by ->slave_alloc instead