struct scsi_device * scsi_alloc_sdev (struct Scsi_Host * shost, uint channel, uint id, uint lun);
Allocate, initialize for io, and return a pointer to a scsi_Device. Stores the shost, channel, id, and lun in the scsi_Device, and adds scsi_Device to the appropriate list.
Allocate, initialize for io, and return a pointer to a scsi_Device. Stores the shost, channel, id, and lun in the scsi_Device, and adds scsi_Device to the appropriate list.
scsi_Device pointer, or NULL on failure.