scsi_alloc_sdev — allocate and setup a scsi_Device
struct scsi_device * scsi_alloc_sdev ( | struct scsi_target * | starget, |
| unsigned int | lun, | |
| void * | hostdata); |
stargetwhich target to allocate a scsi_device for
lunwhich lun
hostdatausually NULL and set by ->slave_alloc instead